I made a grappling hook in Minecraft and put it into a structure. However, I want to use it in a multiplayer map where multiple people may be using it at one time. I believe the way it is currently only works with one player at a time. Can anyone assist me in making it multiplayer friendly? I have already checked with @e[name=unknown] and there isn't anything in the tags that shows who threw it. Here is the link to the structure file: http://www.mediafire.com/download/mieyjdc6uagsa9a/grapplehook.nbt Just put "grapplehook" in a load structure block to load it. If you don't mind, don't reupload or use this structure or contraption in a map or a .nbt file without my permission, thanks. If you figure out how to make it multiplayer-friendly, please respond to a link with the new structure file or just tell me how to do it.

I'll try to briefly explain how it works.

  1. The player casts the fishing rod. The bobber entity can only be detected with [name=unknown].
  2. Once every tick an armor stand is summoned with the grapple tag and is given the same score as Next on gHook. Then 1 is added to Next on gHook.
  3. This repeats until the bobber hits the ground.
  4. Once it touches, it is killed and all the ArmorStands are given the grapple2 tag and Next is set to 1.
  5. The player is teleported to the first ArmorStand (with a gHook score of 1) and that armor stand is killed.
  6. All ArmorStands with the grapple2 tag have 1 subtracted from their score, making the second ArmorStand the first, the 3rd the 2nd, the 4th the 3rd, etc.
  7. Repeats step 5 and 6 until all there are no more ArmorStands with the grapple2 tag.


-If the player does not have the grappling hook in their hand, all ArmorStands with the grapple tag are killed.

-The player's rotation is divided into 56 points in the sky and the ArmorStands are teleported based on the player's rotation of those 56 points.

Thanks and let me know soon!

  • I'm not entirely sure if this is possible. I thought of a solution, but it requires checking if 2 scoreboard objectives are equal.
    – Daniel G
    Commented Jul 27, 2016 at 18:34
  • @DanielG Do you mean two scoreboard values are equal or two scoreboards have the same number of values? Two scoreboard values should be fairly easy using some scoreboard operations or scoreboard testing. Checking if they have the same number of values is impossible Commented Jul 28, 2016 at 22:03
  • I'm wondering if you can check if 2 scoreboard values of different entities are the same
    – Daniel G
    Commented Jul 29, 2016 at 23:42
  • @DanielG You can: /scoreboard players operation player1 dif = player1 stuff /scoreboard players operation player1 dif -= player2 stuff Now, if player1 had a higher stuffscore than player2, his/her dif score will be positive. If it's the other way around, it will be negative. If they were equal, player1's dif score will be zero. Commented Aug 21, 2016 at 4:12
  • What is the entity ID for a rod bobber? I'd like to know... Commented Dec 12, 2016 at 8:07

1 Answer 1


If you are using a server hosting service (such as MC Pro Hosting, Cubed Host, etc.) then there should be an option in server settings or something similar to enable command blocks, make sure they're enabled.

  • he was showing how it works, and all he was asking for was how to make it multiplayer compatible
    – Venya
    Commented Nov 8, 2016 at 17:13

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .