How can I re-work my recipes to make them more 'automated'

Started by StanchVirus011 on

Topic category: Help with modding (Java Edition)

Last seen on 02:14, 15. Jul 2023
Joined Oct 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How can I re-work my recipes to make them more 'automated'
Fri, 02/03/2023 - 12:59 (edited)

 

 

I am trying to update my existing mod 'Alchemic Armoury'.

To keep it short, this mod allows you to add potion effects to armour pieces through crafting.

I have made these armour pieces in a very unefficient way by creating an individual recipe for every armour piece and potion effect. This has ultimately led to me needing to create over 200 recipes which is quite time consuming.

I am just wondering if anyone knows of a way to create recipes that will automatically work for all armour pieces, this would make it so the mod can work with leather, both dyed and undyed, and possibly other peoples mods. Thank you.

Below is an example of how I have created the mod;

aaa

 

 

Edited by StanchVirus011 on Fri, 02/03/2023 - 12:59
Last seen on 13:30, 8. Jun 2023
Joined Dec 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Images won't load
Fri, 02/03/2023 - 11:31

Images won't load

Last seen on 02:14, 15. Jul 2023
Joined Oct 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Images are fixed now 
Fri, 02/03/2023 - 13:00

Images are fixed now 

Last seen on 14:00, 24. Apr 2024
Joined Feb 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Are these Armors only one…
Fri, 02/03/2023 - 21:11

Are these Armors only one Item with different Attributes?

What you could do is to make a custom Block where you can craft Armors with the Potions and then check inside the GUI for the specific Potion and add to the Armor a NBT Boolean or an NBT Number that specifies which potion effect it is applied.

If you played Minecraft on the very old Versions you can see the NBT Number Method as a Potion Effect ID that you can check.

Last seen on 02:14, 15. Jul 2023
Joined Oct 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Is there any tutorials that…
Sat, 02/04/2023 - 00:53

Is there any tutorials that show you how to do anything similar? Just so I can get an idea of what I'm doing.