SOLVED smithing table procedure

Started by yuri.carniti@g… on Thu, 04/23/2020 - 13:21

Topic category: Help with modding (Java Edition)

Last seen on 20:38, 3. Jul 2021
Joined Dec 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
SOLVED smithing table procedure
Sat, 07/03/2021 - 18:46 (edited)

I need help to make a procedure like the new 1.16 Smithing Table that upgrades the armors with some new gems added in my mod.

(ex: from diamond to nether star)

 

Edited by yuri.carniti@gmail.com on Sat, 07/03/2021 - 18:46
Last seen on 20:27, 2. Aug 2021
Joined Jun 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
This procedure is like a…
Thu, 04/23/2020 - 14:23

This procedure is like a crafting table with 2 input slots (0 and 1) and 1 output slot (2).
It puts obsidian in the output slot only if there is lava bucket in slot 0 and water bucket in slot 1.
The second part of the code makes sure the player put the buckets to have the obsidian in the output slot without removing the buckets after the obsidian appears.
This procedure is to link to the smithing table update tick.
img1
BUT there is also something else you must do.
You need to make a procedure that removes 1 item from slot 0 and 1 item from slot 1.
This other procedure is to link to the slot 2 of your GUI "When item taken from slot".

Last seen on 20:38, 3. Jul 2021
Joined Dec 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
If in the future i want to…
Thu, 04/23/2020 - 15:13

If in the future i want to add 2 or more gems for armor upgrade, what should i change?

 

Last seen on 20:38, 3. Jul 2021
Joined Dec 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
because all the pieces of…
Thu, 04/23/2020 - 15:58

because all the pieces of the base armor can be upgraded, and it is the same for the tools (pickaxe, axe, showel, sword and hoe)

 

Last seen on 20:27, 2. Aug 2021
Joined Jun 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Just duplicate what you did.
Thu, 04/23/2020 - 19:49

Just duplicate what you did.

Last seen on 20:38, 3. Jul 2021
Joined Dec 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
  ok thanks, because i'm not…
Thu, 04/23/2020 - 19:51

 

ok thanks, because i'm not expert for the momento with custom crafting procedure, i can add effect to armor and trigger for achievment.

 

 

Last seen on 20:38, 3. Jul 2021
Joined Dec 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
but for the gui? because i…
Thu, 04/23/2020 - 20:47

but for the gui?

because i want to make a gui like the 1.16 smithing table

 

Last seen on 20:27, 2. Aug 2021
Joined Jun 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Yes you can trigger for…
Fri, 04/24/2020 - 06:54

Yes you can trigger for achievements : inside your procedure that's triggered "When item taken from slot" of slot 2 of your GUI, you already have "remove one item from slot 0" and "remove one item from slot 1". You just need to add what you want.
You just need to find the block that triggers advancements.
And for the GUI of the smithing table, idk sorry.