Registers armor's hurt and tick functions.
armor item string or numeric ID
Use multiplayer Armor.registerOnHurtListener and anothers or callbacks.
This event is called when local player takes off or changes this armor item.
This event is called when local player takes on this armor, or spawns with it.
This event is called when the damage is dealt to the player that has this armor put on.
Item object to change armor item, if nothing is returned, armor will not be changed.
This event is called every tick for local player that has this armor put on.
Item object to change armor item, if nothing is returned, armor will not be changed.
This event is called when player takes off or changes this armor item.
This event is called when player takes on this armor, or spawns with it.
This event is called every tick for every player that has this armor put on.
Item object to change armor item, if nothing is returned, armor will not be changed.
Copyright © 2024 Nernar. Copyright © 2020 #mineprogramming. Built with ❤ and TypeDoc.
Module used to manage armor's behavior.