diff options
author | TenPlus1 <kinsellaja@yahoo.com> | 2016-11-08 16:11:00 +0000 |
---|---|---|
committer | TenPlus1 <kinsellaja@yahoo.com> | 2016-11-08 16:11:00 +0000 |
commit | 127dad97a799a619d64e6dd77e741844caeec91e (patch) | |
tree | e0085dbbffcf12bd2a163117d5e3bb8bd1d552e8 /api.txt | |
parent | c16c083d31242dc79d7dfa581c393fd2affc6d08 (diff) |
added ability to protect tamed mobs
Diffstat (limited to 'api.txt')
-rw-r--r-- | api.txt | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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 |