Class StringArgumentSerializer
java.lang.Object
net.minecraft.command.argument.serialize.StringArgumentSerializer
- All Implemented Interfaces:
ArgumentSerializer<com.mojang.brigadier.arguments.StringArgumentType,
StringArgumentSerializer.Properties>
public class StringArgumentSerializer
extends Object
implements ArgumentSerializer<com.mojang.brigadier.arguments.StringArgumentType,StringArgumentSerializer.Properties>
- Mappings:
Namespace Name official go
intermediary net/minecraft/class_2332
named net/minecraft/command/argument/serialize/StringArgumentSerializer
-
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
(com.mojang.brigadier.arguments.StringArgumentType stringArgumentType) void
writeJson
(StringArgumentSerializer.Properties properties, JsonObject jsonObject) void
writePacket
(StringArgumentSerializer.Properties properties, PacketByteBuf packetByteBuf)
-
Constructor Details
-
StringArgumentSerializer
public StringArgumentSerializer()
-
-
Method Details
-
writePacket
public void writePacket(StringArgumentSerializer.Properties properties, PacketByteBuf packetByteBuf) - Specified by:
writePacket
in interfaceArgumentSerializer<com.mojang.brigadier.arguments.StringArgumentType,
StringArgumentSerializer.Properties> - Mappings:
Namespace Name Mixin selector official a
Lgo;a(Lgo$a;Lss;)V
intermediary method_10053
Lnet/minecraft/class_2332;method_10053(Lnet/minecraft/class_2332$class_7224;Lnet/minecraft/class_2540;)V
named writePacket
Lnet/minecraft/command/argument/serialize/StringArgumentSerializer;writePacket(Lnet/minecraft/command/argument/serialize/StringArgumentSerializer$Properties;Lnet/minecraft/network/PacketByteBuf;)V
-
fromPacket
- Specified by:
fromPacket
in interfaceArgumentSerializer<com.mojang.brigadier.arguments.StringArgumentType,
StringArgumentSerializer.Properties> - Mappings:
Namespace Name Mixin selector official a
Lgo;a(Lss;)Lgo$a;
intermediary method_10052
Lnet/minecraft/class_2332;method_10052(Lnet/minecraft/class_2540;)Lnet/minecraft/class_2332$class_7224;
named fromPacket
Lnet/minecraft/command/argument/serialize/StringArgumentSerializer;fromPacket(Lnet/minecraft/network/PacketByteBuf;)Lnet/minecraft/command/argument/serialize/StringArgumentSerializer$Properties;
-
writeJson
- Specified by:
writeJson
in interfaceArgumentSerializer<com.mojang.brigadier.arguments.StringArgumentType,
StringArgumentSerializer.Properties> - Mappings:
Namespace Name Mixin selector official a
Lgo;a(Lgo$a;Lcom/google/gson/JsonObject;)V
intermediary method_10051
Lnet/minecraft/class_2332;method_10051(Lnet/minecraft/class_2332$class_7224;Lcom/google/gson/JsonObject;)V
named writeJson
Lnet/minecraft/command/argument/serialize/StringArgumentSerializer;writeJson(Lnet/minecraft/command/argument/serialize/StringArgumentSerializer$Properties;Lcom/google/gson/JsonObject;)V
-
getArgumentTypeProperties
public StringArgumentSerializer.Properties getArgumentTypeProperties(com.mojang.brigadier.arguments.StringArgumentType stringArgumentType) - Specified by:
getArgumentTypeProperties
in interfaceArgumentSerializer<com.mojang.brigadier.arguments.StringArgumentType,
StringArgumentSerializer.Properties> - Mappings:
Namespace Name Mixin selector official a
Lgo;a(Lcom/mojang/brigadier/arguments/StringArgumentType;)Lgo$a;
intermediary method_42011
Lnet/minecraft/class_2332;method_42011(Lcom/mojang/brigadier/arguments/StringArgumentType;)Lnet/minecraft/class_2332$class_7224;
named getArgumentTypeProperties
Lnet/minecraft/command/argument/serialize/StringArgumentSerializer;getArgumentTypeProperties(Lcom/mojang/brigadier/arguments/StringArgumentType;)Lnet/minecraft/command/argument/serialize/StringArgumentSerializer$Properties;
-