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

    Enumeration BlockComponentTypesBeta

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

    Index

    Enumeration Members

    Inventory: "minecraft:inventory"

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

    LavaContainer: "minecraft:lavaContainer"

    Represents a fluid container block that currently contains lava.

    Piston: "minecraft:piston"

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

    PotionContainer: "minecraft:potionContainer"

    Represents a fluid container block that currently contains a potion.

    RecordPlayer: "minecraft:record_player"

    Represents a block that can play a record.

    Sign: "minecraft:sign"

    Represents a block that can display text on it.

    SnowContainer: "minecraft:snowContainer"

    Represents a fluid container block that currently contains snow.

    WaterContainer: "minecraft:waterContainer"

    Represents a fluid container block that currently contains water.