Experimental

An early preview: docs, the API and the dashboard may change or break.

Report a problem

types.BlockTypeHandle

A block type or block tag; blocks.BlockType types it with its state and data.

Signals

blockTypeHandle.broken: types.Signal<types.BreakEvent>
#
read only

Fires after a player breaks a block of the type.

blockTypeHandle.placed: types.Signal<types.PlaceEvent>
#
read only

Fires after a player places a block of the type.

blockTypeHandle.used: types.Signal<types.BlockUseEvent>
#
read only

Fires after a player right-clicks a block of the type.

Fields

blockTypeHandle.id: string
#
read only

The block id, or the tag's id.