mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-12-23 16:39:33 +01:00
document api addition
This commit is contained in:
parent
4570226536
commit
0b9fcae8ea
1 changed files with 1 additions and 1 deletions
|
@ -258,7 +258,7 @@ functions needed for the mob to work properly which contains the following:
|
|||
'nofollow' Do not follow players when they wield the "follow" item. For mobs (like villagers)
|
||||
that are bred in a different way.
|
||||
'pick_up' table of itemstrings the mob will pick up (e.g. for breeding)
|
||||
'on_pick_up' function that will be called on item pickup - return true to not pickup the item
|
||||
'on_pick_up' function that will be called on item pickup - arguments are self and the itementity return a (modified) itemstack
|
||||
'custom_visual_size' will not reset visual_size from the base class on reload
|
||||
'noyaw' If true this mob will not automatically change yaw
|
||||
'particlespawners' Table of particlespawners attached to the mob. This is implemented in a coord safe manner i.e. spawners are only sent to players within the player_transfer_distance (and automatically removed). This enables infinitely lived particlespawners.
|
||||
|
|
Loading…
Reference in a new issue