Blocks interacting on the world api
This commit is contained in:
@@ -200,6 +200,11 @@ starts it with `player.start_using(ticks)`, and the item's components hear how i
|
||||
[Using Over Time](../items/index.md#using-over-time). `stop_using()` ends it without either ending, and `is_using()`
|
||||
says whether they're using one. While they are, they walk at a fifth of their speed and can't sprint.
|
||||
|
||||
## Pushing
|
||||
|
||||
`player.push(x, y, z)` adds to how fast they're moving, in blocks a second, like Minecraft's `Entity.push`: a fan
|
||||
blowing them along does it every tick. Their client moves them, so it's sent there and added to theirs.
|
||||
|
||||
## Death
|
||||
|
||||
When a player dies, everything they carried falls out where they died, and their tools lose durability (see
|
||||
|
||||
Reference in New Issue
Block a user