Topic category: User side tutorials
SUPPORTS MCREATOR 2023.4 RELEASE
Hello!
Today I will walk you through a Guide of how to make a simple Autosmelt Enchantment for your mod! ❤️
▶
Creating the Enchantment
First off create a new Enchantment named "Autosmelt" (Or whatever name you'd like!) ⛏️
Now you can add whatever attributes or properties you'd like, nothing needs to be specific to the image!
Once you've created your Enchantment element press the "Save mod element" button! 📜
▶
Adding the Global Variable
Now go to the "Variables" Section in your Workspace and press "Add New Variable"
Name: autosmelt_toggle
Type: number
Scope: PLAYER_PERSISTENT
Initial Value: 0
Save the Variable and you're done! 👾
▶
Coding the Smelting Procedure
First create a new procedure and name it something along the lines of "AutosmeltProcedure" 🖥️
Follow everything from the image, if you need help message me or comment below!
Once you've done that save it and create a new procedure
Name it something like "AutosmeltToggler"
Save it and the Autosmelt should be done!
Thank you for reading this post! If you need help feel free to comment ❤️
Super cool & useful tutorial!
<3
Looks amazing! Can you make more custom enchant tutorials like if a weapon has an enchant it would put a (or more than 1) Potion effect on the enemy? you probs mastered enchants
Sure! These guides are super easy to make, just some explanation and a few images.
I’ll start workign on it today, tell me if you have more ideas c:
i was looking for this for a while lol, anyway for the scope of the variable i only see global map, global session and global world, not sure if its cuz im using fabric, if it is can u make a fabric version of this? thank you!
You don't need the toggle if you don't have the toggle c:
(This means it autosmelts everytime you use the item, kinda like silk touch or fortune)
for the first image can u export it and send it? im kinda lazy, the autosmelt thing is short so u dont need to do that, ty!