[TUTORIAL] Autosmelt Enchantment ⛏️

Started by Pizz4Ninja on

Topic category: User side tutorials

Joined Jan 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
[TUTORIAL] Autosmelt Enchantment ⛏️
Sat, 06/29/2024 - 20:00 (edited)

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"

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 ❤️

Edited by Pizz4Ninja on Sat, 06/29/2024 - 20:00
Joined Jun 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Super cool & useful tutorial!
Sat, 09/23/2023 - 18:47

Super cool & useful tutorial!

Joined Jan 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Looks amazing! Can you make…
Tue, 04/02/2024 - 05:11

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

Joined Jan 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Sure! These guides are super…
Thu, 04/04/2024 - 13:33

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:

Joined Jan 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
i was looking for this for a…
Fri, 04/19/2024 - 23:20

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!

Joined Jan 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You don't need the toggle if…
Sun, 04/21/2024 - 14:28

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)

Joined Jan 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
for the first image can u…
Thu, 04/25/2024 - 00:05

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!