Class ArmorStandManager

java.lang.Object
com.ranull.graves.manager.EntityDataManager
dev.cwhead.GravesX.manager.ArmorStandManager

public class ArmorStandManager extends EntityDataManager
  • Constructor Details

    • ArmorStandManager

      public ArmorStandManager(Graves plugin)
  • Method Details

    • createHologram

      public void createHologram(org.bukkit.Location location, Grave grave)
      Creates an ArmorStand hologram at the specified location for a given grave. Spawns each ArmorStand on the region thread for that line location.
    • removeHologram

      public void removeHologram(Grave grave)
      Removes all ArmorStand holograms linked to the given grave.

      This is the only supported public removal entrypoint. It resolves hologram data directly from CacheManager using the grave UUID.

      Parameters:
      grave - the grave whose ArmorStand holograms should be removed
    • removeHologram

      @Deprecated(forRemoval=true) public void removeHologram(EntityData entityData)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • removeHologram

      @Deprecated(forRemoval=true) public void removeHologram(Map<EntityData, org.bukkit.entity.Entity> entityDataMap)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • purgeLingeringHolograms

      public void purgeLingeringHolograms()
    • purgeWorldArmorStandHolograms

      public void purgeWorldArmorStandHolograms(Grave grave)
      Removes every live ArmorStand hologram entity in loaded worlds that is tagged for the given grave.
      Parameters:
      grave - the grave whose ArmorStand holograms should be purged
    • hasGrave

      public Grave hasGrave(UUID graveUUID)