Interface TrackedDataHandler<T>


public interface TrackedDataHandler<T>
Mappings:
Namespace Name
official yc
intermediary net/minecraft/class_2941
named net/minecraft/entity/data/TrackedDataHandler
  • Method Details

    • write

      void write(PacketByteBuf buf, T value)
      Mappings:
      Namespace Name Mixin selector
      official a Lyc;a(Lpy;Ljava/lang/Object;)V
      intermediary method_12715 Lnet/minecraft/class_2941;method_12715(Lnet/minecraft/class_2540;Ljava/lang/Object;)V
      named write Lnet/minecraft/entity/data/TrackedDataHandler;write(Lnet/minecraft/network/PacketByteBuf;Ljava/lang/Object;)V
    • read

      T read(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      official a Lyc;a(Lpy;)Ljava/lang/Object;
      intermediary method_12716 Lnet/minecraft/class_2941;method_12716(Lnet/minecraft/class_2540;)Ljava/lang/Object;
      named read Lnet/minecraft/entity/data/TrackedDataHandler;read(Lnet/minecraft/network/PacketByteBuf;)Ljava/lang/Object;
    • create

      default TrackedData<T> create(int int2)
      Mappings:
      Namespace Name Mixin selector
      official a Lyc;a(I)Lyb;
      intermediary method_12717 Lnet/minecraft/class_2941;method_12717(I)Lnet/minecraft/class_2940;
      named create Lnet/minecraft/entity/data/TrackedDataHandler;create(I)Lnet/minecraft/entity/data/TrackedData;
    • copy

      T copy(T value)
      Mappings:
      Namespace Name Mixin selector
      official a Lyc;a(Ljava/lang/Object;)Ljava/lang/Object;
      intermediary method_12714 Lnet/minecraft/class_2941;method_12714(Ljava/lang/Object;)Ljava/lang/Object;
      named copy Lnet/minecraft/entity/data/TrackedDataHandler;copy(Ljava/lang/Object;)Ljava/lang/Object;