SOLVED smithing table procedure

Started by yuri.carniti@g… on

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:
  • 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 14:00, 14. Nov 2023
Joined Jun 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • 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:
  • 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:
  • 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 14:00, 14. Nov 2023
Joined Jun 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • 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:
  • 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:
  • 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 14:00, 14. Nov 2023
Joined Jun 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • 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.

Last seen on 02:05, 19. Feb 2022
Joined Dec 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Hey, I'm also making a…
Wed, 12/29/2021 - 06:45

Hey, I'm also making a smithing table-type block, and I don't know how to make the procedure Max094 described in his first comment: "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"."

Help?

Last seen on 13:42, 14. Jan 2022
Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I think MCreator got updated…
Wed, 01/12/2022 - 20:53

I think MCreator got updated without me realising, because I can't find the "Get item from slot ? at X Y Z if it has in inventory" And the AND block have changed, too. 

Last seen on 02:05, 19. Feb 2022
Joined Dec 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
the AND block have changed,…
Sun, 01/16/2022 - 00:54

the AND block have changed, too.

Actually, they right-clicked the AND block and pressed "external inputs". It's just a different way of using the block.

Last seen on 19:42, 8. Feb 2023
Joined Jul 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
YOu can do it like a normal…
Sun, 01/29/2023 - 12:55

YOu can do it like a normal Crafting Station. i don´t know the code for this but when you craft something you always see what you gonna get. LIke if slot #0 = Diamond Chestplate and slot #1 Obsidian then output slot Obsidian chestplate. 

I hope you all know what i mean with this.

Last seen on 11:40, 24. Mar 2024
Joined Feb 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Is there any way to kepp…
Mon, 05/01/2023 - 08:51

Is there any way to kepp enchantments from the previous armor set