mirror of
https://codeberg.org/tenplus1/mobs_redo.git
synced 2025-01-10 01:40:21 +01:00
update api.txt
This commit is contained in:
parent
6172203e0e
commit
f1daaa4a14
3
api.txt
3
api.txt
@ -32,7 +32,6 @@ by it's own name e.g.
|
|||||||
... and the 'definition' is a table which holds all of the settings and
|
... and the 'definition' is a table which holds all of the settings and
|
||||||
functions needed for the mob to work properly which contains the following:
|
functions needed for the mob to work properly which contains the following:
|
||||||
|
|
||||||
'nametag' contains the name which is shown above mob.
|
|
||||||
'type' holds the type of mob that inhabits your world e.g.
|
'type' holds the type of mob that inhabits your world e.g.
|
||||||
"animal" usually docile and walking around.
|
"animal" usually docile and walking around.
|
||||||
"monster" attacks player or npc on sight.
|
"monster" attacks player or npc on sight.
|
||||||
@ -367,7 +366,7 @@ for each mob.
|
|||||||
dogs
|
dogs
|
||||||
'self.order' set to "follow" or "stand" so that npc will follow owner
|
'self.order' set to "follow" or "stand" so that npc will follow owner
|
||||||
or stand it's ground
|
or stand it's ground
|
||||||
'self.nametag' contains the name of the mob which it can show above
|
'self._nametag' contains the name of the mob which it can show above
|
||||||
'self.pause_timer' used to stop mob thinking when punched so that knockback
|
'self.pause_timer' used to stop mob thinking when punched so that knockback
|
||||||
can take effect.
|
can take effect.
|
||||||
'self.disable_falling' currently used on spider mob when climbing walls, stops
|
'self.disable_falling' currently used on spider mob when climbing walls, stops
|
||||||
|
Loading…
Reference in New Issue
Block a user