Module interact

Module interact 

Source

Modules§

pick

Structs§

BlockStatePredictionHandler
A component that contains information about our local block state predictions.
EntityInteractEvent
An ECS Message that makes the client tell the server that we right-clicked an entity.
InteractPlugin
A plugin that allows clients to interact with blocks in the world.
StartUseItemEvent
An event that makes one of our clients simulate a right-click.
StartUseItemQueued
A component that makes our client simulate a right-click on the next GameTick. It’s removed after that tick.
SwingArmEvent
Swing your arm.
UpdateAttributesSystems

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.
handle_entity_interact
handle_start_use_item_event
handle_start_use_item_queued
handle_swing_arm_trigger