T - the entity typepublic class PropertiesTracker<T extends net.minecraft.entity.Entity>
extends java.lang.Object
| Constructor and Description |
|---|
PropertiesTracker(T entity,
EntityProperties<T> properties) |
| Modifier and Type | Method and Description |
|---|---|
T |
getEntity() |
EntityProperties |
getProperties() |
boolean |
isTrackerReady() |
void |
onSync()
Called when the data is syncing
|
void |
removeTracker()
Removes this tracker from the property
|
void |
setReady()
Forces the tracker to sync the next tick
|
void |
updateTracker()
Updates the tracker
|
public PropertiesTracker(T entity, EntityProperties<T> properties)
public void updateTracker()
public void setReady()
public boolean isTrackerReady()
public void onSync()
public EntityProperties getProperties()
public T getEntity()
public void removeTracker()