Interface EntityArgument
Deprecated, for removal: This API element is subject to removal in a future version.
-
Method Summary
Modifier and TypeMethodDescriptiondefault com.mojang.brigadier.arguments.ArgumentType<EntitySelectorArgumentResolver> entities()Deprecated, for removal: This API element is subject to removal in a future version.default com.mojang.brigadier.arguments.ArgumentType<EntitySelectorArgumentResolver> entity()Deprecated, for removal: This API element is subject to removal in a future version.default Collection<? extends Entity> getEntities(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) Deprecated, for removal: This API element is subject to removal in a future version.default EntitygetEntity(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) Deprecated, for removal: This API element is subject to removal in a future version.default Collection<Player> getOptionalPlayers(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) Deprecated, for removal: This API element is subject to removal in a future version.default PlayergetPlayer(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) Deprecated, for removal: This API element is subject to removal in a future version.default Collection<Player> getPlayers(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) Deprecated, for removal: This API element is subject to removal in a future version.default com.mojang.brigadier.arguments.ArgumentType<PlayerSelectorArgumentResolver> player()Deprecated, for removal: This API element is subject to removal in a future version.default com.mojang.brigadier.arguments.ArgumentType<PlayerSelectorArgumentResolver> players()Deprecated, for removal: This API element is subject to removal in a future version.
-
Method Details
-
entity
Deprecated, for removal: This API element is subject to removal in a future version. -
entities
Deprecated, for removal: This API element is subject to removal in a future version. -
player
Deprecated, for removal: This API element is subject to removal in a future version. -
players
Deprecated, for removal: This API element is subject to removal in a future version. -
getEntity
default Entity getEntity(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) throws com.mojang.brigadier.exceptions.CommandSyntaxException Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
getEntities
default Collection<? extends Entity> getEntities(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) throws com.mojang.brigadier.exceptions.CommandSyntaxException Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
getOptionalPlayers
default Collection<Player> getOptionalPlayers(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) throws com.mojang.brigadier.exceptions.CommandSyntaxException Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
getPlayer
default Player getPlayer(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) throws com.mojang.brigadier.exceptions.CommandSyntaxException Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
getPlayers
default Collection<Player> getPlayers(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) throws com.mojang.brigadier.exceptions.CommandSyntaxException Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-