Forum

Notifications
Clear all

Instant Bridge Command

CaptainJoe143
(@captainjoe143)
Eminent Member

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

[video=youtube;IfKjAtRhYSA] https://www.youtube.com/watch?v=IfKjAtRhYSA [/video]

Quote
Topic starter Posted : 21/01/2018 11:41 pm
(@cameronthewolf)
Active Member

That's a cool idea! Very nice 🙂

ReplyQuote
Posted : 16/03/2018 11:45 pm
VoicefulBread66
(@voicefulbread66)
Active Member

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.

ReplyQuote
Posted : 17/03/2018 12:16 am
VoicefulBread66
(@voicefulbread66)
Active Member

The fixed command is:
/execute @e[type=snowball] ~ ~ ~ detect ~ ~ ~ air -1 /execute @s ~-1 ~-1 ~-1 fill ~ ~ ~ ~1 ~ ~1 planks

ReplyQuote
Posted : 17/03/2018 12:18 am
CaptainJoe143
(@captainjoe143)
Eminent Member

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

ReplyQuote
Topic starter Posted : 18/03/2018 9:06 pm
VoicefulBread66
(@voicefulbread66)
Active Member

execute @e[type=snowball] ~ ~ ~ testforblock ~ ~ ~ air
Because syntax for detect is
/execute

ReplyQuote
Posted : 19/03/2018 5:51 am
(@koupah)
Active Member

execute @e[type=snowball] ~ ~ ~ testforblock ~ ~ ~ air
Because syntax for detect is
/execute

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.

ReplyQuote
Posted : 22/03/2018 3:04 am
CaptainJoe143
(@captainjoe143)
Eminent Member

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.

ReplyQuote
Topic starter Posted : 18/08/2018 6:58 pm
Share: