mirror of
https://github.com/alexcrea/CustomAnvil.git
synced 2026-06-23 16:16:17 +02:00
add enchant conflict and it's yml and finished material groups yml
This commit is contained in:
parent
b6ce69c45b
commit
8ba1b532df
7 changed files with 441 additions and 3 deletions
222
src/main/resources/enchant_conflict.yml
Normal file
222
src/main/resources/enchant_conflict.yml
Normal file
|
|
@ -0,0 +1,222 @@
|
|||
# material conflicts
|
||||
#
|
||||
# If you want to edit this file:
|
||||
# - You need to take into account that multiple conflict can be applied to an item
|
||||
# (exemple: protection can be applied to chestplate AND should not have other "protection")
|
||||
|
||||
# These restriction are about not allowing enchantment on illegal items
|
||||
restriction_aqua_infinity:
|
||||
enchantments: [aqua_infinity]
|
||||
notAffectedGroups: [helmet]
|
||||
|
||||
restriction_bane_of_arthropods:
|
||||
enchantments: [bane_of_arthropods]
|
||||
notAffectedGroups: [melee_weapons]
|
||||
|
||||
restriction_blast_protection:
|
||||
enchantments: [blast_protection]
|
||||
notAffectedGroups: [armors]
|
||||
|
||||
restriction_channeling:
|
||||
enchantments: [channeling]
|
||||
notAffectedGroups: [trident]
|
||||
|
||||
restriction_binding_curse:
|
||||
enchantments: [binding_curse]
|
||||
notAffectedGroups: [wearable]
|
||||
|
||||
restriction_vanishing_curse:
|
||||
enchantments: [vanishing_curse]
|
||||
notAffectedGroups: [can_vanish]
|
||||
|
||||
restriction_depth_strider:
|
||||
enchantments: [depth_strider]
|
||||
notAffectedGroups: [boots]
|
||||
|
||||
restriction_efficiency:
|
||||
enchantments: [efficiency]
|
||||
notAffectedGroups: [tools, shears]
|
||||
|
||||
restriction_feather_falling:
|
||||
enchantments: [feather_falling]
|
||||
notAffectedGroups: [boots]
|
||||
|
||||
restriction_fire_aspect:
|
||||
enchantments: [fire_aspect]
|
||||
notAffectedGroups: [swords]
|
||||
|
||||
restriction_fire_protection:
|
||||
enchantments: [fire_protection]
|
||||
notAffectedGroups: [armors]
|
||||
|
||||
restriction_flame:
|
||||
enchantments: [flame]
|
||||
notAffectedGroups: [bow]
|
||||
|
||||
restriction_fortune:
|
||||
enchantments: [fortune]
|
||||
notAffectedGroups: [tools]
|
||||
|
||||
restriction_frost_walker:
|
||||
enchantments: [frost_walker]
|
||||
notAffectedGroups: [boots]
|
||||
|
||||
restriction_impaling:
|
||||
enchantments: [impaling]
|
||||
notAffectedGroups: [trident]
|
||||
|
||||
restriction_infinity:
|
||||
enchantments: [infinity]
|
||||
notAffectedGroups: [bow]
|
||||
|
||||
restriction_knockback:
|
||||
enchantments: [knockback]
|
||||
notAffectedGroups: [swords]
|
||||
|
||||
restriction_looting:
|
||||
enchantments: [looting]
|
||||
notAffectedGroups: [swords]
|
||||
|
||||
restriction_loyalty:
|
||||
enchantments: [loyalty]
|
||||
notAffectedGroups: [trident]
|
||||
|
||||
restriction_lure:
|
||||
enchantments: [lure]
|
||||
notAffectedGroups: [fishing_rod]
|
||||
|
||||
restriction_mending:
|
||||
enchantments: [ending]
|
||||
notAffectedGroups: [can_unbreak]
|
||||
|
||||
restriction_multishot:
|
||||
enchantments: [multishot]
|
||||
notAffectedGroups: [crossbow]
|
||||
|
||||
restriction_piercing:
|
||||
enchantments: [piercing]
|
||||
notAffectedGroups: [crossbow]
|
||||
|
||||
restriction_power:
|
||||
enchantments: [power]
|
||||
notAffectedGroups: [bow]
|
||||
|
||||
restriction_projectile_protection:
|
||||
enchantments: [projectile_protection]
|
||||
notAffectedGroups: [armors]
|
||||
|
||||
restriction_protection:
|
||||
enchantments: [protection]
|
||||
notAffectedGroups: [armors]
|
||||
|
||||
restriction_punch:
|
||||
enchantments: [punch]
|
||||
notAffectedGroups: [bow]
|
||||
|
||||
restriction_quick_charge:
|
||||
enchantments: [quick_charge]
|
||||
notAffectedGroups: [crossbow]
|
||||
|
||||
restriction_respiration:
|
||||
enchantments: [respiration]
|
||||
notAffectedGroups: [helmet]
|
||||
|
||||
restriction_riptide:
|
||||
enchantments: [riptide]
|
||||
notAffectedGroups: [trident]
|
||||
|
||||
restriction_sharpness:
|
||||
enchantments: [sharpness]
|
||||
notAffectedGroups: [melee_weapons]
|
||||
|
||||
restriction_silk_touch:
|
||||
enchantments: [silk_touch]
|
||||
notAffectedGroups: [tools]
|
||||
|
||||
restriction_smite:
|
||||
enchantments: [smite]
|
||||
notAffectedGroups: [melee_weapons]
|
||||
|
||||
restriction_soul_speed:
|
||||
enchantments: [soul_speed]
|
||||
notAffectedGroups: [boots]
|
||||
|
||||
restriction_sweeping:
|
||||
enchantments: [sweeping]
|
||||
notAffectedGroups: [swords]
|
||||
|
||||
restriction_swift_sneak:
|
||||
enchantments: [swift_sneak]
|
||||
notAffectedGroups: [boots]
|
||||
|
||||
restriction_thorns:
|
||||
enchantments: [thorns]
|
||||
notAffectedGroups: [chestplate]
|
||||
|
||||
restriction_unbreaking:
|
||||
enchantments: [unbreaking]
|
||||
notAffectedGroups: [can_unbreak]
|
||||
|
||||
# Now we have Incompatibility
|
||||
# Because we have filtered before this step, we will use nothing as notAffectedGroups
|
||||
# We can an exclude group to exclude elements of group from the conflict
|
||||
|
||||
sword_enchant_conflict:
|
||||
enchantments:
|
||||
- bane_of_arthropods
|
||||
- smite
|
||||
- sharpness
|
||||
notAffectedGroups: [nothing]
|
||||
maxEnchantmentBeforeConflict: 1
|
||||
|
||||
protection_enchant_conflict:
|
||||
enchantments:
|
||||
- blast_protection
|
||||
- fire_protection
|
||||
- projectile_protection
|
||||
- protection
|
||||
notAffectedGroups: [nothing]
|
||||
maxEnchantmentBeforeConflict: 1
|
||||
|
||||
trident_conflict1:
|
||||
enchantments:
|
||||
- channeling
|
||||
- riptide
|
||||
notAffectedGroups: [nothing]
|
||||
maxEnchantmentBeforeConflict: 1
|
||||
|
||||
trident_conflict2:
|
||||
enchantments:
|
||||
- loyalty
|
||||
- riptide
|
||||
notAffectedGroups: [nothing]
|
||||
maxEnchantmentBeforeConflict: 1
|
||||
|
||||
boot_conflict:
|
||||
enchantments:
|
||||
- depth_strider
|
||||
- frost_walker
|
||||
notAffectedGroups: [nothing]
|
||||
maxEnchantmentBeforeConflict: 1
|
||||
|
||||
tool_conflict:
|
||||
enchantments:
|
||||
- fortune
|
||||
- silk_touch
|
||||
notAffectedGroups: [nothing]
|
||||
maxEnchantmentBeforeConflict: 1
|
||||
|
||||
bow_conflict:
|
||||
enchantments:
|
||||
- mending
|
||||
- infinity
|
||||
notAffectedGroups: [nothing]
|
||||
maxEnchantmentBeforeConflict: 1
|
||||
|
||||
crossbow_conflict:
|
||||
enchantments:
|
||||
- multishot
|
||||
- piercing
|
||||
notAffectedGroups: [nothing]
|
||||
maxEnchantmentBeforeConflict: 1
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue