Package net.minecraft.commands.arguments
Class EntityArgument.Info
java.lang.Object
net.minecraft.commands.arguments.EntityArgument.Info
- All Implemented Interfaces:
ArgumentTypeInfo<EntityArgument,
EntityArgument.Info.Template>
- Enclosing class:
- EntityArgument
public static class EntityArgument.Info
extends Object
implements ArgumentTypeInfo<EntityArgument,EntityArgument.Info.Template>
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final byte
private static final byte
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondeserializeFromNetwork
(FriendlyByteBuf p_231282_) void
serializeToJson
(EntityArgument.Info.Template p_231268_, com.google.gson.JsonObject p_231269_) void
serializeToNetwork
(EntityArgument.Info.Template p_231271_, FriendlyByteBuf p_231272_) unpack
(EntityArgument p_231274_)
-
Field Details
-
FLAG_SINGLE
private static final byte FLAG_SINGLE- See Also:
-
FLAG_PLAYERS_ONLY
private static final byte FLAG_PLAYERS_ONLY- See Also:
-
-
Constructor Details
-
Info
public Info()
-
-
Method Details
-
serializeToNetwork
- Specified by:
serializeToNetwork
in interfaceArgumentTypeInfo<EntityArgument,
EntityArgument.Info.Template>
-
deserializeFromNetwork
- Specified by:
deserializeFromNetwork
in interfaceArgumentTypeInfo<EntityArgument,
EntityArgument.Info.Template>
-
serializeToJson
public void serializeToJson(EntityArgument.Info.Template p_231268_, com.google.gson.JsonObject p_231269_) - Specified by:
serializeToJson
in interfaceArgumentTypeInfo<EntityArgument,
EntityArgument.Info.Template>
-
unpack
- Specified by:
unpack
in interfaceArgumentTypeInfo<EntityArgument,
EntityArgument.Info.Template>
-