Hello and welcome back to another command block tutorial I hope you guys are feeling energized cuz today we are making Mana magic Missile magic Missile magic Missile magic Missile magic Missile magic Missile I’m out of Mana I need a as you guys can kind of see on the bottom of my Screen here I have these like green zeros at the bottom of my screen that is actually the representation of the Mana that I have and I have a little demonstration where basically every time I sneak I go invisible and it drains some mana and I’ll even remove my sword and then if I Run out of Mana I run out of invisibility now there’s all kinds of things you can do you could have spells you could have little energy drained things like I just represented there there’s all kinds of things that you could do with Mana I just have like a very simple demonstration uh because This is more something that I think you guys should Implement with your own worlds similar to the status effect videos I made a couple of weeks ago this isn’t really necessarily just a thing in and of itself this is something to kind of enhance and increase some of the Things that you guys are doing with your own Creations but anyways let’s get right into it to start off we are going to be using a scoreboard and I have this little scoreboard this is just type this in chat you put it in impulse command you only need to type this command out Once if you guys have never used scoreboards before and you don’t really know how to I do have a full tutorial on that and I highly recommend you check out that video before doing more stuff with command blocks cuz it might be difficult let’s get into the actual Commands that we have going on here so to start out we just have this command on a two tick delay that is important this is what’s going to be giving me my Mana back after I’m done using it so basically we’re saying as long as my Mana is less than 99 go ahead and and give me one more mana and just so you guys can get a better idea of what’s actually happening I’m going to turn the display on real quick so you can see I’m at 100 Mana right now and whenever I sneak and turn Invisible it’s going to slowly be decreasing that number and because I’m standing up but I’m not at 100 it’s going to start increasing as soon as I’m standing up now of course you can use your Mana for more than just detecting sneaking you can do it with all kinds of other Things I’ve Stone to make all kinds of different things happen it doesn’t just have to be sneaking to turn invisible like just keep that in mind this is just the demonstration that I’m using so you guys can get an idea on how to use it but you can see I have sneak to Decrease and then it’s going up so what we’re actually doing in order to change the level of the Mana that we have right here is we’re going over here and we’re saying basically if a player has over five mana and and then we’re doing some sneak detection here and if you have not Seen sneak detection I have a full tutorial on that as well it’s a separate thing but basically if the player is sneaking and they have more than five Mana go ahead and give them invisibility then we’re basically going over here to this command this is also On a two tick delay mind you that is important all the other commands are on a zero tick delay just the one that makes Mana go up and down or not this is a very similar command if the player has more than five mana and they’re sneaking Go ahead and remove five Mana from them and that’s it that makes the Mana go up and down now we have two other commands here that are kind of specific to the invisibility this one is going to cancel it as soon as you stand up instead of The sneak detect that we had unless here now we’re using if so that’s just going to do the reverse if you’ve not used the excute command once again I have a full tutorial on that I imagine for most of you you guys probably a little bit of Experience with commands but if not I Do It full tutorials on these things anyways what we have here is we’re detecting if the player stands up immediately make the invisibility go away and we’re doing that if youve never seen this by giving the invisibility a duration of zero that’s how we’re making The invisibility go away similarly if the player has less than five Mana so four lower Mana then we’re just going to take the invisibility away as well and it’s pretty simple uh realist basically if you’ve done anything with scoreboards you might have done something similar to this so The other part that we want to see if I actually take away the scoreboard Display and this is just kind of how the player would see it if they’re normally playing on one of your worlds we see this bar at the bottom and that kind of represents how much energy we have so even though we don’t know the exact number which is kind of good cuz it Looks a little bit nicer uh we kind of have an idea of how much energy we actually have so what we’re doing here is we have a bunch of title scoreboards that are just going to be displaying something based on whatever scoreboard I have so As you can see here if I have 0 to 19 Mana it’s just going to give me five red zeros so if I run out of Mana you can see what that looks like it means I’m out of Mana like it’s pretty obvious what’s going on here and then as soon as I un sneak you’ll see that it’s going to start slowly building back up it’s not necessarily the most accurate cuz obviously we could display the number this is kind of make it more graphical so you kind of have an idea of what’s Happening without always telling the player every little Detail next up we have a very similar command in fact it’s exactly the same one the only difference here is that instead of all red zeros we have one green one with the multiple red ones this is for when the Mana is 20 to 39 and additionally if you guys haven’t Seen these color symbols that’s how we differentiating now the other cool thing about the system is if you wanted to make it zeros you could could if I’m going to keep it zeros for this sake but if you want to make it zeros you could make it um parentheses or brackets you Can make it anything you want and you could also make it so it’s a lot bigger of a bar for instance I only have five zeros here I could maybe make it 10 zeros and then make this number like half as big so make it only 10 to like Uh 19 or something like that so you can customize your bar to basically fit whatever your needs are I did a very small bar just using zeros because it’s simpler to explain for the tutorial but you guys can be customizing this at as many section as you want but just know You’ll need a separate command block for every different way that your uh Mana bar can be displayed so if you have 10 segments you’re going to need 11 command blocks if there’s 20 different segments then you’re going to need 21 different command blocks I did Only five so that way it’s short for the tutorial but if you guys what more absolutely do more in fact I recommend it for most situations cuz quite frankly this is a little bit too small for the majority of situations next up we’re doing the same Thing we’re just counting up in the Mana and then we’re just counting up in the number of colored greens versus the colored of Reds Additionally you could change the colors if you wanted to make it for instance uh you can make it blue what that blue you can make it blue and like I think this is gray you can make purple or whatever you can change the colors to be anything that you really want uh which is quite nice cuz then you can kind of customize it to be fitting with whatever project you might be working on so I’m just going to kind of go Through the last few just so you guys can see them all but I’m not really going to explain it cuz I think I’ve already described what all is functioning here and yeah really the main goal of this video is just for your guys’ worlds for your projects if you have special Unique abilities especially things that aren’t consumables things that can be used on repeat uh Mana or energy or whatever you want to call it is a really good way to add levels of Dynamics to your worlds for instance you could have more powerful abilities drain more Mana Uh it’s just a really good way to enhance the level of combat or abilities or whatever you have going on in your world anyways I hope you guys found this video to be useful uh if you guys have any questions feel free to drop them in The comments but as I say every video have highly recommend joining our Discord instead you’re going to get an answer probably better and there’s some things I can’t explain during the comment section uh there’s a lot of good people who are going to help you and yeah hope you guys enjoyed and bye Video Information
This video, titled ‘Add Custom Magic Mana to Your Command Creations! (Minecraft Bedrock Tutorial)’, was uploaded by Guppyduck on 2023-11-03 19:51:35. It has garnered 1083 views and 76 likes. The duration of the video is 00:08:44 or 524 seconds.
This video will teach you how to enhance your custom abilities and powers in your own command block projects by adding mana and energy!
If you’re interested in Minecraft Bedrock commands, check out my discord! It’s a great place to find other people who love commands and get help from others! Discord: https://discord.gg/ykjsnwAfFH
Join this channel to get early access to my videos: https://www.youtube.com/channel/UCVWAWVotPjy39hPZMKtVKRg/join