Class LongArgumentSerializer

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

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

    • LongArgumentSerializer

      public LongArgumentSerializer()
  • Method Details

    • toPacket

      public void toPacket​(com.mojang.brigadier.arguments.LongArgumentType longArgumentType, PacketByteBuf packetByteBuf)
      Specified by:
      toPacket in interface ArgumentSerializer<com.mojang.brigadier.arguments.LongArgumentType>
      Mappings:
      Namespace Name Mixin selector
      official a Lfr;a(Lcom/mojang/brigadier/arguments/LongArgumentType;Lnw;)V
      intermediary method_21690 Lnet/minecraft/class_4461;method_21690(Lcom/mojang/brigadier/arguments/LongArgumentType;Lnet/minecraft/class_2540;)V
      named toPacket Lnet/minecraft/command/argument/serialize/LongArgumentSerializer;toPacket(Lcom/mojang/brigadier/arguments/LongArgumentType;Lnet/minecraft/network/PacketByteBuf;)V
    • fromPacket

      public com.mojang.brigadier.arguments.LongArgumentType fromPacket​(PacketByteBuf packetByteBuf)
      Specified by:
      fromPacket in interface ArgumentSerializer<com.mojang.brigadier.arguments.LongArgumentType>
      Mappings:
      Namespace Name Mixin selector
      official a Lfr;a(Lnw;)Lcom/mojang/brigadier/arguments/LongArgumentType;
      intermediary method_21691 Lnet/minecraft/class_4461;method_21691(Lnet/minecraft/class_2540;)Lcom/mojang/brigadier/arguments/LongArgumentType;
      named fromPacket Lnet/minecraft/command/argument/serialize/LongArgumentSerializer;fromPacket(Lnet/minecraft/network/PacketByteBuf;)Lcom/mojang/brigadier/arguments/LongArgumentType;
    • toJson

      public void toJson​(com.mojang.brigadier.arguments.LongArgumentType longArgumentType, JsonObject jsonObject)
      Specified by:
      toJson in interface ArgumentSerializer<com.mojang.brigadier.arguments.LongArgumentType>
      Mappings:
      Namespace Name Mixin selector
      official a Lfr;a(Lcom/mojang/brigadier/arguments/LongArgumentType;Lcom/google/gson/JsonObject;)V
      intermediary method_21689 Lnet/minecraft/class_4461;method_21689(Lcom/mojang/brigadier/arguments/LongArgumentType;Lcom/google/gson/JsonObject;)V
      named toJson Lnet/minecraft/command/argument/serialize/LongArgumentSerializer;toJson(Lcom/mojang/brigadier/arguments/LongArgumentType;Lcom/google/gson/JsonObject;)V