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

    The type (or template) of a block. Does not contain permutation data (state) other than the type of block it represents. This type was introduced as of version 1.17.10.21.

    Index

    Properties

    Properties

    canBeWaterlogged: boolean

    Represents whether this type of block can be waterlogged.

    id: string

    Block type name - for example, minecraft:acacia_stairs.