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
  • Constructor Details

    • StringArgumentSerializer

      public StringArgumentSerializer()
  • Method Details

    • writePacket

      public void writePacket(StringArgumentSerializer.Properties properties, PacketByteBuf packetByteBuf)
      Specified by:
      writePacket in interface ArgumentSerializer<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

      public StringArgumentSerializer.Properties fromPacket(PacketByteBuf packetByteBuf)
      Specified by:
      fromPacket in interface ArgumentSerializer<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

      public void writeJson(StringArgumentSerializer.Properties properties, JsonObject jsonObject)
      Specified by:
      writeJson in interface ArgumentSerializer<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 interface ArgumentSerializer<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;