Script API - v26.70.22
    Preparing search index...

    Class BlockComponentNamedTickEventBeta

    Contains information regarding a named tick event for a specific block.

    export class BlockComponentNamedTickEvent extends BlockEvent {
    private constructor();
    readonly name: string;
    isMine(): boolean;
    }

    Hierarchy (View Summary)

    Index
    block: Block

    Block currently in the world at the location of this event.

    This property can't be read in early-execution mode.

    dimension: Dimension

    Dimension that contains the block that is the subject of this event.

    This property can't be read in early-execution mode.

    name: string

    Name of the named tick event.

    This property can't be read in early-execution mode.

    • Returns boolean

      True if this named tick event was scheduled by this pack; otherwise, false.

      Checks whether this named tick event was scheduled by this pack.

      This function can't be called in early-execution mode.