Close

Results 1 to 7 of 7
  1. #1

    Instant Bridge Command

    Really self explanatory.

    Command:
    1. /execute @e[type=snowball] ~ ~ ~ detect ~ ~ ~ air
    2. /execute @e[type=snowball] ~-1 ~-1 ~-1 fill ~ ~ ~ ~1 ~ ~1 planks

    Instructional Video


  2. #2
    That's a cool idea! Very nice

  3. #3

    You only need one command

    Your commands, if the first is successful, the second will run for ALL snowballs. You should do:
    /execute @e[type=snowball] ~ ~ ~ detect ~ ~ ~ air -1 /execute @s ~-1 ~-1 ~-1 fill ~ ~ ~ ~1 ~ ~1 planks
    The -1 after the detect is so that it will detect any data value of air.
    Last edited by VoicefulBread66; 03-17-2018 at 03:21 AM.

  4. #4

    IK

    Its supposed to execute on all snowballs that are a thrown entity.

  5. #5

    Then you should do...

    execute @e[type=snowball] ~ ~ ~ testforblock ~ ~ ~ air
    Because syntax for detect is
    /execute <target: selector> <position: x y z> <detect> <position: x y z> <block> <data> <command: command>
    Last edited by VoicefulBread66; 03-19-2018 at 09:03 AM.

  6. #6
    Junior Member
    Join Date
    Feb 2018
    Posts
    16
    Quote Originally Posted by VoicefulBread66 View Post
    execute @e[type=snowball] ~ ~ ~ testforblock ~ ~ ~ air
    Because syntax for detect is
    /execute <target: selector> <position: x y z> <detect> <position: x y z> <block> <data> <command: command>
    Was just about to correct him but I saw you already had. Nice to see someone else who knows the proper efficient way to use command blocks. You can tell OP doesn't as he tried disputing that it is meant to execute for all snowballs despite the fact that if that was the case then the first command wouldn't be there to begin with.
    Java Developer
    Minecraft Java Edition Mod maker
    Minecraft Bedrock Edition Map maker
    YouTuber

  7. #7

    I agree

    Quote Originally Posted by Koupah View Post
    Was just about to correct him but I saw you already had. Nice to see someone else who knows the proper efficient way to use command blocks. You can tell OP doesn't as he tried disputing that it is meant to execute for all snowballs despite the fact that if that was the case then the first command wouldn't be there to begin with.
    My knowledge of commands has come quite a far way since i posted this.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •