[TUTORIAL] Autosmelt Enchantment ⛏️

Started by Pizz4Ninja on

Topic category: User side tutorials

Last seen on 20:40, 23. Apr 2024
Joined Jan 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
[TUTORIAL] Autosmelt Enchantment ⛏️
Mon, 03/04/2024 - 04:23 (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 Mon, 03/04/2024 - 04:23
Last seen on 05:10, 3. Dec 2023
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!

Last seen on 20:40, 23. Apr 2024
Joined Jan 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
<3
Mon, 09/25/2023 - 00:09

<3

Last seen on 07:20, 23. Apr 2024
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

Last seen on 20:40, 23. Apr 2024
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:

Last seen on 07:20, 23. Apr 2024
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!

Last seen on 20:40, 23. Apr 2024
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)