Package net.minecraft.command.argument
Class RegistryKeyArgumentType.Serializer<T>
java.lang.Object
net.minecraft.command.argument.RegistryKeyArgumentType.Serializer<T>
- All Implemented Interfaces:
ArgumentSerializer<RegistryKeyArgumentType<T>,
RegistryKeyArgumentType.Serializer<T>.Properties>
- Enclosing class:
RegistryKeyArgumentType<T>
public static class RegistryKeyArgumentType.Serializer<T>
extends Object
implements ArgumentSerializer<RegistryKeyArgumentType<T>,RegistryKeyArgumentType.Serializer<T>.Properties>
- Mappings:
Namespace Name official eo$a
intermediary net/minecraft/class_7079$class_7080
named net/minecraft/command/argument/RegistryKeyArgumentType$Serializer
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.command.argument.serialize.ArgumentSerializer
ArgumentSerializer.ArgumentTypeProperties<A extends com.mojang.brigadier.arguments.ArgumentType<?>>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfromPacket
(PacketByteBuf packetByteBuf) getArgumentTypeProperties
(RegistryKeyArgumentType<T> registryKeyArgumentType) void
writeJson
(RegistryKeyArgumentType.Serializer<T>.Properties serializer, JsonObject jsonObject) void
writePacket
(RegistryKeyArgumentType.Serializer<T>.Properties serializer, PacketByteBuf packetByteBuf)
-
Constructor Details
-
Serializer
public Serializer()
-
-
Method Details
-
writePacket
public void writePacket(RegistryKeyArgumentType.Serializer<T>.Properties serializer, PacketByteBuf packetByteBuf) - Specified by:
writePacket
in interfaceArgumentSerializer<RegistryKeyArgumentType<T>,
RegistryKeyArgumentType.Serializer<T>.Properties> - Mappings:
Namespace Name Mixin selector official a
Leo$a;a(Leo$a$a;Lss;)V
intermediary method_41230
Lnet/minecraft/class_7079$class_7080;method_41230(Lnet/minecraft/class_7079$class_7080$class_7197;Lnet/minecraft/class_2540;)V
named writePacket
Lnet/minecraft/command/argument/RegistryKeyArgumentType$Serializer;writePacket(Lnet/minecraft/command/argument/RegistryKeyArgumentType$Serializer$Properties;Lnet/minecraft/network/PacketByteBuf;)V
-
fromPacket
- Specified by:
fromPacket
in interfaceArgumentSerializer<RegistryKeyArgumentType<T>,
RegistryKeyArgumentType.Serializer<T>.Properties> - Mappings:
Namespace Name Mixin selector official a
Leo$a;a(Lss;)Leo$a$a;
intermediary method_41231
Lnet/minecraft/class_7079$class_7080;method_41231(Lnet/minecraft/class_2540;)Lnet/minecraft/class_7079$class_7080$class_7197;
named fromPacket
Lnet/minecraft/command/argument/RegistryKeyArgumentType$Serializer;fromPacket(Lnet/minecraft/network/PacketByteBuf;)Lnet/minecraft/command/argument/RegistryKeyArgumentType$Serializer$Properties;
-
writeJson
public void writeJson(RegistryKeyArgumentType.Serializer<T>.Properties serializer, JsonObject jsonObject) - Specified by:
writeJson
in interfaceArgumentSerializer<RegistryKeyArgumentType<T>,
RegistryKeyArgumentType.Serializer<T>.Properties> - Mappings:
Namespace Name Mixin selector official a
Leo$a;a(Leo$a$a;Lcom/google/gson/JsonObject;)V
intermediary method_41229
Lnet/minecraft/class_7079$class_7080;method_41229(Lnet/minecraft/class_7079$class_7080$class_7197;Lcom/google/gson/JsonObject;)V
named writeJson
Lnet/minecraft/command/argument/RegistryKeyArgumentType$Serializer;writeJson(Lnet/minecraft/command/argument/RegistryKeyArgumentType$Serializer$Properties;Lcom/google/gson/JsonObject;)V
-
getArgumentTypeProperties
public RegistryKeyArgumentType.Serializer<T>.Properties getArgumentTypeProperties(RegistryKeyArgumentType<T> registryKeyArgumentType) - Specified by:
getArgumentTypeProperties
in interfaceArgumentSerializer<RegistryKeyArgumentType<T>,
RegistryKeyArgumentType.Serializer<T>.Properties> - Mappings:
Namespace Name Mixin selector official a
Leo$a;a(Leo;)Leo$a$a;
intermediary method_41903
Lnet/minecraft/class_7079$class_7080;method_41903(Lnet/minecraft/class_7079;)Lnet/minecraft/class_7079$class_7080$class_7197;
named getArgumentTypeProperties
Lnet/minecraft/command/argument/RegistryKeyArgumentType$Serializer;getArgumentTypeProperties(Lnet/minecraft/command/argument/RegistryKeyArgumentType;)Lnet/minecraft/command/argument/RegistryKeyArgumentType$Serializer$Properties;
-