Interface ArgumentSerializer<A extends com.mojang.brigadier.arguments.ArgumentType<?>,T extends ArgumentSerializer.ArgumentTypeProperties<A>>
- All Known Implementing Classes:
ConstantArgumentSerializer
,DoubleArgumentSerializer
,EntityArgumentType.Serializer
,FloatArgumentSerializer
,IntegerArgumentSerializer
,LongArgumentSerializer
,RegistryEntryPredicateArgumentType.Serializer
,RegistryEntryReferenceArgumentType.Serializer
,RegistryKeyArgumentType.Serializer
,RegistryPredicateArgumentType.Serializer
,ScoreHolderArgumentType.Serializer
,StringArgumentSerializer
,TimeArgumentType.Serializer
public interface ArgumentSerializer<A extends com.mojang.brigadier.arguments.ArgumentType<?>,T extends ArgumentSerializer.ArgumentTypeProperties<A>>
Serializes an argument type to be sent to the client.
- Mappings:
Namespace Name named net/minecraft/command/argument/serialize/ArgumentSerializer
intermediary net/minecraft/class_2314
official il
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
ArgumentSerializer.ArgumentTypeProperties<A extends com.mojang.brigadier.arguments.ArgumentType<?>>
-
Method Summary
Modifier and TypeMethodDescriptionfromPacket
(PacketByteBuf buf) getArgumentTypeProperties
(A argumentType) void
writeJson
(T properties, JsonObject json) void
writePacket
(T properties, PacketByteBuf buf)
-
Method Details
-
writePacket
- Mappings:
Namespace Name Mixin selector named writePacket
Lnet/minecraft/command/argument/serialize/ArgumentSerializer;writePacket(Lnet/minecraft/command/argument/serialize/ArgumentSerializer$ArgumentTypeProperties;Lnet/minecraft/network/PacketByteBuf;)V
intermediary method_10007
Lnet/minecraft/class_2314;method_10007(Lnet/minecraft/class_2314$class_7217;Lnet/minecraft/class_2540;)V
official a
Lil;a(Lil$a;Lvr;)V
-
fromPacket
- Mappings:
Namespace Name Mixin selector named fromPacket
Lnet/minecraft/command/argument/serialize/ArgumentSerializer;fromPacket(Lnet/minecraft/network/PacketByteBuf;)Lnet/minecraft/command/argument/serialize/ArgumentSerializer$ArgumentTypeProperties;
intermediary method_10005
Lnet/minecraft/class_2314;method_10005(Lnet/minecraft/class_2540;)Lnet/minecraft/class_2314$class_7217;
official b
Lil;b(Lvr;)Lil$a;
-
writeJson
- Mappings:
Namespace Name Mixin selector named writeJson
Lnet/minecraft/command/argument/serialize/ArgumentSerializer;writeJson(Lnet/minecraft/command/argument/serialize/ArgumentSerializer$ArgumentTypeProperties;Lcom/google/gson/JsonObject;)V
intermediary method_10006
Lnet/minecraft/class_2314;method_10006(Lnet/minecraft/class_2314$class_7217;Lcom/google/gson/JsonObject;)V
official a
Lil;a(Lil$a;Lcom/google/gson/JsonObject;)V
-
getArgumentTypeProperties
- Mappings:
Namespace Name Mixin selector named getArgumentTypeProperties
Lnet/minecraft/command/argument/serialize/ArgumentSerializer;getArgumentTypeProperties(Lcom/mojang/brigadier/arguments/ArgumentType;)Lnet/minecraft/command/argument/serialize/ArgumentSerializer$ArgumentTypeProperties;
intermediary method_41726
Lnet/minecraft/class_2314;method_41726(Lcom/mojang/brigadier/arguments/ArgumentType;)Lnet/minecraft/class_2314$class_7217;
official a
Lil;a(Lcom/mojang/brigadier/arguments/ArgumentType;)Lil$a;
-