-
Method Summary
com.mojang.brigadier.arguments.ArgumentType<?>
com.mojang.brigadier.arguments.ArgumentType<?>
com.mojang.brigadier.arguments.ArgumentType<?>
com.mojang.brigadier.arguments.ArgumentType<?>
-
Method Details
-
entity
com.mojang.brigadier.arguments.ArgumentType<?> entity()
-
entities
com.mojang.brigadier.arguments.ArgumentType<?> entities()
-
player
com.mojang.brigadier.arguments.ArgumentType<?> player()
-
players
com.mojang.brigadier.arguments.ArgumentType<?> players()
-
getEntity
Entity getEntity(com.mojang.brigadier.context.CommandContext<? extends CommandSourceStack> context,
String name)
throws com.mojang.brigadier.exceptions.CommandSyntaxException
- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
getEntities
- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
getOptionalPlayers
- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
getPlayer
Player getPlayer(com.mojang.brigadier.context.CommandContext<? extends CommandSourceStack> context,
String name)
throws com.mojang.brigadier.exceptions.CommandSyntaxException
- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
getPlayers
- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException