mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-08-18 21:14:11 +02:00
fix API.md
This commit is contained in:
parent
c457c4ce3c
commit
59d687c579
@ -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 New Issue
Block a user