Package net.minecraft.entity.data
Interface TrackedDataHandler<T>
- All Known Subinterfaces:
TrackedDataHandler.ImmutableHandler<T>
public interface TrackedDataHandler<T>
- Mappings:
Namespace Name official abo
intermediary net/minecraft/class_2941
named net/minecraft/entity/data/TrackedDataHandler
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptiondefault TrackedData<T>
create
(int id) static <T> TrackedDataHandler<T>
of
(PacketByteBuf.PacketWriter<T> writer, PacketByteBuf.PacketReader<T> reader) static <T> TrackedDataHandler<T>
of
(IndexedIterable<T> registry) static <T extends Enum<T>>
TrackedDataHandler<T>static <T> TrackedDataHandler<Optional<T>>
ofOptional
(PacketByteBuf.PacketWriter<T> writer, PacketByteBuf.PacketReader<T> reader) read
(PacketByteBuf buf) void
write
(PacketByteBuf buf, T value)
-
Method Details
-
write
- Mappings:
Namespace Name Mixin selector official a
Labo;a(Lsd;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
- Mappings:
Namespace Name Mixin selector official a
Labo;a(Lsd;)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
- Mappings:
Namespace Name Mixin selector official a
Labo;a(I)Labn;
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
- Mappings:
Namespace Name Mixin selector official a
Labo;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;
-
of
static <T> TrackedDataHandler<T> of(PacketByteBuf.PacketWriter<T> writer, PacketByteBuf.PacketReader<T> reader) - Mappings:
Namespace Name Mixin selector official a
Labo;a(Lsd$b;Lsd$a;)Labo;
intermediary method_43242
Lnet/minecraft/class_2941;method_43242(Lnet/minecraft/class_2540$class_7462;Lnet/minecraft/class_2540$class_7461;)Lnet/minecraft/class_2941;
named of
Lnet/minecraft/entity/data/TrackedDataHandler;of(Lnet/minecraft/network/PacketByteBuf$PacketWriter;Lnet/minecraft/network/PacketByteBuf$PacketReader;)Lnet/minecraft/entity/data/TrackedDataHandler;
-
ofOptional
static <T> TrackedDataHandler<Optional<T>> ofOptional(PacketByteBuf.PacketWriter<T> writer, PacketByteBuf.PacketReader<T> reader) - Mappings:
Namespace Name Mixin selector official b
Labo;b(Lsd$b;Lsd$a;)Labo;
intermediary method_43243
Lnet/minecraft/class_2941;method_43243(Lnet/minecraft/class_2540$class_7462;Lnet/minecraft/class_2540$class_7461;)Lnet/minecraft/class_2941;
named ofOptional
Lnet/minecraft/entity/data/TrackedDataHandler;ofOptional(Lnet/minecraft/network/PacketByteBuf$PacketWriter;Lnet/minecraft/network/PacketByteBuf$PacketReader;)Lnet/minecraft/entity/data/TrackedDataHandler;
-
ofEnum
- Mappings:
Namespace Name Mixin selector official a
Labo;a(Ljava/lang/Class;)Labo;
intermediary method_43240
Lnet/minecraft/class_2941;method_43240(Ljava/lang/Class;)Lnet/minecraft/class_2941;
named ofEnum
Lnet/minecraft/entity/data/TrackedDataHandler;ofEnum(Ljava/lang/Class;)Lnet/minecraft/entity/data/TrackedDataHandler;
-
of
- Mappings:
Namespace Name Mixin selector official a
Labo;a(Lhe;)Labo;
intermediary method_43237
Lnet/minecraft/class_2941;method_43237(Lnet/minecraft/class_2359;)Lnet/minecraft/class_2941;
named of
Lnet/minecraft/entity/data/TrackedDataHandler;of(Lnet/minecraft/util/collection/IndexedIterable;)Lnet/minecraft/entity/data/TrackedDataHandler;
-