Skip to main content

Module bar_block

Module bar_block 

Source
Expand description

bar block behavior implementation.

bars connect to adjacent bars, bar solid blocks.

Structsยง

IronBarsBlock
Behavior for bar blocks.
WeatheringCopperBarsBlock
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