mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-27 21:11:05 +01:00
Add documentation for newly exposed attach_driver
This commit is contained in:
parent
ccf5882a98
commit
35bc1b6be4
1 changed files with 4 additions and 0 deletions
|
@ -126,6 +126,10 @@ Called to get the next direction a cart will travel after passing thru this node
|
|||
|
||||
## Cart Functions
|
||||
|
||||
`mcl_minecarts.attach_driver(cart, player)`
|
||||
|
||||
This attaches (ObjectRef) `player` to the (LuaEntity) `cart`.
|
||||
|
||||
`mcl_minecarts.detach_minecart(cart_data)`
|
||||
|
||||
This detaches a minecart from any rail it is attached to and makes it start moving
|
||||
|
|
Loading…
Reference in a new issue