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

Enumeration Members

Enumeration Members

Inventory: "minecraft:inventory"

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

Piston: "minecraft:piston"

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

RecordPlayer: "minecraft:record_player"

Represents a block that can play a record.

Sign: "minecraft:sign"

Represents a block that can display text on it.