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.
    • 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.
    • isDataValid

      boolean isDataValid()
    • getLocation

      org.bukkit.Location getLocation()
    • getPassengers

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

      Set<org.bukkit.entity.Player> getStartTracking()
    • getTracking

      Map<org.bukkit.entity.Player,CullType> getTracking()
    • getStopTracking

      Set<org.bukkit.entity.Player> getStopTracking()
    • getCullHitbox

      Hitbox getCullHitbox()
    • setCullHitbox

      void setCullHitbox(Hitbox hitbox)
    • 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()
    • save

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

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