mirror of
https://codeberg.org/tenplus1/mobs_redo.git
synced 2025-06-28 06:30:18 +02:00
add 'can_leap' setting to mob def, update api.txt
This commit is contained in:
5
api.txt
5
api.txt
@ -42,6 +42,8 @@ functions needed for the mob to work properly which contains the following:
|
||||
randomly turn while walking or standing.
|
||||
'jump' when true allows your mob to jump updwards.
|
||||
'jump_height' holds the height your mob can jump, 0 to disable jumping.
|
||||
'can_leap' when true obstacles like fences or pits wont stop a mob
|
||||
from trying to jump out.
|
||||
'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.
|
||||
@ -223,6 +225,9 @@ functions needed for the mob to work properly which contains the following:
|
||||
'fly_start' when a mob is flying.
|
||||
'fly_end'
|
||||
'fly_speed'
|
||||
'jump_start' when a mob is jumping
|
||||
'jump_end'
|
||||
'jump_speed'
|
||||
'punch_start' when a mob melee attacks.
|
||||
'punch_end'
|
||||
'punch_speed'
|
||||
|
Reference in New Issue
Block a user