Class ArmorStandData

java.lang.Object
studio.magemonkey.fabled.api.armorstand.ArmorStandData

public class ArmorStandData extends Object
  • Constructor Details

    • ArmorStandData

      public ArmorStandData(org.bukkit.entity.LivingEntity target)
      Parameters:
      target - target of the armor stands
  • Method Details

    • isValid

      public boolean isValid()
      Returns:
      true if should keep the data, false otherwise
    • getArmorStands

      public ArmorStandInstance getArmorStands(String key)
      Fetches an active armor stand by key
      Parameters:
      key - armor stand key
      Returns:
      active armor stand or null if not found
    • register

      public void register(ArmorStandInstance armorStand, String key)
    • tick

      public void tick()
      Ticks each armor stand for the target
    • getKey

      public String getKey(ArmorStandInstance armorStand)
    • remove

      public void remove()
      Removes and unregisters all armor stands for this target
    • remove

      public void remove(String key)
    • remove

      public void remove(ArmorStandInstance armorStand)