
Hey everybody, it’s Under My Cap, and welcome back to another video! Today, I’m going to show you something very cool. Essentially, I’m going to demonstrate how to customize a mob to behave in various ways. Specifically, I’ll show you how to make a mob have no AI and how to make it silent. So, without further ado, let’s get straight into this! The first thing you want to do is get a command block. You may already know this, but if not, the command is: `/give @s command_block`. This command will give you a command block because @s refers to yourself. Now, let’s place this command block here and get to the commands. The reason I’m using a command block is so that I can summon the mob multiple times. If I were to use the command line, which most people typically do, I would have to type the whole command out again. Why does it always rain when I do this video? Let’s get started! The first command I’m going to show you is how to make a mob have no AI. This means that when you spawn the mob, it won’t move and won’t harm any players; it simply won’t do anything because it has no AI. You can still hit it, kill it, and perform the same actions as usual; it just won’t respond because there’s no AI. To do this, type in `/summon creeper ~ ~3 ~`. This command spawns a creeper three blocks above the command block. Next, you will need to add some additional information. Type in the squiggly brackets `{NoAI:1b}` after the creeper command. So the full command should look like this: `/summon creeper ~ ~3 ~ {NoAI:1b}`. Once you input this command, just press the button. As you’ll notice, we will have a creeper. Oops, I forgot to mention that it has no gravity! You’ll see that it’s just a completely frozen creeper. You can hit it and do everything else, but it won’t move or do anything else because it doesn’t have its AI. It will still drop items, which is useful for making creeper farms, although some may consider that cheating. So, you can still kill it and it will drop its experience points and gunpowder. That’s the first command: no AI. Let’s try it with other mobs. For instance, let’s summon a villager. Just press the button, and you’ll notice that it also has no AI. It can still wobble its head, but you won’t be able to trade with it or interact as normal. This mechanic works with every mob, including the Ender Dragon and the Wither; they won’t do anything and won’t attack the player. Now, onto the next cool command! We’re going to make a mob silent. This can be a fun prank for your friends. For instance, I’ve often used silent creepers. You can make them silent, and when they walk up to someone, they just explode without making any noise; it’s really funny! To make a mob silent, type in the command: `/summon minecraft:villager ~ ~3 ~ {Silent:1b}`. In this command, “Silent:1b” indicates that the mob will be silent. The “1” means true, while “0” means false. So if you set it to “0”, the mob will not be silent, but if it is “1”, it will be silent. Let’s summon the villager and see if we can hear anything. *Turns up volume* You’ll notice the villager isn’t making any noise. If I hit it, you will still hear the hit noise, but you won’t hear the villager making hurt sounds when I hit it. I’ll also try this with a creeper because they are particularly effective for this trick. Notice the creeper doesn’t make any noise. Now, I’m going to switch to survival mode and run away. The creeper will follow me, but when it’s about to explode, you will realize you can’t hear it approach. It makes the explosion noise, but you can’t hear the creeper itself, which is a great way to prank your friends. If you enjoyed this video, please leave a like and subscribe to the channel if you’re new! That would be greatly appreciated. If you liked the content I made today, make sure to comment below so I can create more NBT tag videos in the future. This was just a simple little tutorial on how to make entities silent and have no AI, which is really cool. Thank you so much for watching, and I hope to see you in the next video. See ya!
This post has used AI to generate and enhance content