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 named net/minecraft/command/argument/EntityArgumentType$Serializerintermediary net/minecraft/class_2186$class_2187official fg$a
-
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 byteprivate static final byte -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfromPacket(PacketByteBuf packetByteBuf) getArgumentTypeProperties(EntityArgumentType entityArgumentType) voidwriteJson(EntityArgumentType.Serializer.Properties properties, JsonObject jsonObject) voidwritePacket(EntityArgumentType.Serializer.Properties properties, PacketByteBuf packetByteBuf)
-
Field Details
-
SINGLE_FLAG
private static final byte SINGLE_FLAG- See Also:
- Mappings:
Namespace Name Mixin selector named SINGLE_FLAGLnet/minecraft/command/argument/EntityArgumentType$Serializer;SINGLE_FLAG:Bintermediary field_37850Lnet/minecraft/class_2186$class_2187;field_37850:Bofficial aLfg$a;a:B
-
PLAYERS_ONLY_FLAG
private static final byte PLAYERS_ONLY_FLAG- See Also:
- Mappings:
Namespace Name Mixin selector named PLAYERS_ONLY_FLAGLnet/minecraft/command/argument/EntityArgumentType$Serializer;PLAYERS_ONLY_FLAG:Bintermediary field_37851Lnet/minecraft/class_2186$class_2187;field_37851:Bofficial bLfg$a;b:B
-
-
Constructor Details
-
Serializer
public Serializer()
-
-
Method Details
-
writePacket
public void writePacket(EntityArgumentType.Serializer.Properties properties, PacketByteBuf packetByteBuf) - Specified by:
writePacketin interfaceArgumentSerializer<EntityArgumentType,EntityArgumentType.Serializer.Properties> - Mappings:
Namespace Name Mixin selector named writePacketLnet/minecraft/command/argument/EntityArgumentType$Serializer;writePacket(Lnet/minecraft/command/argument/EntityArgumentType$Serializer$Properties;Lnet/minecraft/network/PacketByteBuf;)Vintermediary method_9320Lnet/minecraft/class_2186$class_2187;method_9320(Lnet/minecraft/class_2186$class_2187$class_7171;Lnet/minecraft/class_2540;)Vofficial aLfg$a;a(Lfg$a$a;Lvw;)V
-
fromPacket
- Specified by:
fromPacketin interfaceArgumentSerializer<EntityArgumentType,EntityArgumentType.Serializer.Properties> - Mappings:
Namespace Name Mixin selector named fromPacketLnet/minecraft/command/argument/EntityArgumentType$Serializer;fromPacket(Lnet/minecraft/network/PacketByteBuf;)Lnet/minecraft/command/argument/EntityArgumentType$Serializer$Properties;intermediary method_9321Lnet/minecraft/class_2186$class_2187;method_9321(Lnet/minecraft/class_2540;)Lnet/minecraft/class_2186$class_2187$class_7171;official aLfg$a;a(Lvw;)Lfg$a$a;
-
writeJson
- Specified by:
writeJsonin interfaceArgumentSerializer<EntityArgumentType,EntityArgumentType.Serializer.Properties> - Mappings:
Namespace Name Mixin selector named writeJsonLnet/minecraft/command/argument/EntityArgumentType$Serializer;writeJson(Lnet/minecraft/command/argument/EntityArgumentType$Serializer$Properties;Lcom/google/gson/JsonObject;)Vintermediary method_9319Lnet/minecraft/class_2186$class_2187;method_9319(Lnet/minecraft/class_2186$class_2187$class_7171;Lcom/google/gson/JsonObject;)Vofficial aLfg$a;a(Lfg$a$a;Lcom/google/gson/JsonObject;)V
-
getArgumentTypeProperties
public EntityArgumentType.Serializer.Properties getArgumentTypeProperties(EntityArgumentType entityArgumentType) - Specified by:
getArgumentTypePropertiesin interfaceArgumentSerializer<EntityArgumentType,EntityArgumentType.Serializer.Properties> - Mappings:
Namespace Name Mixin selector named getArgumentTypePropertiesLnet/minecraft/command/argument/EntityArgumentType$Serializer;getArgumentTypeProperties(Lnet/minecraft/command/argument/EntityArgumentType;)Lnet/minecraft/command/argument/EntityArgumentType$Serializer$Properties;intermediary method_41727Lnet/minecraft/class_2186$class_2187;method_41727(Lnet/minecraft/class_2186;)Lnet/minecraft/class_2186$class_2187$class_7171;official aLfg$a;a(Lfg;)Lfg$a$a;
-