Structs§
- Attack
Block Event - A player left clicked on a block, used for stuff like interacting with note blocks.
- Finish
Mining Block Event - Sent when we completed mining a block.
- Left
Click Mine - A component that simulates the client holding down left click to mine the block that it’s facing, but this only interacts with blocks and not entities.
- Mine
Block Pos - A component that stores the position of the block we’re currently mining.
- Mine
Block Progress Event - Mine
Bundle - A component bundle for players that can mine blocks.
- Mine
Delay - A component that counts down until we start mining the next block.
- Mine
Item - A component that contains the item we’re currently using to mine. If we’re
not mining anything, it’ll be
ItemStack::Empty
. - Mine
Plugin - A plugin that allows clients to break blocks in the world.
- Mine
Progress - A component that stores the progress of the current mining operation. This is a value between 0 and 1.
- Mine
Ticks - A component that stores the number of ticks that we’ve been mining the same block for. This is a float even though it should only ever be a round number.
- Mining
- Information about the block we’re currently mining. This is only present if we’re currently mining a block.
- Mining
Set - Start
Mining Block Event - Start mining the block at the given position.
- Start
Mining Block With Direction Event - Stop
Mining Block Event - Abort mining a block.