Hey guys Clem wolf here and I’m back today I know it’s been about a week but I’ve been doing a lot of work I got a lot of stuff to do and I’ve been kind of just working on some basis for the server and I’ve had a lot of people come In and help and I am thankful for their help we got a lot done I kind of worked on the tutorial and I won’t be going over any of this stuff you can no problem I may go over it later but you’ll probably be able to see it Yourself when you get on the server over here is where the first quest will be but today we’re not going over that well we’re gonna be going over today is what some people requested is how to actually make the custom spells so I have a bunch Of custom spells here and I they do a lot of stuff like for example I have the freeze drop the spell does a freeze spell so in my other videos I showed off how to do them but I didn’t exactly explain how to do them and how all this Stuff works so today I’m going to be going over how to make a spell and then I think in another episode I’ll be going over how to make a quick spell and then in another episode I’ll be going over how to run like tons of spells use it Off of mana and stuff like that because I don’t want to make these too long of a tutorial and I am trying to save some time so I can work on the server and work on some other things so let’s get started so first off you’re Gonna want to create a new world I’m going to call this one spells make it creative superflat whatever you like to do I like to use the redstone ready and create it so now that we’re in the world what you’re gonna do is gonna give yourself a command block I’m assuming That most people watching this video are going to know some basics of command blocks and red stoning it’s kind of important I can make some more simple I’ll probably end up doing some more simple redstone and command blocking basic tutorials in the future but I just don’t have that much time now I’ll Probably do that in the next couple months I’ll probably do a series but so anyway so what you’re gonna want to do is you’re gonna give yourself the command block and you want to create repeater command block and this only really the spells only really work in 1.9 well you can do it in other other one point eight point eight and stuff like that but doesn’t run as smoothly because one point nine has these new command blocks and they run 20 ticks a second and they’re very very efficient they don’t have a lot of lag so first You’re going to want to make a new scoreboard and you’re going to make it so for this tutorial I’ll be making a fireball shooter so I’m going to call this fireball and make it a dummy scoreboard so now you have that so this is what you’re going to want to do for Most of your spells you’re gonna want to do scoreboard players remove a score on your fireball underscore min equals one fireball one so I was just gonna remove their fireball score as they go and it’ll do that 20 times a second so I’m gonna be going through typing these Pretty quickly so you can pause at any time just to kind of see what I’m doing so next you’re going to make it a chain make it always active so for pretty much all these command blocks you’re gonna want always active so next in the list we’re going to have MC stacker MC Staggered up in BIM accom and if you don’t already know this it’s very useful so this is going to be a fireball and we’re gonna just shoot those small fireballs so we’re going to get we’re going to scroll down to where it says small fireball and give it a tag which Is a new thing and this is what kind of makes it useful you can give it a tag or you can name it I’m probably gonna use a tag and call it fly your ball there we go life we don’t need it you don’t really mess with this so now you have to Do the motion the motion so entity motion you’re gonna want to give it one for each of these so 0 0 0 so this is gonna summon a fireball that stays still and you’re gonna want to specify 1.9 snapshot because it’s different so you’re creating a fire bolt that stays Still so you’re gonna put that in there so now you’re going to 1 to see that let me do this there you go ok you don’t want to summon that so such kill I type equals small fireball there we go so now if you want the player to say Specified directions that is going to be what we’re going to be going over now so you’re gonna create a new scoreboard called facing and make it a dummy scoreboard okay so this is how you’re gonna determine where the players facing so you’re going to put a new command block Here each redstone and then done so I will be back I need to get all these commands because they’re very specific okay so I’m back and I got all the directional commands here in this text document so these kind of tests for the players looking direction in the Y and The y axis is actually left to right it’s not up and down up and down is either the X to the Z oh I think it’s leave its exit yeah the x axis is up and down but this is the y axis turning left and right and it’s setting like a score Here if you look in the if you look in the first thing and where it says towards negative X I’ll circle it but there you go it says towards negative X and it’s the one on the left and if I turn it’s changing right so the directional Commands are going to alter the players score of facing based on with what parameters they’re in so the first one is going to be this this is facing of one so I’m going to put that in there and you make this capitalist I’ll make it a lowercase just scoreboard objectives or maybe facing We’re objectives and facing dummy they’re you okay so this is going to set my score so scoreboard objectives at the place I bar facing so now if I look in the right way there you go okay so you’re gonna want to do if this is a new World you’re gonna want to turn off command block output set that game roll to false because they don’t spam you so my facing is one when I’m facing in a specific direction it won’t really look good until you have them all in there so these are going to be in the description And you can just copy them and paste them that’s easy these are very essential to anything that you’re doing that’s like with the spells because most spells do rely on what direction you’re facing I use this in pretty much every map that has something that shoots for Example I did this in one of my most recent 60-minute maps it was a old rifle and this only has eight directions but it’s pretty accurate and I find it pretty useful but the but you can you can definitely do more you just have to Divide most of these by like to make it more specific subtract a couple off whatever it’s kind of complicated but you can make it into 16 or you can make it 32 if you’re willing to dedicate that much time anyway so now you can see when I’m facing here I have a score of 1 facing here 2 3 4 5 6 7 8 there you go so it’s working it’s been 360 works sweet so now you know where the player is facing with that what can you do well you can types in the command slash Execute at a was score on to score facing underscore min equals 1 comma score underscore facing equals 1 then what you’re gonna gonna do and it’s pretty easy if you just type this one before score underscore fire ball underscore min equals and here’s where you want to do two and I’ll explain that Later but this is so that if you make it one it’ll actually shoot two fireballs and maybe that’s what you want maybe it’s not so now if I have a fireball score so now I can make this active because it won’t mess up so now we’re Going to hit f3 and we’re going to look it block coordinates so as I move towards the direction of one we can see that my Z coordinate is increasing therefore we need to do the direction with a Z coordinate of 1 and we’re going to have To summon it one block in front of me that way I don’t get hit and there so now it’ll shoot on my face so scoreboard players set a P fireball to three okay so this actually needs to be one there we go so it’s a lot of trial and error This fireball is kind of messed up so I’ll just kill it there we go okay so we’ll just set my score to two right now and there we go so I think it’s a little too fast so I’m gonna change this to 0.5 because it’s kinda hard to see okay so These are definitely buggy I don’t know why you should you should be fine when you’re playing the actual thing but it should be fine so it may just be a glitch with fireballs in the newest update I don’t know what it is but it will work nonetheless so you’re gonna Copy that come in and you’re gonna put it you can copy the command block and you put it one two three four five six seven now you have seven command blocks okay so you’re going to want to now alter their facing like so and I’ll be Back when I altered them all okay so I altered all the command blocks they’re all here and now it’s just a thing of just grinding it out you got a C so I’m at facing two I’m going negative on the x-coordinate and positive on the z Coordinate so over here you just add a point five and when they’re go diagonal they typically go faster than normal by a little bit so I like doing say 0.35 instead of 0.5 that way it works better so then I can summon it one in one so That a one and negative one so that doesn’t hit me and then facing three that’s just negative on that so now I’m going to go into time-lapse mode because this is well this will take a while so I will be going into time-lapse mode you So we’re back and now we can test it by placing this command block down and putting the set fire that way we’re not to keep doing it over and over and now we can just place this and here we go so we have seven okay so let us set this Command block right here – there we go the small fireballs are lagging so we have seven eight so as you can see that kind of went and we have one and we have three if – there you go three then we also have four and we have five and we Have six and back to seven so as you can see they all work so now all that is so that’s basically the whole spell and now all you have to do is create a new scoreboard scoreboard objectives add time dummy and I like this to make this little addition because it helps with Most of if you’re making a lot of spells you don’t want like fireballs sitting randomly about so we’re going to do scoreboard players add ie type equals small fireball time one so now it’s going to add time to all of them then it’s we’re going to do slash kill ie Type equals small fire all I’m a school wonder scorer time underscore min equals and you can set this to whatever you want if I if you set it to 48 or less for two seconds if you set it to longer to last longer that way maybe you can Have a longer range if you want a shorter range you can make it kill it faster and if you are not planning on having that many spells you can see that the tag is fireball so you can do add the tag equals fireball onto it That way we’ll only do it for that that way blazes can still shoot you so now you can shoot it and it will eventually die so now we can just do a final test at night and I’m gonna oh sorry I’m going to do game rule do mob spawning as False and then clearly swaps out because I don’t want them attacking me in the middle of the night okay so now I can see that it lights him on fire and it’s just lying because of the new update the fireballs are kind of laggy but it is Pretty useful it killed him pretty quick and it will work on baby zombies and work on anything because fire pretty much kills anything except for mobs that don’t die from fire so with this you can kind of do a lot of different things on my server I have the flame command which Is pretty much the same thing it just summons the fireballs that are stationary at things in a radius it’s a little more complicated but this is how most of the commands work on the server for spells some spells don’t have quite as many they only have say two or three Because it doesn’t specify direction so that is where I’m going to end today if you I’m going to be making a tutorial on how to do a quick spell where you just drop an item and it uses the spell because that’s a couple commands in itself and they’re kind of complicated That’s about seven commands itself if you want the video to come out sooner rather than later like I can do it next week but if nobody wants it sooner I can do it like next two weeks from now if you want it sooner rather than later Leave a link in the comments or like the video and I will try to get it out as soon as possible so as always thanks guys for watching and I’ll catch you all later Video Information
This video, titled ‘Minecraft 1.9 Custom Spells Tutorial’, was uploaded by Cloud Wolf on 2015-12-07 04:33:50. It has garnered 3759 views and 56 likes. The duration of the video is 00:15:06 or 906 seconds.
We look at the basic setup that I use for most of the spells on the server. ===================================================== Important Commands: /scoreboard players set @a[ry=22,rym=-22] facing 1 /scoreboard players set @a[ry=67,rym=23] facing 2 /scoreboard players set @a[ry=112,rym=68] facing 3 /scoreboard players set @a[ry=157,rym=113] facing 4 /scoreboard players set @a[ry=-158,rym=158] facing 5 /scoreboard players set @a[ry=-113,rym=-157] facing 6 /scoreboard players set @a[ry=-68,rym=-112] facing 7 /scoreboard players set @a[,ry=-23,rym=-67] facing 8