NBT Editor

NBT Editor

30k Downloads

Support saving duplicate enchant types in the enchants itemfactory

HyperSoop opened this issue ยท 3 comments

commented

Minecraft handles adding 2 sharpness enchants on a sword just fine, but the itemfactory for enchants doesn't handle this well, only letting 1 enchant of each type to be saved on an item. Adding multiple enchants of the same type on an item could actually be useful to bypass the 255-level cap, so this should be allowed in the itemfactory
javaw 2023-02-05 09-21-26

commented

I didn't realize that duplicating the same enchantment caused it to stack like that, that's pretty cool. I'll look into adding this. It might be more practical to have a "number of duplicates" field, so they are all condensed into one entry.

commented

I didn't realize that duplicating the same enchantment caused it to stack like that, that's pretty cool. I'll look into adding this. It might be more practical to have a "number of duplicates" field, so they are all condensed into one entry.

I don't think a whole new field for the number of duplicates is needed, the thing is still pretty niche. It's more of a thing to just change so it can save with duplicate enchantments and maybe add a number input to the "duplicate" option

commented

I've just released v1.11.0, which adds this! The enchantment gui now supports the same enchantment listed multiple times, and shift clicking the "Duplicate" option allows you to specify any number of copies.