Closed AugustT closed 6 years ago
Since this looks difficult and is only important for VR, lets put it on the back burner. I get the feeling it will significantly slow down the build time.
I think we close this as an unimportant, overly complicated, addition.
Adding fences and walls should keep in animals and people to their respective zones. This could be done by checking the 4 tiles around the target tile and building a fence/wall on any sides that touch a different land class. It is actually not this easy as fences/wall do not go down the side of a block but radiate from a central position.
More info on fences and their states here https://minecraft.gamepedia.com/Fence#Block_state
Some thought will be required to work out the rules that govern the position of fences
Walls operate in a similar fashion https://minecraft.gamepedia.com/Cobblestone_Wall