Class IntegerArgumentSerializer

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

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

    • IntegerArgumentSerializer

      public IntegerArgumentSerializer()
  • Method Details

    • toPacket

      public void toPacket(com.mojang.brigadier.arguments.IntegerArgumentType integerArgumentType, PacketByteBuf packetByteBuf)
      Specified by:
      toPacket in interface ArgumentSerializer<com.mojang.brigadier.arguments.IntegerArgumentType>
      Mappings:
      Namespace Name Mixin selector
      official a Lfz;a(Lcom/mojang/brigadier/arguments/IntegerArgumentType;Log;)V
      intermediary method_10048 Lnet/minecraft/class_2330;method_10048(Lcom/mojang/brigadier/arguments/IntegerArgumentType;Lnet/minecraft/class_2540;)V
      named toPacket Lnet/minecraft/command/argument/serialize/IntegerArgumentSerializer;toPacket(Lcom/mojang/brigadier/arguments/IntegerArgumentType;Lnet/minecraft/network/PacketByteBuf;)V
    • fromPacket

      public com.mojang.brigadier.arguments.IntegerArgumentType fromPacket(PacketByteBuf packetByteBuf)
      Specified by:
      fromPacket in interface ArgumentSerializer<com.mojang.brigadier.arguments.IntegerArgumentType>
      Mappings:
      Namespace Name Mixin selector
      official a Lfz;a(Log;)Lcom/mojang/brigadier/arguments/IntegerArgumentType;
      intermediary method_10050 Lnet/minecraft/class_2330;method_10050(Lnet/minecraft/class_2540;)Lcom/mojang/brigadier/arguments/IntegerArgumentType;
      named fromPacket Lnet/minecraft/command/argument/serialize/IntegerArgumentSerializer;fromPacket(Lnet/minecraft/network/PacketByteBuf;)Lcom/mojang/brigadier/arguments/IntegerArgumentType;
    • toJson

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