How to make armor that is enchanted upon crafting? (mcreator 2019.5)

Started by _Etta on Tue, 12/31/2019 - 01:13

Topic category: Help with MCreator software

Last seen on 18:04, 1. Jan 2020
Joined Dec 2019
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How to make armor that is enchanted upon crafting? (mcreator 2019.5)
Tue, 12/31/2019 - 01:13

I'm starting to make a mod and was wondering how to make armor that is enchanted upon crafting it (i.e. boots that come with frost walker). I understand that there's a guide out already, but based on how old it is, I suspect it's quite out of date. (Also sorry if this is in the wrong place, I've never used mcreator or the forums before)

Use global trigger on item…
Tue, 12/31/2019 - 10:12

Use global trigger on item crafted to apply enhancement to the item being crafted

Last seen on 03:48, 17. Feb 2021
Joined Dec 2019
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
So I started bug #788 …
Mon, 01/25/2021 - 20:39

So I started bug #788 "Everything gets enchanted now" and they referred me here.

I'm using MCreator version: 2020.6 EAP 52319 and when I try to create armor that is enchanted upon creation, the mod causes the game to enchant EVERYTHING that is crafted.

MCreator automatically creates a green box: "Event trigger - triggered by external call or when (global trigger) in the Armor triggers page: 

In the selection area "Item is crafted" is selected.  Pink "Add enchantment with level __ to provided itemstack tipe ____" is selected and the enchantments are picked.

This causes everything crafted in the game to receive these enchantments; crafting table, torches, furnace, planks...

How do I cause MCreator to make these enchantments solely for the designated armor?

Enchant only diamond blocks…
Mon, 01/25/2021 - 20:44

Demo

Enchant only diamond blocks when crafted with knockback.

Last seen on 03:48, 17. Feb 2021
Joined Dec 2019
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Thanks for this, I will give…
Tue, 01/26/2021 - 02:59

Thanks for this, I will give it a try

 

Last seen on 03:48, 17. Feb 2021
Joined Dec 2019
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Doesn't appear to work with…
Tue, 01/26/2021 - 04:05

Doesn't appear to work with multiple enchantments.  :-/

Last seen on 03:48, 17. Feb 2021
Joined Dec 2019
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Do you want me to open a new…
Tue, 01/26/2021 - 17:29

Do you want me to open a new request?  Or is it okay to receive an answer from you on this post?

Thanks in advance,

M

Last seen on 03:48, 17. Feb 2021
Joined Dec 2019
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
So, when I do this on a…
Tue, 01/26/2021 - 20:16

So, when I do this on a sword (specifying Sharpness), it again enchants everything.  

I tried putting multiple enchantments on armor, none of those come through (on anything, armor or otherwise). 

But when I manually craft a set of armor from the ingots in survival mode, all the pieces have Sharpness on them.

Last seen on 03:48, 17. Feb 2021
Joined Dec 2019
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
P.S.  I did it exactly the…
Tue, 01/26/2021 - 20:17

P.S.  I did it exactly the way as in your picture.

Last seen on 03:48, 17. Feb 2021
Joined Dec 2019
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
P.P.S.  My son reports that…
Tue, 01/26/2021 - 20:20

P.P.S.  My son reports that with every kill he makes using the sword, it increases the attack damage.  The sword started out doing 32 attack damage; it is now up to 3,932 damage per strike.

P.S.  I did it exactly the…
Wed, 01/27/2021 - 08:45

P.S.  I did it exactly the way as in your picture.

So you only used one enchantment, not multiple?

P.P.S.  My son reports that with every kill he makes using the sword, it increases the attack damage.  The sword started out doing 32 attack damage; it is now up to 3,932 damage per strike.

Unrelated to this topic, new topic or bug report if you can reproduce this with tool mod element directly and it is not caused by some procedure altering its behaviour.

Last seen on 03:48, 17. Feb 2021
Joined Dec 2019
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Ok, I'll start a new forum…
Wed, 01/27/2021 - 17:08

Ok, I'll start a new forum request for the sword.

 

On the armor, tried using multiple "add enchantments" under the event trigger.  None of the enchantments are coming through.  When in survival mode, on a crafting table, the armor pieces get the sword enchantment, but not their own.

Last seen on 03:48, 17. Feb 2021
Joined Dec 2019
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I changed the armor down to…
Wed, 01/27/2021 - 17:59

I changed the armor down to one enchantment; now the mod comes up as invalid in Minecraft

Last seen on 03:48, 17. Feb 2021
Joined Dec 2019
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I fixed what was wrong so…
Wed, 01/27/2021 - 18:18

I fixed what was wrong so the now the mod comes back up, and solved the issue of the ever increasing damage.

 

Unfortunately now nothing is coming up enchanted in either creative or survival.

Last seen on 03:48, 17. Feb 2021
Joined Dec 2019
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I followed your pictorial…
Fri, 01/29/2021 - 17:39

I followed your pictorial instructions to a "T" (thank you for providing that) utilizing a single enchantment, but nothing is coming up with any enchantments regardless of whether it is obtained in creative mode or crafted on a crafting table in survival/hardcore mode.  I'm using MCreator version: 2020.6 EAP 52319 / 1.16.4