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

Enumeration Members

FluidContainer: "minecraft:fluid_container"
Inventory: "minecraft:inventory"

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

MapColor: "minecraft:map_color"

Represents the color of a block when displayed on a map.

Movable: "minecraft:movable"

Represents a block that can move (such as a piston).

Piston: "minecraft:piston"

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

PrecipitationInteractions: "minecraft:precipitation_interactions"

Represents a how a block interacts with precipitation (such as rain or snow).

RecordPlayer: "minecraft:record_player"

Represents a block that can play a record.

RedstoneProducer: "minecraft:redstone_producer"

Represents a block that can output a redstone signal.

Sign: "minecraft:sign"

Represents a block that can display text on it.