Class LongArgumentSerializer

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

public class LongArgumentSerializer extends Object implements ArgumentSerializer<com.mojang.brigadier.arguments.LongArgumentType,LongArgumentSerializer.Properties>
Mappings:
Namespace Name
official gn
intermediary net/minecraft/class_4461
named net/minecraft/command/argument/serialize/LongArgumentSerializer
  • Constructor Details

    • LongArgumentSerializer

      public LongArgumentSerializer()
  • Method Details

    • writePacket

      public void writePacket(LongArgumentSerializer.Properties properties, PacketByteBuf packetByteBuf)
      Specified by:
      writePacket in interface ArgumentSerializer<com.mojang.brigadier.arguments.LongArgumentType,LongArgumentSerializer.Properties>
      Mappings:
      Namespace Name Mixin selector
      official a Lgn;a(Lgn$a;Lss;)V
      intermediary method_21690 Lnet/minecraft/class_4461;method_21690(Lnet/minecraft/class_4461$class_7223;Lnet/minecraft/class_2540;)V
      named writePacket Lnet/minecraft/command/argument/serialize/LongArgumentSerializer;writePacket(Lnet/minecraft/command/argument/serialize/LongArgumentSerializer$Properties;Lnet/minecraft/network/PacketByteBuf;)V
    • fromPacket

      public LongArgumentSerializer.Properties fromPacket(PacketByteBuf packetByteBuf)
      Specified by:
      fromPacket in interface ArgumentSerializer<com.mojang.brigadier.arguments.LongArgumentType,LongArgumentSerializer.Properties>
      Mappings:
      Namespace Name Mixin selector
      official a Lgn;a(Lss;)Lgn$a;
      intermediary method_21691 Lnet/minecraft/class_4461;method_21691(Lnet/minecraft/class_2540;)Lnet/minecraft/class_4461$class_7223;
      named fromPacket Lnet/minecraft/command/argument/serialize/LongArgumentSerializer;fromPacket(Lnet/minecraft/network/PacketByteBuf;)Lnet/minecraft/command/argument/serialize/LongArgumentSerializer$Properties;
    • writeJson

      public void writeJson(LongArgumentSerializer.Properties properties, JsonObject jsonObject)
      Specified by:
      writeJson in interface ArgumentSerializer<com.mojang.brigadier.arguments.LongArgumentType,LongArgumentSerializer.Properties>
      Mappings:
      Namespace Name Mixin selector
      official a Lgn;a(Lgn$a;Lcom/google/gson/JsonObject;)V
      intermediary method_21689 Lnet/minecraft/class_4461;method_21689(Lnet/minecraft/class_4461$class_7223;Lcom/google/gson/JsonObject;)V
      named writeJson Lnet/minecraft/command/argument/serialize/LongArgumentSerializer;writeJson(Lnet/minecraft/command/argument/serialize/LongArgumentSerializer$Properties;Lcom/google/gson/JsonObject;)V
    • getArgumentTypeProperties

      public LongArgumentSerializer.Properties getArgumentTypeProperties(com.mojang.brigadier.arguments.LongArgumentType longArgumentType)
      Specified by:
      getArgumentTypeProperties in interface ArgumentSerializer<com.mojang.brigadier.arguments.LongArgumentType,LongArgumentSerializer.Properties>
      Mappings:
      Namespace Name Mixin selector
      official a Lgn;a(Lcom/mojang/brigadier/arguments/LongArgumentType;)Lgn$a;
      intermediary method_42009 Lnet/minecraft/class_4461;method_42009(Lcom/mojang/brigadier/arguments/LongArgumentType;)Lnet/minecraft/class_4461$class_7223;
      named getArgumentTypeProperties Lnet/minecraft/command/argument/serialize/LongArgumentSerializer;getArgumentTypeProperties(Lcom/mojang/brigadier/arguments/LongArgumentType;)Lnet/minecraft/command/argument/serialize/LongArgumentSerializer$Properties;