Class TrackedData<T>

java.lang.Object
net.minecraft.entity.data.TrackedData<T>

public class TrackedData<T> extends Object
Mappings:
Namespace Name
official acl
intermediary net/minecraft/class_2940
named net/minecraft/entity/data/TrackedData
  • Field Details

    • id

      private final int id
      Mappings:
      Namespace Name Mixin selector
      official a Lacl;a:I
      intermediary field_13306 Lnet/minecraft/class_2940;field_13306:I
      named id Lnet/minecraft/entity/data/TrackedData;id:I
    • dataType

      private final TrackedDataHandler<T> dataType
      Mappings:
      Namespace Name Mixin selector
      official b Lacl;b:Lacm;
      intermediary field_13307 Lnet/minecraft/class_2940;field_13307:Lnet/minecraft/class_2941;
      named dataType Lnet/minecraft/entity/data/TrackedData;dataType:Lnet/minecraft/entity/data/TrackedDataHandler;
  • Constructor Details

    • TrackedData

      public TrackedData(int id, TrackedDataHandler<T> dataType)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lacl;<init>(ILacm;)V
      intermediary <init> Lnet/minecraft/class_2940;<init>(ILnet/minecraft/class_2941;)V
      named <init> Lnet/minecraft/entity/data/TrackedData;<init>(ILnet/minecraft/entity/data/TrackedDataHandler;)V
  • Method Details

    • getId

      public int getId()
      Mappings:
      Namespace Name Mixin selector
      official a Lacl;a()I
      intermediary method_12713 Lnet/minecraft/class_2940;method_12713()I
      named getId Lnet/minecraft/entity/data/TrackedData;getId()I
    • getType

      public TrackedDataHandler<T> getType()
      Mappings:
      Namespace Name Mixin selector
      official b Lacl;b()Lacm;
      intermediary method_12712 Lnet/minecraft/class_2940;method_12712()Lnet/minecraft/class_2941;
      named getType Lnet/minecraft/entity/data/TrackedData;getType()Lnet/minecraft/entity/data/TrackedDataHandler;
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
      Mappings:
      Namespace Name Mixin selector
      official equals Lacl;equals(Ljava/lang/Object;)Z
      intermediary equals Lnet/minecraft/class_2940;equals(Ljava/lang/Object;)Z
      named equals Lnet/minecraft/entity/data/TrackedData;equals(Ljava/lang/Object;)Z
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object