Structs§
- Right click a block. The behavior of this depends on the target block, and it’ll either place the block you’re holding in your hand or use the block you clicked (like toggling a lever).
- A component that contains the number of changes this client has made to blocks.
- A component that contains the block that the player is currently looking at.
- A plugin that allows clients to interact with blocks in the world.
- Swing your arm. This is purely a visual effect and won’t interact with anything in the world.
Functions§
- Check if the item has the
CanDestroy
tag for the block. - Whether we can’t interact with the block, based on your gamemode. If this is false, then we can interact with the block.
- Get the block that a player would be looking at if their eyes were at the given direction and position.