类 TrackedData<T>


  • public class TrackedData<T>
    extends Object
    Mappings:
    Namespace Name
    official vy
    intermediary net/minecraft/class_2940
    named net/minecraft/entity/data/TrackedData
    • 字段详细资料

      • id

        private final int id
        Mappings:
        Namespace Name Mixin selector
        official a Lvy;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 Lvy;b:Lvz;
        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;
    • 构造器详细资料

      • TrackedData

        public TrackedData​(int id,
                           TrackedDataHandler<T> dataType)
        Mappings:
        Namespace Name Mixin selector
        official <init> Lvy;<init>(ILvz;)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
    • 方法详细资料

      • getId

        public int getId()
        Mappings:
        Namespace Name Mixin selector
        official a Lvy;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 Lvy;b()Lvz;
        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)
        覆盖:
        equals 在类中 Object
        Mappings:
        Namespace Name Mixin selector
        official equals Lvy;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()
        覆盖:
        hashCode 在类中 Object
        Mappings:
        Namespace Name Mixin selector
        official hashCode Lvy;hashCode()I
        intermediary hashCode Lnet/minecraft/class_2940;hashCode()I
        named hashCode Lnet/minecraft/entity/data/TrackedData;hashCode()I
      • toString

        public String toString()
        覆盖:
        toString 在类中 Object
        Mappings:
        Namespace Name Mixin selector
        official toString Lvy;toString()Ljava/lang/String;
        intermediary toString Lnet/minecraft/class_2940;toString()Ljava/lang/String;
        named toString Lnet/minecraft/entity/data/TrackedData;toString()Ljava/lang/String;