Bearbeiten

Freigeben über


BlockComponentTypes Enumeration

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

Constants

FluidContainer

FluidContainer = "minecraft:fluid_container"

Inventory

Inventory = "minecraft:inventory"

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

Piston

Piston = "minecraft:piston"

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

RecordPlayer

RecordPlayer = "minecraft:record_player"

Represents a block that can play a record.

Sign

Sign = "minecraft:sign"

Represents a block that can display text on it.