
Today, I’m going to show you how to use commands to get items in Minecraft. So without further ado, let’s get straight into this. In the first part of this video, I’ll be showing you how to use commands to get items, and in the second part, I’ll show you how to use command blocks to give players items. First of all, let’s open the command terminal by hitting the slash key. What you want to do is type in “/give” followed by a space. Once you do this, you should be able to see a whole bunch of options. Now, we’re going to use player names, but if you want to give an item to all players, you can use “@a.” If you want to give an item to all entities, you can use “@e,” but I don’t think that works very well. You can use “@p” for the nearest player, “@r” for a random player, and “@s” for yourself. For now, I’m just going to type in “under my cap.” After you type your name, press space, and then you can select any item in the game that you want to give. I’m going to choose an “AIA boat” just because it’s at the top. As you can see, it’s been added to my inventory. Now, going back to the command, if you want to give a certain value to a player, all you need to do is add a space and then put in the value. You can see I’ve just given myself 10. That’s about it for the command. Now, I’m going to use the give command to give myself a command block. So, “/give @s command_block.” You can actually use command blocks to run commands automatically without having to use the terminal. If we put in the give command again, I’m just going to type this back in. Let’s make it so that it gives everyone a command block. You can see that when I press the command block, I receive another command block. The awesome thing about this is that you can make it automated on a redstone clock to constantly give players a certain block. You can also add extra requirements in the give command to ensure that specific players receive specific items. For example, I’ve made it so that any player named “under my cap” will be given the command block. You could also set this up by type. That’s about it! If you enjoyed the video, don’t forget to leave a like and subscribe to UnderMyCap. I can’t wait to see you in the next video!
This post has used AI to generate and enhance content and uses ads to maintain funding for the site