Version: 0.7.0
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
RequiredListBlock
RequiredThe block that was interacted with.
Location
OptionalThe location of the block that was interacted with.
Item In Hand
RequiredThe item the player must be holding when the block is interacted with.
Cancel
RequiredCancel 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
RequiredThe type of interaction that should trigger the event.
Shift Type
RequiredThe type of shift that should trigger the event.