Package net.minecraft.command.argument
Class RegistryPredicateArgumentType.Serializer
java.lang.Object
net.minecraft.command.argument.RegistryPredicateArgumentType.Serializer
- All Implemented Interfaces:
ArgumentSerializer<RegistryPredicateArgumentType<?>>
- Enclosing class:
RegistryPredicateArgumentType<T>
public static class RegistryPredicateArgumentType.Serializer
extends Object
implements ArgumentSerializer<RegistryPredicateArgumentType<?>>
- Mappings:
Namespace Name official el$c
intermediary net/minecraft/class_7066$class_7069
named net/minecraft/command/argument/RegistryPredicateArgumentType$Serializer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfromPacket
(PacketByteBuf packetByteBuf) void
toJson
(RegistryPredicateArgumentType<?> registryPredicateArgumentType, JsonObject jsonObject) void
toPacket
(RegistryPredicateArgumentType<?> registryPredicateArgumentType, PacketByteBuf packetByteBuf)
-
Constructor Details
-
Serializer
public Serializer()
-
-
Method Details
-
toPacket
public void toPacket(RegistryPredicateArgumentType<?> registryPredicateArgumentType, PacketByteBuf packetByteBuf) - Specified by:
toPacket
in interfaceArgumentSerializer<RegistryPredicateArgumentType<?>>
- Mappings:
Namespace Name Mixin selector official a
Lel$c;a(Lel;Lpy;)V
intermediary method_41178
Lnet/minecraft/class_7066$class_7069;method_41178(Lnet/minecraft/class_7066;Lnet/minecraft/class_2540;)V
named toPacket
Lnet/minecraft/command/argument/RegistryPredicateArgumentType$Serializer;toPacket(Lnet/minecraft/command/argument/RegistryPredicateArgumentType;Lnet/minecraft/network/PacketByteBuf;)V
-
fromPacket
- Specified by:
fromPacket
in interfaceArgumentSerializer<RegistryPredicateArgumentType<?>>
- Mappings:
Namespace Name Mixin selector official a
Lel$c;a(Lpy;)Lel;
intermediary method_41179
Lnet/minecraft/class_7066$class_7069;method_41179(Lnet/minecraft/class_2540;)Lnet/minecraft/class_7066;
named fromPacket
Lnet/minecraft/command/argument/RegistryPredicateArgumentType$Serializer;fromPacket(Lnet/minecraft/network/PacketByteBuf;)Lnet/minecraft/command/argument/RegistryPredicateArgumentType;
-
toJson
public void toJson(RegistryPredicateArgumentType<?> registryPredicateArgumentType, JsonObject jsonObject) - Specified by:
toJson
in interfaceArgumentSerializer<RegistryPredicateArgumentType<?>>
- Mappings:
Namespace Name Mixin selector official a
Lel$c;a(Lel;Lcom/google/gson/JsonObject;)V
intermediary method_41177
Lnet/minecraft/class_7066$class_7069;method_41177(Lnet/minecraft/class_7066;Lcom/google/gson/JsonObject;)V
named toJson
Lnet/minecraft/command/argument/RegistryPredicateArgumentType$Serializer;toJson(Lnet/minecraft/command/argument/RegistryPredicateArgumentType;Lcom/google/gson/JsonObject;)V
-