@minecraft
    Preparing search index...

    Class BlockComponentNamedTickEventBeta

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

    Hierarchy (View Summary)

    Index
    block: Block

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

    dimension: Dimension

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

    • Parameters

      • eventName: string

        The name to check against this event.

      Returns boolean

      Returns true if the event name matches the specified name; otherwise, false.

      Checks whether this named tick event has the specified name. Events are namespaced with their content UUID. Two named tick events with the same name but scheduled from different packs will not respond the same to this method.