Class EntityDataManager.DataEntry<T>

java.lang.Object
net.minecraft.network.datasync.EntityDataManager.DataEntry<T>
Enclosing class:
EntityDataManager

public static class EntityDataManager.DataEntry<T> extends Object
  • Field Details

    • accessor

      private final DataParameter<T> accessor
    • value

      private T value
    • dirty

      private boolean dirty
  • Constructor Details

    • DataEntry

      public DataEntry(DataParameter<T> p_i47010_1_, T p_i47010_2_)
  • Method Details

    • getAccessor

      public DataParameter<T> getAccessor()
    • setValue

      public void setValue(T p_187210_1_)
    • getValue

      public T getValue()
    • isDirty

      public boolean isDirty()
    • setDirty

      public void setDirty(boolean p_187208_1_)
    • copy