Class EnchantmentMixin

java.lang.Object
johnsmith.enchantmentcore.mixin.enchantment.EnchantmentMixin
All Implemented Interfaces:
ConfigurableEnchantmentDefinition

public abstract class EnchantmentMixin extends Object implements ConfigurableEnchantmentDefinition
Mixin targeting the base Enchantment class. Implements the ConfigurableEnchantmentDefinition interface to hold configuration wrapper state. Intercepts core property accessors to inject dynamic runtime configuration values. Rebuilds the EnchantmentDefinition record dynamically when configuration state deviates from the vanilla baseline.