Expand description
bar block behavior implementation.
bars connect to adjacent bars, bar solid blocks.
Structsยง
- Iron
Bars Block - Behavior for bar blocks.
- Weathering
Copper Bars Block - Behavior for copper bar blocks.
Constantsยง
- EAST ๐
- East connection property.
- NORTH ๐
- North connection property.
- SOUTH ๐
- South connection property.
- WATERLOGGED ๐
- Waterlogged property.
- WEST ๐
- West connection property.
Functionsยง
- connects_
to ๐ - Checks if this bar should connect to the given neighbor state.
- get_
connection_ state - Gets the connection state for a position by checking all 4 horizontal neighbors.
- update_
shape