跳到主要内容
 Warning: Beta Version
版本:Beta ⚠️(未翻译)

Interact Block Event

The Interact Block Event is triggered when a player interacts with a block by right-clicking it.

How could this be used?

This could be used to create special interactions with blocks, such as opening a secret door when you right-click a certain block, or a block that requires a key to open.

Fields

Triggers

必填列表

Block

必填

The block that was interacted with.

Location

可选

The location of the block that was interacted with.

Item In Hand

必填

The item the player must be holding when the block is interacted with.

Cancel

必填

Cancel the event when triggered. It will only cancel the event if all the criteria are met. If set to false, it will not modify the event.

Interaction Type

必填

The type of interaction that should trigger the event.

Shift Type

必填

The type of shift that should trigger the event.