-
Notifications
You must be signed in to change notification settings - Fork 37
Physics
TODO
Perhaps start with info from http://hubpages.com/games-hobbies/Minecraft-Mod-Spotlight-Enviromine ?
"But there is much more to Enviromine than just those four bars, now the player will need to think carefully about the stability of all structures, whether built by the player or naturally occurring. A simple physics engine is implemented that takes into account the type of block placed and the location of other nearby blocks to determine structural integrity, and any stress such as the player's weight on an unstable structure can force it to fall. Stress can also be applied randomly, so floating islands, sand dunes, and naturally generated caves can collapse at any point, which is both a terrifying hazard to one's safety and an awesome way of cleaning up some of the stranger aspects of Minecraft's world generation. Blocks do not just fall straight downwards either, if there is nothing on the side of less solid blocks such as dirt, gravel, or sand they will now fall diagonally, and while landslides are not as deadly as cave-ins, they can certainly kill unwary players"
| Stability Type | Enable Physics | Max Support Distance | Min Missing Blocks To Fall | Max Missing Blocks To Fall | Can Hang? | Hold Others Up | Examples |
|---|---|---|---|---|---|---|---|
| Sand-like | Yes | 0 | -1 | -1 | No | No | Sand, Gravel, Dirt (when wet), Snow (layer form, not block form) |
| Loose | Yes | 1 | 10 | 15 | No | No | Dirt |
| Average | Yes | 2 | 15 | 22 | Yes | No | Stone, Cobblestone |
| Strong | Yes | 3 | 22 | 25 | Yes | No | Wood, Obsidian |
| None | No | 3 | 0 | 0 | Yes | No | |
| Glowstone | No | 3 | 0 | 0 | Yes | Yes | Glowstone |
- When mining on top of a cooled lava pool (after pouring water over it), punch the ground far away from you repeatedly in multiple places to cause physics updates and make unstable blocks fall before you step on them, not after, so as to not die a lava-coated death.