Minecraft Command Block "You must specify which player you wish to perform this action on."

Minecraft Command Block "You must specify which player you wish to perform this action on." - Black male musicians with wind instrument performing song near parking

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.""

Minecraft Command Block "You must specify which player you wish to perform this action on." - Unrecognizable male skater jumping on skateboard while doing trick on street near concrete block in street in city during training
Minecraft Command Block "You must specify which player you wish to perform this action on." - Woman in Red Tank Top Jumping on Obstacle
Minecraft Command Block "You must specify which player you wish to perform this action on." - Two Men Playing Volleyball Near Red Canopy



How do you allow players to use command blocks in Minecraft?

Enable Command Blocks
  • Head to your multicraft control panel and select the Config Files tab on the left hand side.
  • Select Server Settings which will be at the top of the page.
  • Scroll down the page until you find Enable Command Blocks.
  • Set this setting to Enabled and then click save.


  • How 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 rows

    How 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