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 it
  • 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
      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 Lit;a(Lit$a;Lwm;)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
      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 Lit;a(Lwm;)Lit$a;
    • 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
      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 Lit;a(Lit$a;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
      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 Lit;a(Lcom/mojang/brigadier/arguments/StringArgumentType;)Lit$a;