1
0
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:
TenPlus1
2020-04-29 20:15:35 +01:00
parent 064b59f01d
commit 8b25ab4988
2 changed files with 19 additions and 6 deletions

View File

@ -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.