Minecraft Command Block "You must specify which player you wish to perform this action on."
//ads -- adsterra.com -- native banner
?>
I am trying to make a "Minecart Elevator" using command blocks. My main block has this command: /tp @e[type=MinecartRideable, r=21] ~ ~+3.3 ~
. When I don't have the , r=21
part, my command works, just without the radius. But, when I add the radius back in, I get this error:
You must specify which player you wish to perform this action on.
How can I fix this?
Best Answer
Just use the nearest player command, /tp @p[r=3] ~ ~+3.3 ~
Pictures about "Minecraft Command Block "You must specify which player you wish to perform this action on.""
How do you allow players to use command blocks in Minecraft?
Enable Command BlocksHow do you get a command block to target a player?
@p (Nearest Player) If a command block has executed the command, the nearest player to the command block will be targeted. If you run a command from the Chat window, the player running the command will be the nearest player.What is the command to target a player in Minecraft?
The center of interest of this post is another feature of Minecraft, and that is the use of commands in the game....How to select targets with Minecraft commands:TargetDescription@pTo target the nearest Player@rTo target a random Player@sTo target the person executing the command (yourself)2 more rowsHow do you send a specific item to a player in Minecraft?
/take [player] [id] (amount) (metadata) Removes the given item from the player's inventory. If it succeeded, it outputs a signal to a comparator. If not, make sure not to remove a part of the items without outputting a signal.E23 - Corridor Cut-scene - Map Making with Sparks
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Kelly, Erik Mclean, Andrea Piacquadio, Jim De Ramos