Script API - v1.21.20
    Preparing search index...

    Enumeration BlockComponentTypes

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

    Index

    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.

    Sign: "minecraft:sign"

    Represents a block that can display text on it.