Closed the-doo closed 2 years ago
Like this:
net.minecraft.enchantment.EnchantmentHelper#getAttackDamage
public static float getAttackDamage(ItemStack stack, EntityGroup group) { MutableFloat mutableFloat = new MutableFloat(); forEachEnchantment((enchantment, level) -> { // I want to inject at here mutableFloat.add(enchantment.getAttackDamage(level, group)); }, stack); return mutableFloat.floatValue(); }
Has any way to do it?
This is a bug tracker, not a support forum. For further assistance, please make sure you are fimiliar with Mixin documentation and stop by our Discord.
Like this:
net.minecraft.enchantment.EnchantmentHelper#getAttackDamage
Has any way to do it?