Modules§
Structs§
- Block
State Prediction Handler - A component that contains information about our local block state predictions.
- Entity
Interact Event - An ECS
Messagethat makes the client tell the server that we right-clicked an entity. - 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.
- Update
Attributes Systems
Functions§
- can_
use_ game_ master_ blocks - check_
block_ can_ be_ broken_ by_ item_ in_ adventure_ mode - Check if the item has the
CanDestroytag for the block. - check_
is_ interaction_ restricted - Whether we can’t interact with the block, based on your gamemode.
- handle_
entity_ interact - handle_
start_ use_ item_ event - handle_
start_ use_ item_ queued - handle_
swing_ arm_ trigger