Package net.minecraft.command.argument
Class EntityArgumentType.Serializer
java.lang.Object
net.minecraft.command.argument.EntityArgumentType.Serializer
- All Implemented Interfaces:
ArgumentSerializer<EntityArgumentType,
EntityArgumentType.Serializer.Properties>
- Enclosing class:
EntityArgumentType
public static class EntityArgumentType.Serializer
extends Object
implements ArgumentSerializer<EntityArgumentType,EntityArgumentType.Serializer.Properties>
- Mappings:
Namespace Name official eb$a
intermediary net/minecraft/class_2186$class_2187
named net/minecraft/command/argument/EntityArgumentType$Serializer
-
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<?>>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final byte
private static final byte
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfromPacket
(PacketByteBuf packetByteBuf) getArgumentTypeProperties
(EntityArgumentType entityArgumentType) void
writeJson
(EntityArgumentType.Serializer.Properties properties, JsonObject jsonObject) void
writePacket
(EntityArgumentType.Serializer.Properties properties, PacketByteBuf packetByteBuf)
-
Field Details
-
SINGLE_FLAG
private static final byte SINGLE_FLAG- See Also:
- Mappings:
Namespace Name Mixin selector official a
Leb$a;a:B
intermediary field_37850
Lnet/minecraft/class_2186$class_2187;field_37850:B
named SINGLE_FLAG
Lnet/minecraft/command/argument/EntityArgumentType$Serializer;SINGLE_FLAG:B
-
PLAYERS_ONLY_FLAG
private static final byte PLAYERS_ONLY_FLAG- See Also:
- Mappings:
Namespace Name Mixin selector official b
Leb$a;b:B
intermediary field_37851
Lnet/minecraft/class_2186$class_2187;field_37851:B
named PLAYERS_ONLY_FLAG
Lnet/minecraft/command/argument/EntityArgumentType$Serializer;PLAYERS_ONLY_FLAG:B
-
-
Constructor Details
-
Serializer
public Serializer()
-
-
Method Details
-
writePacket
public void writePacket(EntityArgumentType.Serializer.Properties properties, PacketByteBuf packetByteBuf) - Specified by:
writePacket
in interfaceArgumentSerializer<EntityArgumentType,
EntityArgumentType.Serializer.Properties> - Mappings:
Namespace Name Mixin selector official a
Leb$a;a(Leb$a$a;Lqx;)V
intermediary method_9320
Lnet/minecraft/class_2186$class_2187;method_9320(Lnet/minecraft/class_2186$class_2187$class_7171;Lnet/minecraft/class_2540;)V
named writePacket
Lnet/minecraft/command/argument/EntityArgumentType$Serializer;writePacket(Lnet/minecraft/command/argument/EntityArgumentType$Serializer$Properties;Lnet/minecraft/network/PacketByteBuf;)V
-
fromPacket
- Specified by:
fromPacket
in interfaceArgumentSerializer<EntityArgumentType,
EntityArgumentType.Serializer.Properties> - Mappings:
Namespace Name Mixin selector official a
Leb$a;a(Lqx;)Leb$a$a;
intermediary method_9321
Lnet/minecraft/class_2186$class_2187;method_9321(Lnet/minecraft/class_2540;)Lnet/minecraft/class_2186$class_2187$class_7171;
named fromPacket
Lnet/minecraft/command/argument/EntityArgumentType$Serializer;fromPacket(Lnet/minecraft/network/PacketByteBuf;)Lnet/minecraft/command/argument/EntityArgumentType$Serializer$Properties;
-
writeJson
- Specified by:
writeJson
in interfaceArgumentSerializer<EntityArgumentType,
EntityArgumentType.Serializer.Properties> - Mappings:
Namespace Name Mixin selector official a
Leb$a;a(Leb$a$a;Lcom/google/gson/JsonObject;)V
intermediary method_9319
Lnet/minecraft/class_2186$class_2187;method_9319(Lnet/minecraft/class_2186$class_2187$class_7171;Lcom/google/gson/JsonObject;)V
named writeJson
Lnet/minecraft/command/argument/EntityArgumentType$Serializer;writeJson(Lnet/minecraft/command/argument/EntityArgumentType$Serializer$Properties;Lcom/google/gson/JsonObject;)V
-
getArgumentTypeProperties
public EntityArgumentType.Serializer.Properties getArgumentTypeProperties(EntityArgumentType entityArgumentType) - Specified by:
getArgumentTypeProperties
in interfaceArgumentSerializer<EntityArgumentType,
EntityArgumentType.Serializer.Properties> - Mappings:
Namespace Name Mixin selector official a
Leb$a;a(Leb;)Leb$a$a;
intermediary method_41727
Lnet/minecraft/class_2186$class_2187;method_41727(Lnet/minecraft/class_2186;)Lnet/minecraft/class_2186$class_2187$class_7171;
named getArgumentTypeProperties
Lnet/minecraft/command/argument/EntityArgumentType$Serializer;getArgumentTypeProperties(Lnet/minecraft/command/argument/EntityArgumentType;)Lnet/minecraft/command/argument/EntityArgumentType$Serializer$Properties;
-