Class CombatRulesMixin

java.lang.Object
johnsmith.enchantmentcore.mixin.world.damagesource.CombatRulesMixin

public class CombatRulesMixin extends Object
Mixin targeting CombatRules to parameterize the Enchantment Protection Factor (EPF) calculation. Exposes the hardcoded vanilla protection bounds and damage reduction divisor to the configuration API. Centralizes the injection point to prevent compatibility conflicts across dependent mods.
  • Constructor Details

    • CombatRulesMixin

      public CombatRulesMixin()