Hey guys welcome back to another episode of commands with dragon we’ve done a lot of progress today I am recording ahead of time just for my intro so let’s get into it so last time we kind of looked at a crafting recipe in a cauldron there We go there’s our fire spell now this has an ID now remember how I said I want it so you can detect it in either offhand so we’re going to have to give the player a tag to detect if they’re actually holding this so I’m going to Use a repeat command block for this so this is going to be a to command creation because I want it to be relatively large creation let’s grab a lever as well put that here so we want to detect if this is in our main hand or Our offhand and what we can do is use the selected items so we’ll go scoreboard players tag at all and we’ll go add a quick fire for example and we’re going to go a selected item and now we’re going to set an ID my craft died and a damage of I Believe it’s 1 let’s check this 14 miles well 14 and then we need to check if it has this tag the enchantment tag of course now I believe it was ID let’s take a look 51 level 200 so let’s take a look at this ID 51 level 200 now I hope I’m writing this right okay so when it becomes my selected item it should let me know school board players maybe have to flick this on ok so there’s an error here which means I probably got some balanced unbalance brackets okay so the data tag does not match for Dragon 14 Was I sure about the 51 okay so there’s a problem well this is a foolish mistake it’s selected item there we go so that solves that problem so now we can detect if it’s in my off hand now I also want to detect if I’m sneaking so let’s add a New scoreboard for that we’ll just put this aside we’ll go scoreboard objectives add we’ll go dark sneak because I’ve already got heaps and heaps of sneaky miles already start that sneak time there we go so we’ll go hmm let’s think about this okay so just out of this command block Here I just went ahead and did it all detects if you have this dye in your slot negative 106 B which basically means my offhand so it’s just kind of do the same thing just detecting if that’s there so now I’m just going to quickly look at some lag optimizations I’m just Going to go at all score dark magic when equals one just so it doesn’t get added constantly when there’s no need for it so let’s add that in right there so that’s just some optimizations it’s not essential but I’d prefer it this way so now let’s look at this result see I hold The fire well actually let’s not hold the fire at first and let’s hold down shift you’ll see that nothing happens but if I equipped this fire spell and hold down shift you’ll see that these armorstands gets summoned in now this will be killed off very quickly they’re Going to have a custom motion to where the player is facing and they’re going to be doing some serious fire damage so the way this works is if you are sneaking and you have a tag of equip fire then it’s going to summon an iron I must hand pulled casting fire well That’s the tag anyway and then it’s going to set your snake score zero and then remove your equip fire tag immediately all right so I went ahead and did all the motions for the armor stand because that’s not fun to do on camera but I’d say that looks pretty Cool I think they might live a bit too long so I might just reduce this number maybe pick 10 and it’s very very in-your-face so I’m going to make this invisible if I can find the command that does that there we go invisible 1 and yes I should be firing on a sense now but problem is now that they’re invisible so we need to go execute @e tag equals casting fire and then we need a particle how to complain right with our zero zero zero but the speed of 0.001 maybe maybe 0.1 we’ll see how that goes That looks really really cool actually it’s kind of hard to see where you’re aiming though so I think I might reduce the speed just a tad ilton lagging a bit as well that’s no good alright now I’m not sure about you but I don’t think that’s really effective Enough and it’s very very hard to tell where you’re actually aiming so I might make this 0.1 again actually a mic maker one I wish there was a way to stop it from just dispersing everywhere like that because it’s kind of annoying I might have to use a different particle Instead let’s try the lava particle see how that one goes because I really really want to use particles because I think they’re quite an effective method but at the same time it’s quite messy oh yeah and I need to go through how all that motion works so very very long for Mods actually other took ages so it’s a tag of dark motion that’s what I’ve taped the understand aus and its name is not dark motion din and it’s executing from a player who’s facing a certain direction and then so the nearest player and it’s going to set the entity data so If their world a nearest understand so it’s custom name is DM now so it’s not going to run again and it’s going to give it a custom motion and I’ve done that 16 times for the 16 possible intervals and then I’ve added a score of dark motion to it and it gets killed After 15 ticks so 0.75 seconds so now I’ve added something to the head slot so you can clearly see where everything is going now what have made this a different item and I would have lowered it but the problem is is that the understan gets in your face and stuff in The ground and doesn’t look that great so now we are going to add the actual weep vet to this so we’re going to go execute a tag equals casting fire of course and then we are going to go entity data @e r equals 5 and we’re going to go fire maybe 10 s Seems good so now if we have some creepers on the field let’s put you guys down and we cast the fire they should burn there we go ok so they don’t seem to be burning for that long so we need to change that of course let’s go fire 40 s because I Think these are in ticks there we go now I really do not like how it’s lighting up but understand so I’m going to change this tag equals not casting fire and we’re also going to go tie pickles not item because that will be annoying for Items as well so let’s take a look at this there we go that looks a lot better can we reach that guy over there and I think R equals 5 is a bit overpowered so we’re going to get R equals 3 instead and we also want to give some other Effects as well because this is a little bit boring cleaners very underwhelming spell I mean it kind of looks cool but I think the visuals are a bit off to be honest so I might change that so now I’ve gone ahead and added the spell for snow now and I think the particle Effects looks pretty nice it gives a small weather effect from the freezing but most importantly it slows down the mob completely and of course this works in the offhand as well and it works basically the same as the fire which is fantastic because we can just keep Adding on spells now because we just keep adding on and adding on so I’m just going to add one more before the end we enter the episode but I just want to show you why it should work in the offhand as well it’s because you can dual wield spells now which is fantastic We can grab a sword and have one spell in one hand one spill in the other so now we can hit at the same time we cast our spells so let’s summarize some of our spells now to get the ice one you chuck in regular ice and packed ice to Get your ice spell Shh I might add sound effects actually and then feather and paper to get a wind spell nothing says wind like a feather in sandpaper right so you have to actually I know you don’t apparently right I was going to say that You only have to equip one but two works as well so the wind one basically brings in mobs and you can expel them again just like that there we go now I don’t think ya can work on a group of mobs as well the area of effect is Quite large but I don’t think it’s large enough because it can overshoot some of the mobs which is a bit of an issue but that’s alright as you can imagine it’s just teleporting entities towards the armored stance and that’s all I’m going to do for the command at the moment so By the time you get to this video I might be away so I might not be able to see or respond to any comments I’m currently filming this on the 15th of November and I will be back on the 7th of December but for now thanks Everyone for watching I will see you in the next episode take care Video Information
This video, titled ‘Dark Magic with Jragon E2 | Casting Spells – Minecraft’, was uploaded by Jragon // Learn How To Make Minecraft Commands on 2015-11-16 19:00:00. It has garnered 24967 views and 409 likes. The duration of the video is 00:09:31 or 571 seconds.
More dark magic! We get tonnes done this episode!
===Credits=== Profile picture by Cookie Animation: https://www.youtube.com/channel/UC9_92___E1M-Zl4TE7gzlUw Banner art and logo by Rushfriend Outro by redacted187 Music: Bensound | http://www.bensound.com/royalty-free-music/jazz
===Resources=== ►MCStacker: http://mcstacker.bimbimma.com/ ►MrGarretto: http://mrgarretto.com/
====Contacts==== ►Website http://jragoncommands.weebly.com ►Twitter https://twitter.com/Jragon014 ►Email [email protected] ►Twitch http://www.twitch.tv/jragon014 ►Reddit https://www.reddit.com/user/Jragon014/ ►Creepr http://forum.creepr.org/user/jragon014