Class StringArgumentSerializer
java.lang.Object
net.minecraft.command.argument.serialize.StringArgumentSerializer
- All Implemented Interfaces:
ArgumentSerializer<com.mojang.brigadier.arguments.StringArgumentType>
public class StringArgumentSerializer
extends Object
implements ArgumentSerializer<com.mojang.brigadier.arguments.StringArgumentType>
- Mappings:
Namespace Name official gb
intermediary net/minecraft/class_2332
named net/minecraft/command/argument/serialize/StringArgumentSerializer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.mojang.brigadier.arguments.StringArgumentType
fromPacket
(PacketByteBuf packetByteBuf) void
toJson
(com.mojang.brigadier.arguments.StringArgumentType stringArgumentType, JsonObject jsonObject) void
toPacket
(com.mojang.brigadier.arguments.StringArgumentType stringArgumentType, PacketByteBuf packetByteBuf)
-
Constructor Details
-
StringArgumentSerializer
public StringArgumentSerializer()
-
-
Method Details
-
toPacket
public void toPacket(com.mojang.brigadier.arguments.StringArgumentType stringArgumentType, PacketByteBuf packetByteBuf) - Specified by:
toPacket
in interfaceArgumentSerializer<com.mojang.brigadier.arguments.StringArgumentType>
- Mappings:
Namespace Name Mixin selector official a
Lgb;a(Lcom/mojang/brigadier/arguments/StringArgumentType;Log;)V
intermediary method_10053
Lnet/minecraft/class_2332;method_10053(Lcom/mojang/brigadier/arguments/StringArgumentType;Lnet/minecraft/class_2540;)V
named toPacket
Lnet/minecraft/command/argument/serialize/StringArgumentSerializer;toPacket(Lcom/mojang/brigadier/arguments/StringArgumentType;Lnet/minecraft/network/PacketByteBuf;)V
-
fromPacket
- Specified by:
fromPacket
in interfaceArgumentSerializer<com.mojang.brigadier.arguments.StringArgumentType>
- Mappings:
Namespace Name Mixin selector official a
Lgb;a(Log;)Lcom/mojang/brigadier/arguments/StringArgumentType;
intermediary method_10052
Lnet/minecraft/class_2332;method_10052(Lnet/minecraft/class_2540;)Lcom/mojang/brigadier/arguments/StringArgumentType;
named fromPacket
Lnet/minecraft/command/argument/serialize/StringArgumentSerializer;fromPacket(Lnet/minecraft/network/PacketByteBuf;)Lcom/mojang/brigadier/arguments/StringArgumentType;
-
toJson
public void toJson(com.mojang.brigadier.arguments.StringArgumentType stringArgumentType, JsonObject jsonObject) - Specified by:
toJson
in interfaceArgumentSerializer<com.mojang.brigadier.arguments.StringArgumentType>
- Mappings:
Namespace Name Mixin selector official a
Lgb;a(Lcom/mojang/brigadier/arguments/StringArgumentType;Lcom/google/gson/JsonObject;)V
intermediary method_10051
Lnet/minecraft/class_2332;method_10051(Lcom/mojang/brigadier/arguments/StringArgumentType;Lcom/google/gson/JsonObject;)V
named toJson
Lnet/minecraft/command/argument/serialize/StringArgumentSerializer;toJson(Lcom/mojang/brigadier/arguments/StringArgumentType;Lcom/google/gson/JsonObject;)V
-