Class DummyEntityData<T>

java.lang.Object
com.ticxo.modelengine.api.entity.data.AbstractEntityData
com.ticxo.modelengine.api.entity.data.DummyEntityData<T>
All Implemented Interfaces:
IEntityData, DataIO

public class DummyEntityData<T> extends AbstractEntityData
  • Field Details

    • dummy

      protected final Dummy<T> dummy
    • tracked

      protected final DummyTrackedEntity tracked
    • syncTracking

      protected final Set<org.bukkit.entity.Player> syncTracking
    • asyncTracking

      protected final Map<org.bukkit.entity.Player,CullType> asyncTracking
    • startTrackingQueue

      protected final Queue<org.bukkit.entity.Player> startTrackingQueue
    • startTracking

      protected final Set<org.bukkit.entity.Player> startTracking
    • stopTrackingQueue

      protected final Queue<org.bukkit.entity.Player> stopTrackingQueue
    • stopTracking

      protected final Set<org.bukkit.entity.Player> stopTracking
    • location

      protected org.bukkit.Location location
  • Constructor Details

    • DummyEntityData

      public DummyEntityData(Dummy<T> dummy)
  • Method Details

    • asyncUpdate

      public void asyncUpdate()
      Description copied from interface: IEntityData
      Update method called from an async thread.
    • syncUpdate

      public void syncUpdate()
      Description copied from interface: IEntityData
      Update method called from the server thread.
    • cleanup

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

      public void destroy()
      Description copied from interface: IEntityData
      Called when IEntityData.isDataValid() is false and this object is being removed from the EntityDataTracker. Will always be called from the server thread.
    • isDataValid

      public boolean isDataValid()
    • getPassengers

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

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

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

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

      public int getRenderRadius()
    • setRenderRadius

      public void setRenderRadius(int radius)
    • getTracked

      public DummyTrackedEntity getTracked()
    • getLocation

      public org.bukkit.Location getLocation()
    • setLocation

      public void setLocation(org.bukkit.Location location)