Class LongArgumentInfo
java.lang.Object
net.minecraft.commands.synchronization.brigadier.LongArgumentInfo
- All Implemented Interfaces:
ArgumentTypeInfo<com.mojang.brigadier.arguments.LongArgumentType,
LongArgumentInfo.Template>
public class LongArgumentInfo
extends Object
implements ArgumentTypeInfo<com.mojang.brigadier.arguments.LongArgumentType,LongArgumentInfo.Template>
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondeserializeFromNetwork
(FriendlyByteBuf p_235587_) void
serializeToJson
(LongArgumentInfo.Template p_235581_, com.google.gson.JsonObject p_235582_) void
serializeToNetwork
(LongArgumentInfo.Template p_235584_, FriendlyByteBuf p_235585_) unpack
(com.mojang.brigadier.arguments.LongArgumentType p_235573_)
-
Constructor Details
-
LongArgumentInfo
public LongArgumentInfo()
-
-
Method Details
-
serializeToNetwork
- Specified by:
serializeToNetwork
in interfaceArgumentTypeInfo<com.mojang.brigadier.arguments.LongArgumentType,
LongArgumentInfo.Template>
-
deserializeFromNetwork
- Specified by:
deserializeFromNetwork
in interfaceArgumentTypeInfo<com.mojang.brigadier.arguments.LongArgumentType,
LongArgumentInfo.Template>
-
serializeToJson
public void serializeToJson(LongArgumentInfo.Template p_235581_, com.google.gson.JsonObject p_235582_) - Specified by:
serializeToJson
in interfaceArgumentTypeInfo<com.mojang.brigadier.arguments.LongArgumentType,
LongArgumentInfo.Template>
-
unpack
- Specified by:
unpack
in interfaceArgumentTypeInfo<com.mojang.brigadier.arguments.LongArgumentType,
LongArgumentInfo.Template>
-