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
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.ticxo.modelengine.api.entity.data.IEntityData
IEntityData.CullCameraOverride -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanprotected final ModelCullerprotected org.bukkit.Locationprotected final DummyTrackedEntityFields inherited from interface com.ticxo.modelengine.api.entity.data.IEntityData
CULL_TYPE_DATA_LOADER, CULL_TYPE_DATA_SAVER -
Constructor Summary
ConstructorsConstructorDescriptionDummyEntityData(Dummy<T> dummy) DummyEntityData(Dummy<T> dummy, ModelCuller culler) -
Method Summary
Modifier and TypeMethodDescriptionvoidUpdate method called from an async thread.voidcleanup()Called after all renderers under theownerof this data object have finished rendering.voidUpdate method called from the cull thread.voiddestroy()Called whenIEntityData.isDataValid()is false and this object is being removed from theEntityDataTracker.BaseEntity<?>org.bukkit.LocationList<org.bukkit.entity.Entity>intbooleanbooleanbooleanvoidsetBaseGlowing(boolean baseGlowing) voidsetLocation(org.bukkit.Location location) voidsetRenderRadius(int radius) voidUpdate method called from the server thread.Methods inherited from class com.ticxo.modelengine.api.entity.data.AbstractEntityData
backCull, backCullAngle, backCullIgnoreRadius, backCullType, blockedCull, blockedCullIgnoreRadius, blockedCullType, cullInterval, getBackCull, getBackCullAngle, getBackCullIgnoreRadius, getBackCullType, getBlockedCull, getBlockedCullIgnoreRadius, getBlockedCullType, getCullExempt, getCullHitbox, getCullInterval, getVerticalCull, getVerticalCullDistance, getVerticalCullType, isCullExempt, isModelGlowing, markBoneGlowing, markModelGlowing, setBackCull, setBackCullAngle, setBackCullIgnoreRadius, setBackCullType, setBlockedCull, setBlockedCullIgnoreRadius, setBlockedCullType, setCullExempt, setCullHitbox, setCullInterval, setVerticalCull, setVerticalCullDistance, setVerticalCullType, updateConfig, verticalCull, verticalCullDistance, verticalCullTypeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.ticxo.modelengine.api.entity.data.IEntityData
load, save
-
Field Details
-
dummy
-
tracked
-
culler
-
syncTracking
-
asyncTracking
-
startTrackingQueue
-
startTracking
-
stopTrackingQueue
-
stopTracking
-
syncUpdateCallback
-
asyncUpdateCallback
-
location
protected org.bukkit.Location location -
baseGlowing
protected boolean baseGlowing
-
-
Constructor Details
-
DummyEntityData
-
DummyEntityData
-
-
Method Details
-
asyncUpdate
public void asyncUpdate()Description copied from interface:IEntityDataUpdate method called from an async thread. -
syncUpdate
public void syncUpdate()Description copied from interface:IEntityDataUpdate method called from the server thread. -
cullUpdate
public void cullUpdate()Description copied from interface:IEntityDataUpdate method called from the cull thread. -
cleanup
public void cleanup()Description copied from interface:IEntityDataCalled after all renderers under theownerof this data object have finished rendering. Useful for cleaning up per-tick data. -
destroy
public void destroy()Description copied from interface:IEntityDataCalled whenIEntityData.isDataValid()is false and this object is being removed from theEntityDataTracker. Will always be called from the server thread. -
getBaseEntity
-
isDataValid
public boolean isDataValid() -
getPassengers
-
getStartTracking
-
getMutableTracking
-
getTracking
-
getStopTracking
-
hasTracking
public boolean hasTracking() -
getRenderRadius
public int getRenderRadius() -
setRenderRadius
public void setRenderRadius(int radius) -
getTracked
-
getSyncUpdateCallback
-
getAsyncUpdateCallback
-
getLocation
public org.bukkit.Location getLocation() -
setLocation
public void setLocation(org.bukkit.Location location) -
isBaseGlowing
public boolean isBaseGlowing() -
setBaseGlowing
public void setBaseGlowing(boolean baseGlowing)
-