Fix mobs able to swim in plants
This commit is contained in:
parent
834c8cbc3a
commit
61e148ac2e
7 changed files with 18 additions and 26 deletions
|
@ -52,8 +52,10 @@ functions needed for the mob to work properly which contains the following:
|
|||
'stepheight' height of a block that your mob can easily walk up onto,
|
||||
defaults to 1.1.
|
||||
'fly' when true allows your mob to fly around instead of walking.
|
||||
'fly_in' holds the node name that the mob flies (or swims) around
|
||||
in e.g. "air" or "default:water_source".
|
||||
'fly_in' holds the node name or a table of node names in which the
|
||||
mob flies (or swims) around in. The special name
|
||||
'__airlike' stands for all nodes with 'walkable=false'
|
||||
that are not liquids
|
||||
'runaway' if true causes animals to turn and run away when hit.
|
||||
'view_range' how many nodes in distance the mob can see a player.
|
||||
'damage' how many health points the mob does to a player or another
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue