Class DataTracker.Entry<T>

java.lang.Object
net.minecraft.entity.data.DataTracker.Entry<T>
Enclosing class:
DataTracker

public static class DataTracker.Entry<T> extends Object
Mappings:
Namespace Name
named net/minecraft/entity/data/DataTracker$Entry
intermediary net/minecraft/class_2945$class_2946
official aka$b
  • Field Details

    • data

      final TrackedData<T> data
      Mappings:
      Namespace Name Mixin selector
      named data Lnet/minecraft/entity/data/DataTracker$Entry;data:Lnet/minecraft/entity/data/TrackedData;
      intermediary field_13337 Lnet/minecraft/class_2945$class_2946;field_13337:Lnet/minecraft/class_2940;
      official a Laka$b;a:Lajw;
    • value

      T value
      Mappings:
      Namespace Name Mixin selector
      named value Lnet/minecraft/entity/data/DataTracker$Entry;value:Ljava/lang/Object;
      intermediary field_13338 Lnet/minecraft/class_2945$class_2946;field_13338:Ljava/lang/Object;
      official b Laka$b;b:Ljava/lang/Object;
    • initialValue

      private final T initialValue
      Mappings:
      Namespace Name Mixin selector
      named initialValue Lnet/minecraft/entity/data/DataTracker$Entry;initialValue:Ljava/lang/Object;
      intermediary field_40719 Lnet/minecraft/class_2945$class_2946;field_40719:Ljava/lang/Object;
      official c Laka$b;c:Ljava/lang/Object;
    • dirty

      private boolean dirty
      Mappings:
      Namespace Name Mixin selector
      named dirty Lnet/minecraft/entity/data/DataTracker$Entry;dirty:Z
      intermediary field_13336 Lnet/minecraft/class_2945$class_2946;field_13336:Z
      official d Laka$b;d:Z
  • Constructor Details

    • Entry

      public Entry(TrackedData<T> data, T value)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/entity/data/DataTracker$Entry;<init>(Lnet/minecraft/entity/data/TrackedData;Ljava/lang/Object;)V
      intermediary <init> Lnet/minecraft/class_2945$class_2946;<init>(Lnet/minecraft/class_2940;Ljava/lang/Object;)V
      official <init> Laka$b;<init>(Lajw;Ljava/lang/Object;)V
  • Method Details

    • getData

      public TrackedData<T> getData()
      Mappings:
      Namespace Name Mixin selector
      named getData Lnet/minecraft/entity/data/DataTracker$Entry;getData()Lnet/minecraft/entity/data/TrackedData;
      intermediary method_12797 Lnet/minecraft/class_2945$class_2946;method_12797()Lnet/minecraft/class_2940;
      official a Laka$b;a()Lajw;
    • set

      public void set(T value)
      Mappings:
      Namespace Name Mixin selector
      named set Lnet/minecraft/entity/data/DataTracker$Entry;set(Ljava/lang/Object;)V
      intermediary method_12799 Lnet/minecraft/class_2945$class_2946;method_12799(Ljava/lang/Object;)V
      official a Laka$b;a(Ljava/lang/Object;)V
    • get

      public T get()
      Mappings:
      Namespace Name Mixin selector
      named get Lnet/minecraft/entity/data/DataTracker$Entry;get()Ljava/lang/Object;
      intermediary method_12794 Lnet/minecraft/class_2945$class_2946;method_12794()Ljava/lang/Object;
      official b Laka$b;b()Ljava/lang/Object;
    • isDirty

      public boolean isDirty()
      Mappings:
      Namespace Name Mixin selector
      named isDirty Lnet/minecraft/entity/data/DataTracker$Entry;isDirty()Z
      intermediary method_12796 Lnet/minecraft/class_2945$class_2946;method_12796()Z
      official c Laka$b;c()Z
    • setDirty

      public void setDirty(boolean dirty)
      Mappings:
      Namespace Name Mixin selector
      named setDirty Lnet/minecraft/entity/data/DataTracker$Entry;setDirty(Z)V
      intermediary method_12795 Lnet/minecraft/class_2945$class_2946;method_12795(Z)V
      official a Laka$b;a(Z)V
    • isUnchanged

      public boolean isUnchanged()
      Mappings:
      Namespace Name Mixin selector
      named isUnchanged Lnet/minecraft/entity/data/DataTracker$Entry;isUnchanged()Z
      intermediary method_46358 Lnet/minecraft/class_2945$class_2946;method_46358()Z
      official d Laka$b;d()Z
    • toSerialized

      public DataTracker.SerializedEntry<T> toSerialized()
      Mappings:
      Namespace Name Mixin selector
      named toSerialized Lnet/minecraft/entity/data/DataTracker$Entry;toSerialized()Lnet/minecraft/entity/data/DataTracker$SerializedEntry;
      intermediary method_46359 Lnet/minecraft/class_2945$class_2946;method_46359()Lnet/minecraft/class_2945$class_7834;
      official e Laka$b;e()Laka$c;