Namespace Armor

Module used to manage armor's behavior.

Functions

  • Prevents armor from being damaged.

    Parameters

    • id: string | number

      armor item string or numeric ID

    Returns void

  • This event is called when local player takes off or changes this armor item.

    Parameters

    Returns void

    2.2.1b106

  • This event is called when local player takes on this armor, or spawns with it.

    Parameters

    Returns void

    2.2.1b106

  • This event is called when the damage is dealt to the player that has this armor put on.

    Parameters

    Returns void

    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.

    Parameters

    Returns void

    Item object to change armor item, if nothing is returned, armor will not be changed.

    2.2.1b106

  • This event is called when player takes off or changes this armor item.

    Parameters

    Returns void

  • This event is called when player takes on this armor, or spawns with it.

    Parameters

    Returns void

  • This event is called every tick for every player that has this armor put on.

    Parameters

    Returns void

    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.