Class IntegerArgumentSerializer

java.lang.Object
net.minecraft.command.argument.serialize.IntegerArgumentSerializer
All Implemented Interfaces:
ArgumentSerializer<com.mojang.brigadier.arguments.IntegerArgumentType,IntegerArgumentSerializer.Properties>

public class IntegerArgumentSerializer extends Object implements ArgumentSerializer<com.mojang.brigadier.arguments.IntegerArgumentType,IntegerArgumentSerializer.Properties>
Mappings:
Namespace Name
official gp
intermediary net/minecraft/class_2330
named net/minecraft/command/argument/serialize/IntegerArgumentSerializer
  • Constructor Details

    • IntegerArgumentSerializer

      public IntegerArgumentSerializer()
  • Method Details

    • writePacket

      public void writePacket(IntegerArgumentSerializer.Properties properties, PacketByteBuf packetByteBuf)
      Specified by:
      writePacket in interface ArgumentSerializer<com.mojang.brigadier.arguments.IntegerArgumentType,IntegerArgumentSerializer.Properties>
      Mappings:
      Namespace Name Mixin selector
      official a Lgp;a(Lgp$a;Lso;)V
      intermediary method_10048 Lnet/minecraft/class_2330;method_10048(Lnet/minecraft/class_2330$class_7222;Lnet/minecraft/class_2540;)V
      named writePacket Lnet/minecraft/command/argument/serialize/IntegerArgumentSerializer;writePacket(Lnet/minecraft/command/argument/serialize/IntegerArgumentSerializer$Properties;Lnet/minecraft/network/PacketByteBuf;)V
    • fromPacket

      public IntegerArgumentSerializer.Properties fromPacket(PacketByteBuf packetByteBuf)
      Specified by:
      fromPacket in interface ArgumentSerializer<com.mojang.brigadier.arguments.IntegerArgumentType,IntegerArgumentSerializer.Properties>
      Mappings:
      Namespace Name Mixin selector
      official a Lgp;a(Lso;)Lgp$a;
      intermediary method_10050 Lnet/minecraft/class_2330;method_10050(Lnet/minecraft/class_2540;)Lnet/minecraft/class_2330$class_7222;
      named fromPacket Lnet/minecraft/command/argument/serialize/IntegerArgumentSerializer;fromPacket(Lnet/minecraft/network/PacketByteBuf;)Lnet/minecraft/command/argument/serialize/IntegerArgumentSerializer$Properties;
    • writeJson

      public void writeJson(IntegerArgumentSerializer.Properties properties, com.google.gson.JsonObject jsonObject)
      Specified by:
      writeJson in interface ArgumentSerializer<com.mojang.brigadier.arguments.IntegerArgumentType,IntegerArgumentSerializer.Properties>
      Mappings:
      Namespace Name Mixin selector
      official a Lgp;a(Lgp$a;Lcom/google/gson/JsonObject;)V
      intermediary method_10049 Lnet/minecraft/class_2330;method_10049(Lnet/minecraft/class_2330$class_7222;Lcom/google/gson/JsonObject;)V
      named writeJson Lnet/minecraft/command/argument/serialize/IntegerArgumentSerializer;writeJson(Lnet/minecraft/command/argument/serialize/IntegerArgumentSerializer$Properties;Lcom/google/gson/JsonObject;)V
    • getArgumentTypeProperties

      public IntegerArgumentSerializer.Properties getArgumentTypeProperties(com.mojang.brigadier.arguments.IntegerArgumentType integerArgumentType)
      Specified by:
      getArgumentTypeProperties in interface ArgumentSerializer<com.mojang.brigadier.arguments.IntegerArgumentType,IntegerArgumentSerializer.Properties>
      Mappings:
      Namespace Name Mixin selector
      official a Lgp;a(Lcom/mojang/brigadier/arguments/IntegerArgumentType;)Lgp$a;
      intermediary method_42007 Lnet/minecraft/class_2330;method_42007(Lcom/mojang/brigadier/arguments/IntegerArgumentType;)Lnet/minecraft/class_2330$class_7222;
      named getArgumentTypeProperties Lnet/minecraft/command/argument/serialize/IntegerArgumentSerializer;getArgumentTypeProperties(Lcom/mojang/brigadier/arguments/IntegerArgumentType;)Lnet/minecraft/command/argument/serialize/IntegerArgumentSerializer$Properties;