- 1,909 views • 1 today
- 49 downloads • 0 today
57
So, I just figured out how to use the /execute. VERY awesome. I made this thing that can track the path of your arrow! so, now you can more effectively shoot arrows at targets.
-Horwitz1011
-Horwitz1011
Commands Used
For the Bats, I used /execute @e[type=Arrow] ~ ~ ~ summon Bat ~ ~ ~-2 {NoAI:true} The NoAI NBT makes the mob, in this case a bat, have very little AI, causing the mob to float in the air.
The reset button just runs a simple /kill @e[type=!Player] The !Player kills everything EXCEPT the player, it has come in handy many times. I teleport the mobs far away right before the command, so you dont see the death particles.
The hide button runs /tp @e[type=Bat,r=75] ~ ~100 ~ This teleports all the bats 100 blocks above their position. The type=Bat is specifying that only bats will be teleported away, not the player. The r=75 is only running the command in a radius of 75, so you can not hide the bats twice.
The show button runs /tp @e[type=Bat] ~ ~-100 ~ This is teleporting bats 100 blocks below their position.
The "Look at Your Shot" button runs a /gamemode 3 @a. It is attached to a moderately long timer. At the end of the timer, it runs /tp @a 324 17 -454 then runs /gamemode 2 @a. This allows players to look if they made the shot, or if they missed.
The pressure plate by the gates runs three commands in fast succession. First, /clear @a bow. This takes away all bows in every player's inventory. Then, /give @a arrow 64. This gives all players a stack of arrows. Lastly, /give @a bow. This gives the player back a single bow. I gave the player(s) back a bow, so they will always have only one bow, with as many arrows as they would like!
The last command run is attached behind every redstone lamp. It is a simple /kill @e[type=Arrow,r=4] It is killing all arrows in a radius of 4, so the lamps do not stay light up.
The reset button just runs a simple /kill @e[type=!Player] The !Player kills everything EXCEPT the player, it has come in handy many times. I teleport the mobs far away right before the command, so you dont see the death particles.
The hide button runs /tp @e[type=Bat,r=75] ~ ~100 ~ This teleports all the bats 100 blocks above their position. The type=Bat is specifying that only bats will be teleported away, not the player. The r=75 is only running the command in a radius of 75, so you can not hide the bats twice.
The show button runs /tp @e[type=Bat] ~ ~-100 ~ This is teleporting bats 100 blocks below their position.
The "Look at Your Shot" button runs a /gamemode 3 @a. It is attached to a moderately long timer. At the end of the timer, it runs /tp @a 324 17 -454 then runs /gamemode 2 @a. This allows players to look if they made the shot, or if they missed.
The pressure plate by the gates runs three commands in fast succession. First, /clear @a bow. This takes away all bows in every player's inventory. Then, /give @a arrow 64. This gives all players a stack of arrows. Lastly, /give @a bow. This gives the player back a single bow. I gave the player(s) back a bow, so they will always have only one bow, with as many arrows as they would like!
The last command run is attached behind every redstone lamp. It is a simple /kill @e[type=Arrow,r=4] It is killing all arrows in a radius of 4, so the lamps do not stay light up.
| Progress | 100% complete |
| Tags |
2 Update Logs
Update #2 : by Horwitz1011 01/15/2015 3:57:36 pmJanuary 15, 2015 @ 8:57 pm UTC
Fixed some bugs
LOAD MORE LOGS
3207082
2

Have something to say?
Something almost twice as awesome as this is coming up in the near future ^.^