Package net.minecraft.command.argument
Class RegistryEntryArgumentType.Serializer<T>
java.lang.Object
net.minecraft.command.argument.RegistryEntryArgumentType.Serializer<T>
- All Implemented Interfaces:
ArgumentSerializer<RegistryEntryArgumentType<T>,
RegistryEntryArgumentType.Serializer<T>.Properties>
- Enclosing class:
RegistryEntryArgumentType<T>
public static class RegistryEntryArgumentType.Serializer<T>
extends Object
implements ArgumentSerializer<RegistryEntryArgumentType<T>,RegistryEntryArgumentType.Serializer<T>.Properties>
- Mappings:
Namespace Name official eq$a
intermediary net/minecraft/class_7733$class_7734
named net/minecraft/command/argument/RegistryEntryArgumentType$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
(RegistryEntryArgumentType<T> registryEntryArgumentType) void
writeJson
(RegistryEntryArgumentType.Serializer<T>.Properties serializer, com.google.gson.JsonObject jsonObject) void
writePacket
(RegistryEntryArgumentType.Serializer<T>.Properties serializer, PacketByteBuf packetByteBuf)
-
Constructor Details
-
Serializer
public Serializer()
-
-
Method Details
-
writePacket
public void writePacket(RegistryEntryArgumentType.Serializer<T>.Properties serializer, PacketByteBuf packetByteBuf) - Specified by:
writePacket
in interfaceArgumentSerializer<RegistryEntryArgumentType<T>,
RegistryEntryArgumentType.Serializer<T>.Properties> - Mappings:
Namespace Name Mixin selector official a
Leq$a;a(Leq$a$a;Lso;)V
intermediary method_45614
Lnet/minecraft/class_7733$class_7734;method_45614(Lnet/minecraft/class_7733$class_7734$class_7735;Lnet/minecraft/class_2540;)V
named writePacket
Lnet/minecraft/command/argument/RegistryEntryArgumentType$Serializer;writePacket(Lnet/minecraft/command/argument/RegistryEntryArgumentType$Serializer$Properties;Lnet/minecraft/network/PacketByteBuf;)V
-
fromPacket
- Specified by:
fromPacket
in interfaceArgumentSerializer<RegistryEntryArgumentType<T>,
RegistryEntryArgumentType.Serializer<T>.Properties> - Mappings:
Namespace Name Mixin selector official a
Leq$a;a(Lso;)Leq$a$a;
intermediary method_45616
Lnet/minecraft/class_7733$class_7734;method_45616(Lnet/minecraft/class_2540;)Lnet/minecraft/class_7733$class_7734$class_7735;
named fromPacket
Lnet/minecraft/command/argument/RegistryEntryArgumentType$Serializer;fromPacket(Lnet/minecraft/network/PacketByteBuf;)Lnet/minecraft/command/argument/RegistryEntryArgumentType$Serializer$Properties;
-
writeJson
public void writeJson(RegistryEntryArgumentType.Serializer<T>.Properties serializer, com.google.gson.JsonObject jsonObject) - Specified by:
writeJson
in interfaceArgumentSerializer<RegistryEntryArgumentType<T>,
RegistryEntryArgumentType.Serializer<T>.Properties> - Mappings:
Namespace Name Mixin selector official a
Leq$a;a(Leq$a$a;Lcom/google/gson/JsonObject;)V
intermediary method_45613
Lnet/minecraft/class_7733$class_7734;method_45613(Lnet/minecraft/class_7733$class_7734$class_7735;Lcom/google/gson/JsonObject;)V
named writeJson
Lnet/minecraft/command/argument/RegistryEntryArgumentType$Serializer;writeJson(Lnet/minecraft/command/argument/RegistryEntryArgumentType$Serializer$Properties;Lcom/google/gson/JsonObject;)V
-
getArgumentTypeProperties
public RegistryEntryArgumentType.Serializer<T>.Properties getArgumentTypeProperties(RegistryEntryArgumentType<T> registryEntryArgumentType) - Specified by:
getArgumentTypeProperties
in interfaceArgumentSerializer<RegistryEntryArgumentType<T>,
RegistryEntryArgumentType.Serializer<T>.Properties> - Mappings:
Namespace Name Mixin selector official a
Leq$a;a(Leq;)Leq$a$a;
intermediary method_45615
Lnet/minecraft/class_7733$class_7734;method_45615(Lnet/minecraft/class_7733;)Lnet/minecraft/class_7733$class_7734$class_7735;
named getArgumentTypeProperties
Lnet/minecraft/command/argument/RegistryEntryArgumentType$Serializer;getArgumentTypeProperties(Lnet/minecraft/command/argument/RegistryEntryArgumentType;)Lnet/minecraft/command/argument/RegistryEntryArgumentType$Serializer$Properties;
-