Interface IEntityData

All Superinterfaces:
DataIO
All Known Implementing Classes:
AbstractEntityData, BukkitEntityData, BukkitPlayer.BukkitPlayerData, DummyEntityData

public interface IEntityData extends DataIO
  • Field Details

  • Method Details

    • asyncUpdate

      void asyncUpdate()
      Update method called from an async thread.
    • syncUpdate

      void syncUpdate()
      Update method called from the server thread.
    • cullUpdate

      void cullUpdate()
      Update method called from the cull thread.
    • cleanup

      void cleanup()
      Called after all renderers under the owner of this data object have finished rendering. Useful for cleaning up per-tick data.
    • destroy

      void destroy()
      Called when isDataValid() is false and this object is being removed from the EntityDataTracker. Will always be called from the server thread.
    • getBaseEntity

      BaseEntity<?> getBaseEntity()
    • isDataValid

      boolean isDataValid()
    • getLocation

      org.bukkit.Location getLocation()
    • getPassengers

      List<org.bukkit.entity.Entity> getPassengers()
    • getStartTracking

      Set<UUID> getStartTracking()
    • getMutableTracking

      @Internal Map<UUID,CullType> getMutableTracking()
    • getTracking

      Map<UUID,CullType> getTracking()
    • getStopTracking

      Set<UUID> getStopTracking()
    • hasTracking

      boolean hasTracking()
    • getCullHitbox

      Box getCullHitbox()
    • setCullHitbox

      void setCullHitbox(Box box)
    • getCullInterval

      Integer getCullInterval()
    • setCullInterval

      void setCullInterval(Integer interval)
    • cullInterval

      int cullInterval()
    • getVerticalCull

      Boolean getVerticalCull()
    • setVerticalCull

      void setVerticalCull(Boolean flag)
    • verticalCull

      boolean verticalCull()
    • getVerticalCullDistance

      Double getVerticalCullDistance()
    • setVerticalCullDistance

      void setVerticalCullDistance(Double distance)
    • verticalCullDistance

      double verticalCullDistance()
    • getVerticalCullType

      CullType getVerticalCullType()
    • setVerticalCullType

      void setVerticalCullType(CullType type)
    • verticalCullType

      CullType verticalCullType()
    • getBackCull

      Boolean getBackCull()
    • setBackCull

      void setBackCull(Boolean flag)
    • backCull

      boolean backCull()
    • getBackCullAngle

      Double getBackCullAngle()
    • setBackCullAngle

      void setBackCullAngle(Double distance)
    • backCullAngle

      double backCullAngle()
    • getBackCullIgnoreRadius

      Double getBackCullIgnoreRadius()
    • setBackCullIgnoreRadius

      void setBackCullIgnoreRadius(Double radius)
    • backCullIgnoreRadius

      double backCullIgnoreRadius()
    • getBackCullType

      CullType getBackCullType()
    • setBackCullType

      void setBackCullType(CullType type)
    • backCullType

      CullType backCullType()
    • getBlockedCull

      Boolean getBlockedCull()
    • setBlockedCull

      void setBlockedCull(Boolean flag)
    • blockedCull

      boolean blockedCull()
    • getBlockedCullIgnoreRadius

      Double getBlockedCullIgnoreRadius()
    • setBlockedCullIgnoreRadius

      void setBlockedCullIgnoreRadius(Double radius)
    • blockedCullIgnoreRadius

      double blockedCullIgnoreRadius()
    • getBlockedCullType

      CullType getBlockedCullType()
    • setBlockedCullType

      void setBlockedCullType(CullType type)
    • blockedCullType

      CullType blockedCullType()
    • setCullExempt

      void setCullExempt(UUID uuid, boolean exempt)
      Exempts a viewer from this entity's visibility culling. While exempt the viewer is forced to CullType.NO_CULL for this entity, skipping vertical/back/blocked culling. Runtime-only; not persisted. OR-ed with BasicCulling.setGlobalCullExempt(java.util.UUID, boolean).
    • isCullExempt

      boolean isCullExempt(UUID uuid)
    • getCullExempt

      Set<UUID> getCullExempt()
    • markModelGlowing

      void markModelGlowing(ActiveModel model, boolean flag)
    • markBoneGlowing

      void markBoneGlowing(ModelBone bone, boolean flag)
    • isModelGlowing

      boolean isModelGlowing()
    • isBaseGlowing

      boolean isBaseGlowing()
    • save

      default void save(SavedData data)
      Specified by:
      save in interface DataIO
    • load

      default void load(SavedData data)
      Specified by:
      load in interface DataIO