Class IntegerArgumentSerializer
java.lang.Object
net.minecraft.command.argument.serialize.IntegerArgumentSerializer
- All Implemented Interfaces:
ArgumentSerializer<com.mojang.brigadier.arguments.IntegerArgumentType,
IntegerArgumentSerializer.Properties>
public class IntegerArgumentSerializer
extends Object
implements ArgumentSerializer<com.mojang.brigadier.arguments.IntegerArgumentType,IntegerArgumentSerializer.Properties>
- Mappings:
Namespace Name official gm
intermediary net/minecraft/class_2330
named net/minecraft/command/argument/serialize/IntegerArgumentSerializer
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface net.minecraft.command.argument.serialize.ArgumentSerializer
ArgumentSerializer.ArgumentTypeProperties<A extends com.mojang.brigadier.arguments.ArgumentType<?>>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfromPacket
(PacketByteBuf packetByteBuf) getArgumentTypeProperties
(com.mojang.brigadier.arguments.IntegerArgumentType integerArgumentType) void
writeJson
(IntegerArgumentSerializer.Properties properties, JsonObject jsonObject) void
writePacket
(IntegerArgumentSerializer.Properties properties, PacketByteBuf packetByteBuf)
-
Constructor Details
-
IntegerArgumentSerializer
public IntegerArgumentSerializer()
-
-
Method Details
-
writePacket
public void writePacket(IntegerArgumentSerializer.Properties properties, PacketByteBuf packetByteBuf) - Specified by:
writePacket
in interfaceArgumentSerializer<com.mojang.brigadier.arguments.IntegerArgumentType,
IntegerArgumentSerializer.Properties> - Mappings:
Namespace Name Mixin selector official a
Lgm;a(Lgm$a;Lqx;)V
intermediary method_10048
Lnet/minecraft/class_2330;method_10048(Lnet/minecraft/class_2330$class_7222;Lnet/minecraft/class_2540;)V
named writePacket
Lnet/minecraft/command/argument/serialize/IntegerArgumentSerializer;writePacket(Lnet/minecraft/command/argument/serialize/IntegerArgumentSerializer$Properties;Lnet/minecraft/network/PacketByteBuf;)V
-
fromPacket
- Specified by:
fromPacket
in interfaceArgumentSerializer<com.mojang.brigadier.arguments.IntegerArgumentType,
IntegerArgumentSerializer.Properties> - Mappings:
Namespace Name Mixin selector official a
Lgm;a(Lqx;)Lgm$a;
intermediary method_10050
Lnet/minecraft/class_2330;method_10050(Lnet/minecraft/class_2540;)Lnet/minecraft/class_2330$class_7222;
named fromPacket
Lnet/minecraft/command/argument/serialize/IntegerArgumentSerializer;fromPacket(Lnet/minecraft/network/PacketByteBuf;)Lnet/minecraft/command/argument/serialize/IntegerArgumentSerializer$Properties;
-
writeJson
- Specified by:
writeJson
in interfaceArgumentSerializer<com.mojang.brigadier.arguments.IntegerArgumentType,
IntegerArgumentSerializer.Properties> - Mappings:
Namespace Name Mixin selector official a
Lgm;a(Lgm$a;Lcom/google/gson/JsonObject;)V
intermediary method_10049
Lnet/minecraft/class_2330;method_10049(Lnet/minecraft/class_2330$class_7222;Lcom/google/gson/JsonObject;)V
named writeJson
Lnet/minecraft/command/argument/serialize/IntegerArgumentSerializer;writeJson(Lnet/minecraft/command/argument/serialize/IntegerArgumentSerializer$Properties;Lcom/google/gson/JsonObject;)V
-
getArgumentTypeProperties
public IntegerArgumentSerializer.Properties getArgumentTypeProperties(com.mojang.brigadier.arguments.IntegerArgumentType integerArgumentType) - Specified by:
getArgumentTypeProperties
in interfaceArgumentSerializer<com.mojang.brigadier.arguments.IntegerArgumentType,
IntegerArgumentSerializer.Properties> - Mappings:
Namespace Name Mixin selector official a
Lgm;a(Lcom/mojang/brigadier/arguments/IntegerArgumentType;)Lgm$a;
intermediary method_42007
Lnet/minecraft/class_2330;method_42007(Lcom/mojang/brigadier/arguments/IntegerArgumentType;)Lnet/minecraft/class_2330$class_7222;
named getArgumentTypeProperties
Lnet/minecraft/command/argument/serialize/IntegerArgumentSerializer;getArgumentTypeProperties(Lcom/mojang/brigadier/arguments/IntegerArgumentType;)Lnet/minecraft/command/argument/serialize/IntegerArgumentSerializer$Properties;
-