net.minecraft.command.argument

public class EntityArgumentType$Serializer

implements ArgumentSerializer<EntityArgumentType, EntityArgumentType$Serializer$Properties>

net.minecraft.commands.arguments.EntityArgument$Info
net.minecraft.class_2186$class_2187
net.minecraft.command.argument.EntityArgumentType$Serializer

Field summary

Modifier and TypeField
private static final byte
FLAG_SINGLE
field_37850
SINGLE_FLAG
private static final byte
FLAG_PLAYERS_ONLY
field_37851
PLAYERS_ONLY_FLAG

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public void
serializeToNetwork(EntityArgument$Info$Template template, FriendlyByteBuf out)
method_9320(class_2186$class_2187$class_7171 arg0, class_2540 arg1)
writePacket(EntityArgumentType$Serializer$Properties arg0, PacketByteBuf arg1)
public EntityArgumentType$Serializer$Properties
deserializeFromNetwork(FriendlyByteBuf in)
method_10005(class_2540 arg0)
fromPacket(PacketByteBuf arg0)
public void
serializeToJson(EntityArgument$Info$Template template, com.google.gson.JsonObject out)
method_9319(class_2186$class_2187$class_7171 arg0, com.google.gson.JsonObject arg1)
writeJson(EntityArgumentType$Serializer$Properties arg0, com.google.gson.JsonObject arg1)
public EntityArgumentType$Serializer$Properties
unpack(EntityArgument argument)
method_41727(class_2186 arg0)
getArgumentTypeProperties(EntityArgumentType arg0)
public ArgumentSerializer$ArgumentTypeProperties
unpack(com.mojang.brigadier.arguments.ArgumentType argument)
method_41726(com.mojang.brigadier.arguments.ArgumentType arg0)
getArgumentTypeProperties(com.mojang.brigadier.arguments.ArgumentType arg0)
public void
serializeToJson(ArgumentTypeInfo$Template template, com.google.gson.JsonObject out)
method_10006(class_2314$class_7217 arg0, com.google.gson.JsonObject arg1)
writeJson(ArgumentSerializer$ArgumentTypeProperties arg0, com.google.gson.JsonObject arg1)
public ArgumentSerializer$ArgumentTypeProperties
deserializeFromNetwork(FriendlyByteBuf in)
method_10005(class_2540 arg0)
fromPacket(PacketByteBuf arg0)
public void
serializeToNetwork(ArgumentTypeInfo$Template template, FriendlyByteBuf out)
method_10007(class_2314$class_7217 arg0, class_2540 arg1)
writePacket(ArgumentSerializer$ArgumentTypeProperties arg0, PacketByteBuf arg1)