mirror of
https://codeberg.org/tenplus1/mobs_redo.git
synced 2025-06-28 06:30:18 +02:00
add mobs:is_invisible() function, update api.txt
This commit is contained in:
14
api.txt
14
api.txt
@ -904,3 +904,17 @@ Rideable Horse Example Mob
|
||||
--------------------------
|
||||
|
||||
See mob_horse mod https://codeberg.org/tenplus1/mob_horse
|
||||
|
||||
|
||||
External Functions
|
||||
------------------
|
||||
|
||||
These are a list of utility functions that can be called from 3rd party mods.
|
||||
|
||||
mobs:alias_mob(old_name, new_name)
|
||||
mobs:is_invisible(self, player_name)
|
||||
mobs:is_dangerous(self, nodename)
|
||||
mobs:yaw_to_pos(self, target, rotation_steps)
|
||||
mobs:line_of_sight(self, pos1, pos2)
|
||||
mobs:set_animation(self, animation)
|
||||
mobs:yaw(self, yaw, rotation_steps)
|
||||
|
Reference in New Issue
Block a user