Enumeration BlockComponentTypes

The types of block components that are accessible via function Block.getComponent.

Enumeration Members

Enumeration Members

Inventory: "minecraft:inventory"

Remarks

Represents the inventory of a block in the world. Used with blocks like chests.

Piston: "minecraft:piston"

Remarks

When present, this block has piston-like behavior. Contains additional properties for discovering block piston state.

Sign: "minecraft:sign"

Remarks

Represents a block that can display text on it.