public static class EntityDataManager.DataEntry<T>
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private boolean |
dirty |
private DataParameter<T> |
key |
private T |
value |
| Constructor and Description |
|---|
DataEntry(DataParameter<T> keyIn,
T valueIn) |
| Modifier and Type | Method and Description |
|---|---|
EntityDataManager.DataEntry<T> |
copy() |
DataParameter<T> |
getKey() |
T |
getValue() |
boolean |
isDirty() |
void |
setDirty(boolean dirtyIn) |
void |
setValue(T valueIn) |
private final DataParameter<T> key
private T value
private boolean dirty
public DataEntry(DataParameter<T> keyIn, T valueIn)
public DataParameter<T> getKey()
public void setValue(T valueIn)
public T getValue()
public boolean isDirty()
public void setDirty(boolean dirtyIn)
public EntityDataManager.DataEntry<T> copy()