版本: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.