Cursed

Cursed

251k Downloads

[Enhancement] Make Curse of Midas for (cross-)bows

MelanX opened this issue ยท 1 comments

commented

It would be cool if you could use curse of midas on bows and crossbows.
It's simply turning this line into this:

public static final EnchantmentType TOOL = EnchantmentType.create("CURSED_TOOL", item -> EnchantmentType.DIGGER.canEnchantItem(item) || EnchantmentType.WEAPON.canEnchantItem(item) || EnchantmentType.BOW.canEnchantItem(item) || EnchantmentType.CROSSBOW.canEnchantItem(item));
commented

Thanks for the suggestion. This curse was based on the legend of Midas's curse where everything he touched would turn to gold. For this reason the curse is only meant to work with melee weapons.