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 gaintermediary net/minecraft/class_4461named net/minecraft/command/argument/serialize/LongArgumentSerializer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.mojang.brigadier.arguments.LongArgumentTypefromPacket(PacketByteBuf packetByteBuf)voidtoJson(com.mojang.brigadier.arguments.LongArgumentType longArgumentType, JsonObject jsonObject)voidtoPacket(com.mojang.brigadier.arguments.LongArgumentType longArgumentType, PacketByteBuf packetByteBuf)
-
Constructor Details
-
LongArgumentSerializer
public LongArgumentSerializer()
-
-
Method Details
-
toPacket
public void toPacket(com.mojang.brigadier.arguments.LongArgumentType longArgumentType, PacketByteBuf packetByteBuf)- Specified by:
toPacketin interfaceArgumentSerializer<com.mojang.brigadier.arguments.LongArgumentType>- Mappings:
Namespace Name Mixin selector official aLga;a(Lcom/mojang/brigadier/arguments/LongArgumentType;Log;)Vintermediary method_21690Lnet/minecraft/class_4461;method_21690(Lcom/mojang/brigadier/arguments/LongArgumentType;Lnet/minecraft/class_2540;)Vnamed toPacketLnet/minecraft/command/argument/serialize/LongArgumentSerializer;toPacket(Lcom/mojang/brigadier/arguments/LongArgumentType;Lnet/minecraft/network/PacketByteBuf;)V
-
fromPacket
- Specified by:
fromPacketin interfaceArgumentSerializer<com.mojang.brigadier.arguments.LongArgumentType>- Mappings:
Namespace Name Mixin selector official aLga;a(Log;)Lcom/mojang/brigadier/arguments/LongArgumentType;intermediary method_21691Lnet/minecraft/class_4461;method_21691(Lnet/minecraft/class_2540;)Lcom/mojang/brigadier/arguments/LongArgumentType;named fromPacketLnet/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:
toJsonin interfaceArgumentSerializer<com.mojang.brigadier.arguments.LongArgumentType>- Mappings:
Namespace Name Mixin selector official aLga;a(Lcom/mojang/brigadier/arguments/LongArgumentType;Lcom/google/gson/JsonObject;)Vintermediary method_21689Lnet/minecraft/class_4461;method_21689(Lcom/mojang/brigadier/arguments/LongArgumentType;Lcom/google/gson/JsonObject;)Vnamed toJsonLnet/minecraft/command/argument/serialize/LongArgumentSerializer;toJson(Lcom/mojang/brigadier/arguments/LongArgumentType;Lcom/google/gson/JsonObject;)V
-