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 ga
intermediary net/minecraft/class_2330
named net/minecraft/command/argument/serialize/IntegerArgumentSerializer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.mojang.brigadier.arguments.IntegerArgumentType
fromPacket
(PacketByteBuf packetByteBuf) void
toJson
(com.mojang.brigadier.arguments.IntegerArgumentType integerArgumentType, JsonObject jsonObject) void
toPacket
(com.mojang.brigadier.arguments.IntegerArgumentType integerArgumentType, PacketByteBuf packetByteBuf)
-
Constructor Details
-
IntegerArgumentSerializer
public IntegerArgumentSerializer()
-
-
Method Details
-
toPacket
public void toPacket(com.mojang.brigadier.arguments.IntegerArgumentType integerArgumentType, PacketByteBuf packetByteBuf) - Specified by:
toPacket
in interfaceArgumentSerializer<com.mojang.brigadier.arguments.IntegerArgumentType>
- Mappings:
Namespace Name Mixin selector official a
Lga;a(Lcom/mojang/brigadier/arguments/IntegerArgumentType;Lpn;)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
- Specified by:
fromPacket
in interfaceArgumentSerializer<com.mojang.brigadier.arguments.IntegerArgumentType>
- Mappings:
Namespace Name Mixin selector official a
Lga;a(Lpn;)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 interfaceArgumentSerializer<com.mojang.brigadier.arguments.IntegerArgumentType>
- Mappings:
Namespace Name Mixin selector official a
Lga;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
-