Trapdoors
This commit is contained in:
@@ -45,7 +45,7 @@ showed. These events fire for **every** player's actions, since they all go thro
|
||||
| Event | Before | After | Fields |
|
||||
| ---------------- | ------ | ----- | ------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| `block_break` | ✓ | ✓ | `player`, `block` (with its tile `data`), `item` held |
|
||||
| `block_place` | ✓ | ✓ | `player`, `block` (`{ id, x, y, z }`), `face` clicked, `item` held |
|
||||
| `block_place` | ✓ | ✓ | `player`, `block` (`{ id, x, y, z }`), `face` clicked, `hit` where on it (0-1 each axis), `item` held |
|
||||
| `block_interact` | ✓ | ✓ | `player`, `block`, `item` held. Before fires for every right click on a block, after only when a component's `on_interact` handled it |
|
||||
| `chat_send` | ✓ | ✓ | `player`, `message`. Before handlers can change `message` |
|
||||
| `player_damage` | ✓ | ✓ | `player`, `amount`, `cause`. Before handlers can change `amount`, after fires only when they were hurt, with what they took |
|
||||
|
||||
Reference in New Issue
Block a user