fix API.md

This commit is contained in:
AFCMS 2021-04-02 14:30:46 +02:00
parent c457c4ce3c
commit 59d687c579
1 changed files with 6 additions and 0 deletions

View File

@ -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.