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 named net/minecraft/command/argument/serialize/StringArgumentSerializer
intermediary net/minecraft/class_2332
official jb
-
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 named writePacket
Lnet/minecraft/command/argument/serialize/StringArgumentSerializer;writePacket(Lnet/minecraft/command/argument/serialize/StringArgumentSerializer$Properties;Lnet/minecraft/network/PacketByteBuf;)V
intermediary method_10053
Lnet/minecraft/class_2332;method_10053(Lnet/minecraft/class_2332$class_7224;Lnet/minecraft/class_2540;)V
official a
Ljb;a(Ljb$a;Lws;)V
-
fromPacket
- Specified by:
fromPacket
in interfaceArgumentSerializer<com.mojang.brigadier.arguments.StringArgumentType,
StringArgumentSerializer.Properties> - Mappings:
Namespace Name Mixin selector named fromPacket
Lnet/minecraft/command/argument/serialize/StringArgumentSerializer;fromPacket(Lnet/minecraft/network/PacketByteBuf;)Lnet/minecraft/command/argument/serialize/StringArgumentSerializer$Properties;
intermediary method_10052
Lnet/minecraft/class_2332;method_10052(Lnet/minecraft/class_2540;)Lnet/minecraft/class_2332$class_7224;
official a
Ljb;a(Lws;)Ljb$a;
-
writeJson
- Specified by:
writeJson
in interfaceArgumentSerializer<com.mojang.brigadier.arguments.StringArgumentType,
StringArgumentSerializer.Properties> - Mappings:
Namespace Name Mixin selector named writeJson
Lnet/minecraft/command/argument/serialize/StringArgumentSerializer;writeJson(Lnet/minecraft/command/argument/serialize/StringArgumentSerializer$Properties;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
official a
Ljb;a(Ljb$a;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 named getArgumentTypeProperties
Lnet/minecraft/command/argument/serialize/StringArgumentSerializer;getArgumentTypeProperties(Lcom/mojang/brigadier/arguments/StringArgumentType;)Lnet/minecraft/command/argument/serialize/StringArgumentSerializer$Properties;
intermediary method_42011
Lnet/minecraft/class_2332;method_42011(Lcom/mojang/brigadier/arguments/StringArgumentType;)Lnet/minecraft/class_2332$class_7224;
official a
Ljb;a(Lcom/mojang/brigadier/arguments/StringArgumentType;)Ljb$a;
-