メインコンテンツまでスキップ

On Craftengine Block Interact Event

Triggers when a CraftEngine custom block is interacted with

フィールド

フィールド型デフォルト説明
blockIdString—The custom block ID that triggers this event (e.g., 'namespace:block_id'). Leave empty for any custom block.
actionCraftEngineInteractActionANYWhich click triggers this event.値:ANYLEFT_CLICKRIGHT_CLICK
locationOptional<Var<Position>>—The location where the block was interacted with (optional)
repeatGuardMillisInt250Milliseconds a held button is treated as one click. A held left click otherwise fires this every tick. Set to 0 to fire on every repeat.
TypeWriter 共通フィールド(triggers)
フィールド型デフォルト説明
triggersList<Ref<TriggerableEntry>>empty—