Modules§
Structs§
- Block
State Prediction Handler - A component that contains information about our local block state predictions.
- Interact
Plugin - A plugin that allows clients to interact with blocks in the world.
- Start
UseItem Event - An event that makes one of our clients simulate a right-click.
- Start
UseItem Queued - A component that makes our client simulate a right-click on the next
GameTick
. It’s removed after that tick. - Swing
ArmEvent - Swing your arm. This is purely a visual effect and won’t interact with anything in the world.
- Update
Attributes Set
Functions§
- can_
use_ game_ master_ blocks - check_
block_ can_ be_ broken_ by_ item_ in_ adventure_ mode - Check if the item has the
CanDestroy
tag for the block. - check_
is_ interaction_ restricted - Whether we can’t interact with the block, based on your gamemode. If this is false, then we can interact with the block.
- handle_
start_ use_ item_ event - handle_
start_ use_ item_ queued - handle_
swing_ arm_ event - handle_
swing_ arm_ trigger