mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-12-26 09:59:33 +01:00
fix API.md
This commit is contained in:
parent
c457c4ce3c
commit
59d687c579
1 changed files with 6 additions and 0 deletions
|
@ -33,3 +33,9 @@ Handle creative mode, and throw params.
|
|||
|
||||
* entity_name: the name of the entity to throw
|
||||
* velocity: (optional) velocity overide (can be nil)
|
||||
|
||||
## mcl_throwing.get_staticdata(self)
|
||||
Must be used in entity def if you want the entity to be saved after unloading mapblock.
|
||||
|
||||
## mcl_throwing.on_activate(self, staticdata, dtime_s)
|
||||
Must be used in entity def if you want the entity to be saved after unloading mapblock.
|
||||
|
|
Loading…
Reference in a new issue