mirror of
https://codeberg.org/tenplus1/mobs_redo.git
synced 2025-06-28 06:30:18 +02:00
add 'keep_flying' flag and random vertical flight changes
This commit is contained in:
1
api.txt
1
api.txt
@ -45,6 +45,7 @@ functions needed for the mob to work properly which contains the following:
|
||||
'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".
|
||||
'keep_flying' when true mobs like birds no longer stop and stand.
|
||||
'stay_near' when set allows mobs the chance to stay around certain nodes.
|
||||
'nodes' string or table of nodes to stay nearby e.g. "farming:straw"
|
||||
'chance' chance of searching for above node(s), default is 10.
|
||||
|
Reference in New Issue
Block a user