Package net.minecraft.command.argument
Class RegistryKeyArgumentType.Serializer
java.lang.Object
net.minecraft.command.argument.RegistryKeyArgumentType.Serializer
- All Implemented Interfaces:
ArgumentSerializer<RegistryKeyArgumentType<?>>
- Enclosing class:
RegistryKeyArgumentType<T>
public static class RegistryKeyArgumentType.Serializer
extends Object
implements ArgumentSerializer<RegistryKeyArgumentType<?>>
- Mappings:
Namespace Name official ej$a
intermediary net/minecraft/class_7079$class_7080
named net/minecraft/command/argument/RegistryKeyArgumentType$Serializer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfromPacket
(PacketByteBuf packetByteBuf) void
toJson
(RegistryKeyArgumentType<?> registryKeyArgumentType, JsonObject jsonObject) void
toPacket
(RegistryKeyArgumentType<?> registryKeyArgumentType, PacketByteBuf packetByteBuf)
-
Constructor Details
-
Serializer
public Serializer()
-
-
Method Details
-
toPacket
public void toPacket(RegistryKeyArgumentType<?> registryKeyArgumentType, PacketByteBuf packetByteBuf) - Specified by:
toPacket
in interfaceArgumentSerializer<RegistryKeyArgumentType<?>>
- Mappings:
Namespace Name Mixin selector official a
Lej$a;a(Lej;Lpy;)V
intermediary method_41230
Lnet/minecraft/class_7079$class_7080;method_41230(Lnet/minecraft/class_7079;Lnet/minecraft/class_2540;)V
named toPacket
Lnet/minecraft/command/argument/RegistryKeyArgumentType$Serializer;toPacket(Lnet/minecraft/command/argument/RegistryKeyArgumentType;Lnet/minecraft/network/PacketByteBuf;)V
-
fromPacket
- Specified by:
fromPacket
in interfaceArgumentSerializer<RegistryKeyArgumentType<?>>
- Mappings:
Namespace Name Mixin selector official a
Lej$a;a(Lpy;)Lej;
intermediary method_41231
Lnet/minecraft/class_7079$class_7080;method_41231(Lnet/minecraft/class_2540;)Lnet/minecraft/class_7079;
named fromPacket
Lnet/minecraft/command/argument/RegistryKeyArgumentType$Serializer;fromPacket(Lnet/minecraft/network/PacketByteBuf;)Lnet/minecraft/command/argument/RegistryKeyArgumentType;
-
toJson
- Specified by:
toJson
in interfaceArgumentSerializer<RegistryKeyArgumentType<?>>
- Mappings:
Namespace Name Mixin selector official a
Lej$a;a(Lej;Lcom/google/gson/JsonObject;)V
intermediary method_41229
Lnet/minecraft/class_7079$class_7080;method_41229(Lnet/minecraft/class_7079;Lcom/google/gson/JsonObject;)V
named toJson
Lnet/minecraft/command/argument/RegistryKeyArgumentType$Serializer;toJson(Lnet/minecraft/command/argument/RegistryKeyArgumentType;Lcom/google/gson/JsonObject;)V
-