Draconic Evolution

Draconic Evolution

83M Downloads

[1.21.1] Sword damage modules don't work

Walnuss1 opened this issue ยท 5 comments

commented

Base information

  • Minecraft version: 1.21.1
  • Mod version: 1.21.1-3.1.3.625
  • Minecraft Forge version: Neoforge - 21.1.206
  • Mod Pack: (if applicable)

Description / steps to reproduce

use a sword from draconic evolution and add some damage modules and energy modules and charge the sword.
The damage of the sword didn't increase.
draconic sword always does 0-1 damage
chaotic sword always does 2-3 damage

commented

I can't seem to reproduce this in dev. Is this using any particular mod pack?

commented

Yes, that does look to be the issue. Glad you got it figured out.

commented

Yes a custom/private modpack.
The issue only occurs when the PSI mod is included https://www.curseforge.com/minecraft/mc-mods/psi
Is that their fault?
@brandon3055

commented

https://github.com/VazkiiMods/Psi/blob/master/src/main/java/vazkii/psi/common/item/tool/ItemPsimetalSword.java

has:

       @SubscribeEvent
	public static void adjustAttributes(ItemAttributeModifierEvent event) {
		if(!IPsimetalTool.isEnabled(event.getItemStack())) {
			event.removeAllModifiersFor(Attributes.ATTACK_DAMAGE);
		}
	}

could that be affecting items from other mods like Draconic Evolution? @brandon3055