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 ep$aintermediary net/minecraft/class_7079$class_7080named net/minecraft/command/argument/RegistryKeyArgumentType$Serializer
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface net.minecraft.command.argument.serialize.ArgumentSerializer
ArgumentSerializer.ArgumentTypeProperties<A extends com.mojang.brigadier.arguments.ArgumentType<?>> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfromPacket(PacketByteBuf packetByteBuf) getArgumentTypeProperties(RegistryKeyArgumentType<T> registryKeyArgumentType) voidwriteJson(RegistryKeyArgumentType.Serializer<T>.Properties serializer, JsonObject jsonObject) voidwritePacket(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:
writePacketin interfaceArgumentSerializer<RegistryKeyArgumentType<T>,RegistryKeyArgumentType.Serializer<T>.Properties> - Mappings:
Namespace Name Mixin selector official aLep$a;a(Lep$a$a;Lsf;)Vintermediary method_41230Lnet/minecraft/class_7079$class_7080;method_41230(Lnet/minecraft/class_7079$class_7080$class_7197;Lnet/minecraft/class_2540;)Vnamed writePacketLnet/minecraft/command/argument/RegistryKeyArgumentType$Serializer;writePacket(Lnet/minecraft/command/argument/RegistryKeyArgumentType$Serializer$Properties;Lnet/minecraft/network/PacketByteBuf;)V
-
fromPacket
- Specified by:
fromPacketin interfaceArgumentSerializer<RegistryKeyArgumentType<T>,RegistryKeyArgumentType.Serializer<T>.Properties> - Mappings:
Namespace Name Mixin selector official aLep$a;a(Lsf;)Lep$a$a;intermediary method_41231Lnet/minecraft/class_7079$class_7080;method_41231(Lnet/minecraft/class_2540;)Lnet/minecraft/class_7079$class_7080$class_7197;named fromPacketLnet/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:
writeJsonin interfaceArgumentSerializer<RegistryKeyArgumentType<T>,RegistryKeyArgumentType.Serializer<T>.Properties> - Mappings:
Namespace Name Mixin selector official aLep$a;a(Lep$a$a;Lcom/google/gson/JsonObject;)Vintermediary method_41229Lnet/minecraft/class_7079$class_7080;method_41229(Lnet/minecraft/class_7079$class_7080$class_7197;Lcom/google/gson/JsonObject;)Vnamed writeJsonLnet/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:
getArgumentTypePropertiesin interfaceArgumentSerializer<RegistryKeyArgumentType<T>,RegistryKeyArgumentType.Serializer<T>.Properties> - Mappings:
Namespace Name Mixin selector official aLep$a;a(Lep;)Lep$a$a;intermediary method_41903Lnet/minecraft/class_7079$class_7080;method_41903(Lnet/minecraft/class_7079;)Lnet/minecraft/class_7079$class_7080$class_7197;named getArgumentTypePropertiesLnet/minecraft/command/argument/RegistryKeyArgumentType$Serializer;getArgumentTypeProperties(Lnet/minecraft/command/argument/RegistryKeyArgumentType;)Lnet/minecraft/command/argument/RegistryKeyArgumentType$Serializer$Properties;
-