
Hey everybody, it’s UnderMyCap, and welcome back to another video! Today, I’m going to show you how to make an awesome TNT bow. The really cool thing about this bow is that you can modify it to do different things; for instance, you can make it spawn enemies when it hits the ground or create lightning. This will be a very quick tutorial, and unfortunately, it only works on Java Edition. I’ll try to make a Bedrock video in the future, but without further ado, let’s get straight into it! First of all, we need to get a command block. To do this, simply type in the command: `/give @s command_block`. Since we are using commands, we want to place the command blocks next to each other, preferably with the two arrows pointing at each other to indicate that the first one leads into the second one. Now, let’s type in the first command. This command will execute at the arrow. So, when the arrow hits the ground, we want it to trigger an action. Type in the following command: `/execute at @e[type=arrow] run`. After this, we will add the NBT, so it should look like this: `nbt={inGround:1b}`. This command tests if the arrow is in the ground, which will allow us to execute the next command. Next, we want it to summon TNT or perform another action when it hits the ground. For my example, I will use the command to summon TNT. Type: `summon tnt ~ ~ ~`, and we won’t need to offset it, so just leave it as is. Make sure to set the command block to “Always Active”. However, there is one issue: if we leave this command running, the arrow will continuously spawn new arrows while it’s in the ground. To prevent this, we want to kill the arrow once it has summoned the TNT. This brings us to the next command block, which is really simple. Type in the following command: `/kill @e[type=minecraft:arrow,nbt={inGround:1b}]`. Make sure to set this command block to “Always Active” and “Repeat.” Now we are done! I’ll quickly test this out by shooting an arrow. You can see that it executed and primed the TNT. You will notice that it shows you that the command was executed, but you can turn this off if you don’t want it by entering the command: `/gamerule commandBlockOutput false`. Now when we do this, you won’t see any command output, which is really cool. As I mentioned earlier, you can use other commands as well. For example, let’s summon lightning! Just type a command that summons lightning, and just like that, we have lightning! It will cause fires since it’s lightning, but you can see that we can do this too. That’s about it! If you enjoyed this video, don’t forget to leave a like and subscribe. I can’t wait to see you in the next video. See you!
This post has used AI to generate and enhance content