
Hey everybody, it’s Under My Cap, and welcome back to another video! Today, I’m going to show you how to create your very own custom target blocks. As you can see behind me, these are some very basic and rather boring ones. While they are cool for making various redstone contraptions, practicing aiming and shooting at them can get pretty dull. In contrast, my custom target block looks much more interesting! It might seem like there are a lot of commands involved, but in reality, I’ve just combined many simple commands. You don’t have to use the exact commands that I used; I have a variety here just to demonstrate what you can actually achieve with the target block. You’ll also notice that many of the command blocks are not set to chain. I encountered an issue with my chain command blocks, so I had to adjust them to operate manually. If I walk around the corner, you’ll see that all of these blocks require redstone input. When I shoot the target block, you’ll notice it produces a multitude of particles. You can see the flame, and the target block even appears to break, indicating it has been hit. Additionally, you can hear the sound of a zombie breaking a door, which adds to the experience. You may also notice in the action bar at the bottom that it indicates I’m hitting the block—this is a cool feature I added. Now, let me show you how to set this up. You certainly don’t have to keep this unappealing design I created; it looks quite ugly from the side, and you can make it simpler. However, you do need to include these command blocks at the back. In this command block, I just have the block particle effect set up. To create that effect, simply type in the command: `/particle minecraft:block`. This specific particle is unique because you can select various particles from this command. The target is one of the block options. I’ve outlined the block I want the particle effect to appear around, and then specified how far away I want the particles to be in the x, y, and z coordinates. The negative values indicate that it’s moving four blocks in the opposite direction. So, if I wanted to move the particles back by one, they’d appear within the target block, which looks a bit more realistic. Next, I’ve added flame particles as well. As I mentioned earlier, feel free to customize the commands however you like. For instance, if I prefer to use the soul flame instead of the regular flame, it would change to a blue color. This customization is just an idea—let me close those command blocks back up. The next command deals with title action bars. While I haven’t done much with this yet, I plan to create a dedicated video about it. Essentially, when you create a title command, you need to enclose any text in quotation marks to ensure the command recognizes the words. Without them, it won’t function properly. It will work with numbers, though, as it can read numbers without quotation marks. Also, remember that by default, the title takes about five seconds to show, fade, and hide. You can modify the timing within the title command. For example, if you’d like it to fade in for ten seconds, stay for ten seconds, and then fade out, you can do that, adjusting the numbers to your preference. One of the next commands I implemented was to give a little reward whenever the target block is hit. You’ll receive a diamond as a reward, but I disabled it during this demonstration because it makes the screen flicker, which can be distracting. Before we continue, I want to mention that if you find all these command notifications irritating, you can easily remove them with a simple command. Just type in: `/gamerule commandBlockOutput false`. This will prevent command outputs from cluttering your chat, allowing only your inputs to be displayed. Now, let’s talk about the play sound command. This command has evolved tremendously throughout the different versions of Minecraft. For my target block, I’ve set it to play the sound of a zombie attacking a wooden door. You can change it to various sounds. Personally, I also enjoy the sound associated with an iron door, as it gives off the impression that the target block is a more solid material. If you want to learn more about the play sound command, the particle command, and the execute command, I’m going to leave a playlist in the description for you to explore. Each video is roughly 7 to 14 minutes long, giving you a chance to digest the content at your own pace and better understand the language and usage of these commands. The final command I implemented is ‘kill @e[type=arrow]’ to eliminate arrows that hit the target. I didn’t specify this command to target only the arrow that strikes the block, as that’s not feasible at the moment. If I neglected to include this command, I’d end up with rather unpleasant particle effects and a cluttered scene filled with arrows. Now, if you’d like a brief overview of how to build this setup, here it is. Start with wooden planks and spruce stairs to create a large line where your command blocks will be placed. Your target block will go right there. Next, position the stairs upside down, add another block, and continue placing more upside-down stairs along the structure. You should also place a block here and there to support everything. Once that’s done, fill the area with brown stained glass for a nice aesthetic that fits the design. I initially didn’t include this section because I wanted to hide the redstone, but after that, follow up by placing a redstone lamp here, with redstone running behind to connect to the command blocks. If you want to add command blocks, just type in `/give @s command_block`. You can build this as large as you like; the size doesn’t matter, but the more commands you include, the longer the setup will be. You might have three, six, or even nine commands—you’re free to customize that. Place redstone repeaters and a bit of redstone dust to connect everything. Even though I couldn’t get the chain command blocks to work in my current game settings, you could link them together if you prefer. Afterwards, seal everything up with cobblestone and cobblestone slabs for a cleaner appearance—you could always switch materials if desired. Fill the center with more slabs and stairs. That’s how you make this target block mechanism! In my opinion, it looks much nicer when everything is neatly connected. I’d love to know if you enjoy these types of videos. If you did enjoy this one, please leave a like, and don’t forget to subscribe to the channel—that would be greatly appreciated. If you have any suggestions for future videos, please comment them, as I enjoy reading through your ideas. Sometimes, it can be challenging coming up with new concepts. Also, check the description for my social media links, and I hope to see you in the next video. See ya!
This post has used AI to generate and enhance content