Right hey R I’m clue and continuing straight on going over the functional Side Of The Cauldron drawing right so basically get yourself a boiling cauldron campfire water cauldron and then you can chuck in a bone rotten flesh and any flour to brew some lesser potions right is probably The the better way to DET it they’re weaker than normal potion effects but obviously they’re more accessible so for instance if we Chuck in we’ll Chuck in something different a dandelion right 1 2 3 they’ll boil away and get dispersed and now we get poison cuz dandel lines are Poisonous don’t eat them they’re they’re weeds aren’t they right yeah that is cauldron drawing in a nutshell but the question is how did we actually set it up in terms of commands cuz that’s what this video is about is a pseudo tutorial as I try to make my way in come on so Close come on anyway uh the a pseudo what am I trying to say a pseudo tutorial on how I have made things in this datab B right cuz well people have expressed interest so I’m going to make it right you say I do that’s the the Life of a a YouTuber is it not anyway uh obviously we’re in Window mode more or less so you can actually see and I can just drag stuff over so we do have the resource pack and the data pack right resource pack nice and simple you can Use the custom model data NBT to create custom items I don’t think we’ve used any for this this function did we no so I don’t need that right now I’m going to leave it open cuz I was doing stuff uh and then we have the actual data pack Don’t worry about that red message you shouldn’t shouldn’t worry about that at all just yeah pay no attention so in the data pack right we have run chant uh we have the normal Minecraft stuff which is how you do why am I saying this Focus we’re explaining cauldron Brewing that’s All we’re doing run chairs functions done so we have four different sections for me admin which is just used to spawn in items only one so far just cuz there’s a of butload that I don’t want to spend time crafting mob player and static now mob is the one we’re Interested in because basically what we’re doing is a form of drop crafting so it all starts with the tick function right so this is similar to a repeating command block so this just runs a certain function as every single entity in the world this is important for what The pack does uh in terms of actually just making this for the Brewing effect all you’d have to do is change this to only run as items so for instance in a command block you’d start off with execute as entity and then put in the type item cuz that’s what you’re Searching for for any drop crafting I do actually have a different video on how to set up drop crafting right so look for that why don’t you nonetheless uh on to the actual Brewing so if we go to mobs nicely organized we have items and Then we have crafting and if we look for cauldron right we now have how I conduct The Cauldron Brewing so the first step is to identify the multibox structure so that’s nice and simple right so again we’re executing as an item so for instance we’ll we’ll do it with command Blocks right just explain a little bit better uh so execute as entity again looking specifically for items oh no s is just like that yeah okay at CU we want their location as well and then we can run X thing in this scenario though because we want to test for the Multiblock structure we need to look for X blocks so for instance you need to go if block and then the main one right on its coordinates needs to be a water cauldron done nice and easy and then under that has to be a camp so again just another if boox statement this time I’m going one underneath so-1 on the Y and we’re looking for a campfire this will only run if an item is in this multiblock structure for instance we can turn on and run say hi okay so we drop anything out the world not going to work we drop something into The Cauldron it Should hopefully I’ve done right yep perfect okay it it says hi and that’s how you identify the multi block structure for the drop crafting now it gets a little bit more complex in terms of the actual data pack because I’m using a trick taught to me by Statistically blue and that is to store NBT data for checking basically right so if we go back to the Mob section and we look at tick mob what I’m doing is this function right here so execute unless entity is a player you don’t need that it’s basically just run uh well actually You just have to do data modify if you’re using command blocks you’d obviously have to put this into a command block with that that starting portion right so as an item with a cauldron and a campfire underneath it right but then data modify storage this since this is the rechant pack and I’m Looking for an entity run chant entity and then Rune chant as its little identifier set from entity at s this will store all of its NBT data meaning that I don’t have to recheck the The Entity over and over again which causes a ton of lag so after storing it we can Then utilize that for the crafting recipe so the way I then go about that is if we go back to the cauldron section right so not cauldron Brewing items crafting and then cauldron right we have recipes so this is the the brain if you will right well it’s the recipes it’s Exactly what it says and what we’re doing is data modify storage again this time creating a subsection we’re crafting one and we’re setting its data from entities near our original entity right so it finds that original entity and then it stores any other items near now I’ve limited myself to four items in Total right the roots entity again up under root enchant entity and then the three additional ones under crafting 1 2 and three obviously you can have as many as you like more you add the longer it’s actually going to take to perform the the craft and the reason for that is the Way this works is it’s basically just a puzzle so has the initial entity this will be every single dropped item but then it has to slot in the other items specifically cuz it’s set to random around that entity okay so for instance in this recipe we have crafting one is Rotten flesh crafting two is bone and then it runs this function right so in this scenario if the rod and flesh is placed in three or two it won’t work if the bone is placed in one or three three it won’t work right so it has to continue to check until it matches Everything up perfectly so the more of these sections you have and the more items you’re looking for in this scenario the harder it’s going to be the alternative way to do that just in the command block is just to look for entities around the main entity right so This is looking for our main entity and you could set its nvt data right so nvt equals Whatever item you’re looking for and then after that you can look for additional items around it so for instance here we’d put uh if entity at e right and do the same thing look for the Type so the type being item and then after that again look for NBT but specify a different item and within a certain distance right so they all have to be present near one another so for instance the distance I usually use is just one block away right now that can Obviously be slightly larger than that it can be obviously outside the block but it’s usually workable you can probably have it to 0.5 but again you got to you got to factor in the space right so in a cauldron you’ve got what is it two pixels in in but then on a Normal block if you’re just crafting on its top right one can be on this corner one can be over here so I do like to use one but uh 0.5 should be manageable right so again we’re looking for the structure we have a root item and then In this scenario we’re looking for any item around it that we then specify in terms of what actually do in the data pack we’re using this system of storing nvt data using well the data modify storage command and don’t do that right so then the next step is to obviously Check everything is correct so in this case again I’m checking crafting one to be a rotten flesh crafting two to be a bone and then it’s going to run this function mob items crafting cdon plants and the reason I then have that section and also the reason we’re missing the Initial run chair entity is because that’s now in this plant section so what this does is look at that initial entity so run chore entity and identifies what flower it is so white CH lilac orange julip and so forth to then summon something else specific so for instance In this scenario we’re summoning markets Mar markers with different tags depending on the flower so for instance I all have C potion cauldron potion and then the flower that it represents this allows me to then check the marker and enable it to give effects to the player or anyone surrounding it depending on These tags so again nice and simple system that is highly flexible and highly adaptable again check the the multiblock structure right so a cauldron over campfire check the items so the different recipes and then spawn in a marker depending on which main item is checked so again in this case the Flowers in command box you would have to obviously set up a command block for each of these and that would be slightly annoying right but you could go with broader crafting recipes right you could have just like eight potions but stronger than the normal potions right again it’s very moldable and then we Spawn in a marker and then using the marker as our main root entity we can then go to our next step which is using that other tab so if we go to Rune chance and then go back to functions mob and cauldron Brewing we now have marker Effects and marker FX so the marker FX are all the particles that play right so as soon as that marker spawn it’s going to identify which one it is so if we scroll down here we’ve got the different flowers and it’s going to spawn in those particles a bunch of particles at its Roots and then a bunch of particles around it to indicate the environment that it is affecting then similarly we’re just giving effects based on again the tag so depending on the flower which are down here top one uh normal potions uh but for instance White Tulip will Give everyone nearby speed for 3 seconds again you can change this as much as you want you can tweak it but four steps is all it takes to get this working right drop crafting which again I have a more in-depth video on and lots of people I’m Pretty sure have done videos on that but just look for your entity in this case an item inside the correct blocks so in this case a cauldron water cauldron with a campfire underneath it right and then execute X function in this case it would be to spawn a marker and then chain Command blocks would then be used to delete the items used for the recipe and then off that marker you’d have another one that checks its tags and gives off particles and effects right so all together youd probably need two chains for this so again one two uh so again This would be change St say hi it would be summon uh marker at its location with X tags so like so and then after that You’ have to set up a way to delete the items you would need to also keep the same check right so that it’s set at the right item And the location so again just copy over the first section execute at the item you’re looking for with its multiblock structure any any other items surrounding it and then just delete it you know again specifying items so entity and then in here again do type Item and you can specify the nvt you can do that as many times you want to specify the exact items to delete or you just do items broadly in this case because we’re summoning a marker and that marker is not impacted by this Command right it won’t be deleted it Won’t mess anything up and then off of that all you have to do is search for the marker and execute whatever you want given its TXS again I’ve done particles add location particles in the environment and an effect so just to see it in action once more bone flesh and Again any FL we’ll do sunflower this time right so one two three bubbles away the sunflower one have a feeling like sunflow is not one especially cuz it’s taking a while now apparently I just summoned a bunch of markers there and that is obviously causing a drastic amount of Lag oops uh we can just delete them all type equals marker yeah and then goes back to working correctly yeah sound that would have worked careful with your commands anyway again these are super tutorials I’m not the best explaining uh if you want to comment and we can talk Through things Havey to do that but in terms of just laying my thoughts out doesn’t quite go as well as it could sometimes but nonetheless I hope that does help for anyone interested again it is super simple I like just making very simple fun functions that then I can Obviously Branch out and make them a bit more exponential right again just having a different marker spawn depending on the flower gives us a numerous amount of additional options and then all it does is again spawn particles in the environment spawn particles at The Cauldron and give an effect passively Which I think this one’s saturation which is why we’re not actually getting anything anyway we’ll leave it there hope you enjoyed nonetheless and yeah this is the the style going forward one video on the actual gameplay mechanic right going through the advancements and then one video haphazardly explaining How I put together yeah hope you enjoyed See Video Information
This video, titled ‘[Runechant] Taking a Look At Cauldron Brewing, Functional Side Tutorial | Minecraft Data Pack #2’, was uploaded by Kllooooyy on 2023-11-25 14:00:41. It has garnered 33 views and 3 likes. The duration of the video is 00:12:49 or 769 seconds.
Showcases multiple features for my upcoming new Minecraft data pack. Using a bunch of commands I’m trying to alter Vanilla gameplay with an overwhelming number of RPG elements, from mob abilities to bosses and even a new magic system. I give you my work in progress Runechant a World of New Enchantments.
Twitch – https://www.twitch.tv/kllooooyy Twitter – https://twitter.com/klloo_ooyy TikTok – https://www.tiktok.com/@kllooooyy Discord – https://discord.gg/3Ntrh7sywT
#minecraft #datapack #minecraftdatapack #minecraftcreations #minecraftcreative #minecraftcommandblock #commandblock #minecraftshorts