Package net.minecraft.entity.data
Class TrackedData<T>
java.lang.Object
net.minecraft.entity.data.TrackedData<T>
public class TrackedData<T> extends Object
- Mappings:
Namespace Name official vk
intermediary net/minecraft/class_2940
named net/minecraft/entity/data/TrackedData
-
Field Summary
Fields Modifier and Type Field Description private TrackedDataHandler<T>
dataType
private int
id
-
Constructor Summary
Constructors Constructor Description TrackedData(int id, TrackedDataHandler<T> dataType)
-
Method Summary
-
Field Details
-
id
private final int id- Mappings:
Namespace Name Mixin selector official a
Lvk;a:I
intermediary field_13306
Lnet/minecraft/class_2940;field_13306:I
named id
Lnet/minecraft/entity/data/TrackedData;id:I
-
dataType
- Mappings:
Namespace Name Mixin selector official b
Lvk;b:Lvl;
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
- Mappings:
Namespace Name Mixin selector official <init>
Lvk;<init>(ILvl;)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
Lvk;a()I
intermediary method_12713
Lnet/minecraft/class_2940;method_12713()I
named getId
Lnet/minecraft/entity/data/TrackedData;getId()I
-
getType
- Mappings:
Namespace Name Mixin selector official b
Lvk;b()Lvl;
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
-
hashCode
public int hashCode() -
toString
-