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
named net/minecraft/command/argument/serialize/IntegerArgumentSerializer
intermediary net/minecraft/class_2330
official iz
  • 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
      named writePacket Lnet/minecraft/command/argument/serialize/IntegerArgumentSerializer;writePacket(Lnet/minecraft/command/argument/serialize/IntegerArgumentSerializer$Properties;Lnet/minecraft/network/PacketByteBuf;)V
      intermediary method_10048 Lnet/minecraft/class_2330;method_10048(Lnet/minecraft/class_2330$class_7222;Lnet/minecraft/class_2540;)V
      official a Liz;a(Liz$a;Lws;)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
      named fromPacket Lnet/minecraft/command/argument/serialize/IntegerArgumentSerializer;fromPacket(Lnet/minecraft/network/PacketByteBuf;)Lnet/minecraft/command/argument/serialize/IntegerArgumentSerializer$Properties;
      intermediary method_10050 Lnet/minecraft/class_2330;method_10050(Lnet/minecraft/class_2540;)Lnet/minecraft/class_2330$class_7222;
      official a Liz;a(Lws;)Liz$a;
    • writeJson

      public void writeJson(IntegerArgumentSerializer.Properties properties, JsonObject jsonObject)
      Specified by:
      writeJson in interface ArgumentSerializer<com.mojang.brigadier.arguments.IntegerArgumentType,IntegerArgumentSerializer.Properties>
      Mappings:
      Namespace Name Mixin selector
      named writeJson Lnet/minecraft/command/argument/serialize/IntegerArgumentSerializer;writeJson(Lnet/minecraft/command/argument/serialize/IntegerArgumentSerializer$Properties;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
      official a Liz;a(Liz$a;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
      named getArgumentTypeProperties Lnet/minecraft/command/argument/serialize/IntegerArgumentSerializer;getArgumentTypeProperties(Lcom/mojang/brigadier/arguments/IntegerArgumentType;)Lnet/minecraft/command/argument/serialize/IntegerArgumentSerializer$Properties;
      intermediary method_42007 Lnet/minecraft/class_2330;method_42007(Lcom/mojang/brigadier/arguments/IntegerArgumentType;)Lnet/minecraft/class_2330$class_7222;
      official a Liz;a(Lcom/mojang/brigadier/arguments/IntegerArgumentType;)Liz$a;