142143144145146147148149150151
for (Enchantment ench1 : Enchantment.enchantmentsList) { if (ench1 == null || ench == ench1) continue; if (!ench.canApplyTogether(ench1) || !ench1.canApplyTogether(ench)) rules.put(ench.effectId, new BasicCompatibilityRule(ench1)); } } }