diff --git a/mods/ENTITIES/mcl_mobs/api.txt b/mods/ENTITIES/mcl_mobs/api.txt index eda74aeb4..1ae6ee53f 100644 --- a/mods/ENTITIES/mcl_mobs/api.txt +++ b/mods/ENTITIES/mcl_mobs/api.txt @@ -253,6 +253,12 @@ functions needed for the mob to work properly which contains the following: 'fire_resistant' If true, the mob can't burn 'fire_damage_resistant' If true the mob will not take damage when burning 'ignited_by_sunlight' If true the mod will burn at daytime. (Takes sunlight_damage per second) + '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 + + mobs:gopath(self,target,callback_arrived) pathfind a way to target and run callback on arrival