This repository has been archived on 2023-11-26. You can view files and clone it, but cannot push or open issues or pull requests.
Twine/README.md

49 lines
1.9 KiB
Markdown
Raw Normal View History

2020-06-14 03:04:21 +00:00
# Twine
A simple survival mod for Minecraft encouraging a nomadic lifestyle.
## Backpacks
A backpack can only hold one type of item or only hold unstackable items.
### Small Backpack Recipe
<table>
<tr><th>Stick</th><th>Leather</th><th>Stick</th></tr>
<tr><th>Leather</th><th>Iron Ingot</th><th>Leather</th></tr>
<tr><th>Stick</th><th>Leather</th><th>Stick</th></tr>
</table>
### Large Backpack Recipe
Combine a Small Backpack with a Gold Ingot in the Smithing Table.
### Dye Backpack Recipe
Combine a Backpack with a dye in the Crafting Table.
## Glowing Obsidian
Glowing Obsidian heals monsters and hurts everything else. It naturally generates in small patches underground.
### Recipe
<table>
<tr><th></th><th>Redstone</th><th></th></tr>
<tr><th>Redstone</th><th>Obsidian</th><th>Redstone</th></tr>
<tr><th></th><th>Redstone</th><th></th></tr>
</table>
## Difficulty Stages
### Stage 1
- Normal Gameplay
### Stage 2
### Stage 3
- Hostile Mobs Attack Passive Mobs
### Stage 4
- Villages Kick You Out (Using Iron Golems)
### Stage 5
- Neural Mobs Are Always Hostile
### Stage 6
### Technical Details
Each player has a 6-element long list in their data. Each element in the list has a chunk position and time value. Every tick the player will first, find the stage element its current position is in, and increase the time value of that stage element. If the time value when increased is over 24,000 ticks the next stage element will have its chunk set to the players current position, have its time value reset, the old stage element will have the next stage element's old chunk, and have its time value reset. To determine if a player is in a stage element, it checks if the player is within 16 chunks of the stage element's chunk, it starts searching at the last element, ending at the first. The "global" stage element of a chunk can be found by searching every player for their stage element for the chunk and then picking the highest value.