Interface TrackedDataHandler<T>

All Known Subinterfaces:
TrackedDataHandler.ImmutableHandler<T>

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

    • codec

      PacketCodec<? super RegistryByteBuf,T> codec()
    • create

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

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

      static <T> TrackedDataHandler<T> create(PacketCodec<? super RegistryByteBuf,T> codec)
      Mappings:
      Namespace Name Mixin selector
      named create Lnet/minecraft/entity/data/TrackedDataHandler;create(Lnet/minecraft/network/codec/PacketCodec;)Lnet/minecraft/entity/data/TrackedDataHandler;
      intermediary method_56031 Lnet/minecraft/class_2941;method_56031(Lnet/minecraft/class_9139;)Lnet/minecraft/class_2941;
      official a Lakl;a(Lzn;)Lakl;