Started by
_Etta
on
Topic category: Help with MCreator software
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 crafted to apply enhancement to the item being crafted
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 when crafted with knockback.
Thanks for this, I will give it a try
Doesn't appear to work with multiple enchantments. :-/
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
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.
P.S. I did it exactly the way as in your picture.
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.
So you only used one enchantment, not multiple?
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.
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.
I changed the armor down to one enchantment; now the mod comes up as invalid in Minecraft
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.
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