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

Nexo on Customblock Damage Event

Triggers when a player starts breaking a Nexo custom block

Fires while the player is breaking a Nexo block, before it actually breaks. Use the break event when you only care about blocks that were destroyed.

フィールド

フィールド型デフォルト説明
blockIdString—The Nexo custom block ID that triggers this event (e.g., 'my_block'). Leave empty for any custom block.
locationOptional<Var<Position>>—The location of the block being damaged (optional)
TypeWriter 共通フィールド(triggers)
フィールド型デフォルト説明
triggersList<Ref<TriggerableEntry>>empty—

How to use it​

Fires while the player is mining a Nexo block, before it breaks. Use On Block Break when you only care about blocks that were destroyed. The furniture damage event fires when a player hits furniture without breaking it.