Class ArmorStandData
java.lang.Object
studio.magemonkey.fabled.api.armorstand.ArmorStandData
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetArmorStands
(String key) Fetches an active armor stand by keygetKey
(ArmorStandInstance armorStand) boolean
isValid()
void
register
(ArmorStandInstance armorStand, String key) void
remove()
Removes and unregisters all armor stands for this targetvoid
void
remove
(ArmorStandInstance armorStand) void
tick()
Ticks each armor stand for the target
-
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
Fetches an active armor stand by key- Parameters:
key
- armor stand key- Returns:
- active armor stand or null if not found
-
register
-
tick
public void tick()Ticks each armor stand for the target -
getKey
-
remove
public void remove()Removes and unregisters all armor stands for this target -
remove
-
remove
-