mirror of
https://codeberg.org/tenplus1/mobs_redo.git
synced 2025-06-28 06:30:18 +02:00
added ability to protect tamed mobs
This commit is contained in:
8
api.txt
8
api.txt
@ -240,6 +240,14 @@ This function allows the mob to be fed the item inside self.follow be it apple,
|
||||
'tame' true or false stating if mob can be tamed so player can pick them up
|
||||
|
||||
|
||||
mobs:protect(self, clicker)
|
||||
|
||||
This function can be used to right-click any tamed mob with mobs:protector item, this will protect the mob from harm inside of a protected area from other players.
|
||||
|
||||
'self' mob information
|
||||
'clicker' player information
|
||||
|
||||
|
||||
Useful Internal Variables
|
||||
|
||||
'self.health' contains current health of mob
|
||||
|
Reference in New Issue
Block a user