mirror of
https://github.com/alexcrea/CustomAnvil.git
synced 2026-06-23 16:16:17 +02:00
Update planned release of the feature to 1.6.3
handle better weeping edge update default config update updater to handle namespace
This commit is contained in:
parent
4bc959d76f
commit
3845e7f0ed
12 changed files with 499 additions and 650 deletions
|
|
@ -97,49 +97,46 @@ default_limit: 5
|
||||||
#
|
#
|
||||||
# Valid range of 1 - 255 for each enchantment
|
# Valid range of 1 - 255 for each enchantment
|
||||||
enchant_limits:
|
enchant_limits:
|
||||||
aqua_affinity: 1
|
minecraft:aqua_affinity: 1
|
||||||
binding_curse: 1
|
minecraft:binding_curse: 1
|
||||||
channeling: 1
|
minecraft:channeling: 1
|
||||||
flame: 1
|
minecraft:flame: 1
|
||||||
infinity: 1
|
minecraft:infinity: 1
|
||||||
mending: 1
|
minecraft:mending: 1
|
||||||
multishot: 1
|
minecraft:multishot: 1
|
||||||
silk_touch: 1
|
minecraft:silk_touch: 1
|
||||||
vanishing_curse: 1
|
minecraft:vanishing_curse: 1
|
||||||
depth_strider: 3 # anything more than 3 is treated as 3 by the game
|
minecraft:depth_strider: 3 # anything more than 3 is treated as 3 by the game
|
||||||
protection: 4
|
minecraft:protection: 4
|
||||||
fire_protection: 4
|
minecraft:fire_protection: 4
|
||||||
blast_protection: 4
|
minecraft:blast_protection: 4
|
||||||
projectile_protection: 4
|
minecraft:projectile_protection: 4
|
||||||
feather_falling: 4
|
minecraft:feather_falling: 4
|
||||||
thorns: 3
|
minecraft:thorns: 3
|
||||||
respiration: 3
|
minecraft:respiration: 3
|
||||||
sharpness: 5
|
minecraft:sharpness: 5
|
||||||
smite: 5
|
minecraft:smite: 5
|
||||||
bane_of_arthropods: 5
|
minecraft:bane_of_arthropods: 5
|
||||||
knockback: 2
|
minecraft:knockback: 2
|
||||||
fire_aspect: 2
|
minecraft:fire_aspect: 2
|
||||||
looting: 3
|
minecraft:looting: 3
|
||||||
sweeping: 3
|
minecraft:sweeping: 3
|
||||||
sweeping_edge: 3
|
minecraft:sweeping_edge: 3
|
||||||
efficiency: 5
|
minecraft:efficiency: 5
|
||||||
unbreaking: 3
|
minecraft:unbreaking: 3
|
||||||
fortune: 3
|
minecraft:fortune: 3
|
||||||
power: 5
|
minecraft:power: 5
|
||||||
punch: 2
|
minecraft:punch: 2
|
||||||
luck_of_the_sea: 3
|
minecraft:luck_of_the_sea: 3
|
||||||
lure: 3
|
minecraft:lure: 3
|
||||||
frost_walker: 2
|
minecraft:frost_walker: 2
|
||||||
impaling: 5
|
minecraft:impaling: 5
|
||||||
riptide: 3
|
minecraft:riptide: 3
|
||||||
loyalty: 3
|
minecraft:loyalty: 3
|
||||||
piercing: 4
|
minecraft:piercing: 4
|
||||||
quick_charge: 3
|
minecraft:quick_charge: 3
|
||||||
soul_speed: 3
|
minecraft:soul_speed: 3
|
||||||
swift_sneak: 3
|
minecraft:swift_sneak: 3
|
||||||
density: 5
|
|
||||||
breach: 4
|
|
||||||
wind_burst: 3
|
|
||||||
|
|
||||||
# Multipliers used to calculate the enchantment's value in repair/combining
|
# Multipliers used to calculate the enchantment's value in repair/combining
|
||||||
#
|
#
|
||||||
|
|
@ -153,135 +150,137 @@ enchant_limits:
|
||||||
# With default values protection 4 would have a value of 4 when
|
# With default values protection 4 would have a value of 4 when
|
||||||
# coming from either a book (4 * 1) or an item (4 * 1)
|
# coming from either a book (4 * 1) or an item (4 * 1)
|
||||||
enchant_values:
|
enchant_values:
|
||||||
aqua_affinity:
|
minecraft:aqua_affinity:
|
||||||
item: 4
|
item: 4
|
||||||
book: 2
|
book: 2
|
||||||
bane_of_arthropods:
|
minecraft:bane_of_arthropods:
|
||||||
item: 2
|
item: 2
|
||||||
book: 1
|
book: 1
|
||||||
binding_curse:
|
minecraft:binding_curse:
|
||||||
item: 8
|
item: 8
|
||||||
book: 4
|
book: 4
|
||||||
blast_protection:
|
minecraft:blast_protection:
|
||||||
item: 4
|
item: 4
|
||||||
book: 2
|
book: 2
|
||||||
channeling:
|
minecraft:channeling:
|
||||||
item: 8
|
item: 8
|
||||||
book: 4
|
book: 4
|
||||||
depth_strider:
|
minecraft:depth_strider:
|
||||||
item: 4
|
item: 4
|
||||||
book: 2
|
book: 2
|
||||||
efficiency:
|
minecraft:efficiency:
|
||||||
item: 1
|
item: 1
|
||||||
book: 1
|
book: 1
|
||||||
flame:
|
minecraft:flame:
|
||||||
item: 4
|
item: 4
|
||||||
book: 2
|
book: 2
|
||||||
feather_falling:
|
minecraft:feather_falling:
|
||||||
item: 2
|
item: 2
|
||||||
book: 1
|
book: 1
|
||||||
fire_aspect:
|
minecraft:fire_aspect:
|
||||||
item: 4
|
item: 4
|
||||||
book: 2
|
book: 2
|
||||||
fire_protection:
|
minecraft:fire_protection:
|
||||||
item: 2
|
item: 2
|
||||||
book: 1
|
book: 1
|
||||||
fortune:
|
minecraft:fortune:
|
||||||
item: 4
|
item: 4
|
||||||
book: 2
|
book: 2
|
||||||
frost_walker:
|
minecraft:frost_walker:
|
||||||
item: 4
|
item: 4
|
||||||
book: 2
|
book: 2
|
||||||
impaling:
|
minecraft:impaling:
|
||||||
item: 4
|
item: 4
|
||||||
book: 2
|
book: 2
|
||||||
infinity:
|
minecraft:infinity:
|
||||||
item: 8
|
item: 8
|
||||||
book: 4
|
book: 4
|
||||||
knockback:
|
minecraft:knockback:
|
||||||
item: 2
|
item: 2
|
||||||
book: 1
|
book: 1
|
||||||
looting:
|
minecraft:looting:
|
||||||
item: 4
|
item: 4
|
||||||
book: 2
|
book: 2
|
||||||
loyalty:
|
minecraft:loyalty:
|
||||||
item: 1
|
item: 1
|
||||||
book: 1
|
book: 1
|
||||||
luck_of_the_sea:
|
minecraft:luck_of_the_sea:
|
||||||
item: 4
|
item: 4
|
||||||
book: 2
|
book: 2
|
||||||
lure:
|
minecraft:lure:
|
||||||
item: 4
|
item: 4
|
||||||
book: 2
|
book: 2
|
||||||
mending:
|
minecraft:mending:
|
||||||
item: 4
|
item: 4
|
||||||
book: 2
|
book: 2
|
||||||
multishot:
|
minecraft:multishot:
|
||||||
item: 4
|
item: 4
|
||||||
book: 2
|
book: 2
|
||||||
piercing:
|
minecraft:piercing:
|
||||||
item: 1
|
item: 1
|
||||||
book: 1
|
book: 1
|
||||||
power:
|
minecraft:power:
|
||||||
item: 1
|
item: 1
|
||||||
book: 1
|
book: 1
|
||||||
projectile_protection:
|
minecraft:projectile_protection:
|
||||||
item: 2
|
item: 2
|
||||||
book: 1
|
book: 1
|
||||||
protection:
|
minecraft:protection:
|
||||||
item: 1
|
item: 1
|
||||||
book: 1
|
book: 1
|
||||||
punch:
|
minecraft:punch:
|
||||||
item: 4
|
item: 4
|
||||||
book: 2
|
book: 2
|
||||||
quick_charge:
|
minecraft:quick_charge:
|
||||||
item: 2
|
item: 2
|
||||||
book: 1
|
book: 1
|
||||||
respiration:
|
minecraft:respiration:
|
||||||
item: 4
|
item: 4
|
||||||
book: 2
|
book: 2
|
||||||
riptide:
|
minecraft:riptide:
|
||||||
item: 4
|
item: 4
|
||||||
book: 2
|
book: 2
|
||||||
silk_touch:
|
minecraft:silk_touch:
|
||||||
item: 8
|
item: 8
|
||||||
book: 4
|
book: 4
|
||||||
sharpness:
|
minecraft:sharpness:
|
||||||
item: 1
|
item: 1
|
||||||
book: 1
|
book: 1
|
||||||
smite:
|
minecraft:smite:
|
||||||
item: 2
|
item: 2
|
||||||
book: 1
|
book: 1
|
||||||
soul_speed:
|
minecraft:soul_speed:
|
||||||
item: 8
|
item: 8
|
||||||
book: 4
|
book: 4
|
||||||
swift_sneak:
|
minecraft:swift_sneak:
|
||||||
item: 8
|
item: 8
|
||||||
book: 4
|
book: 4
|
||||||
sweeping:
|
minecraft:sweeping:
|
||||||
item: 4
|
item: 4
|
||||||
book: 2
|
book: 2
|
||||||
sweeping_edge:
|
minecraft:sweeping_edge:
|
||||||
item: 4
|
item: 4
|
||||||
book: 2
|
book: 2
|
||||||
thorns:
|
minecraft:thorns:
|
||||||
item: 8
|
item: 8
|
||||||
book: 4
|
book: 4
|
||||||
unbreaking:
|
minecraft:unbreaking:
|
||||||
item: 2
|
item: 2
|
||||||
book: 1
|
book: 1
|
||||||
vanishing_curse:
|
minecraft:vanishing_curse:
|
||||||
item: 8
|
item: 8
|
||||||
book: 4
|
book: 4
|
||||||
density:
|
|
||||||
item: 1
|
# Disable enchantment merging for level above the set value
|
||||||
book: 1
|
# Enchantment merging is when, for example, 2 unbreaking II book combine to give sharpness III
|
||||||
breach:
|
# But Enchantment above this value can still be applied. following the previous example, we could still apply a unbreaking III book to a sword
|
||||||
item: 4
|
# Even if disable-merge-over of unbreaking is set to 2
|
||||||
book: 2
|
# -1 mean enchantment merge for this enchantment is not disabled. default to -1 if absent.
|
||||||
wind_burst:
|
disable-merge-over:
|
||||||
item: 4
|
# Sharpness is set to -1. it equivalent to it not being set to anything (and work as vanilla)
|
||||||
book: 2
|
minecraft:sharpness: -1
|
||||||
|
# If uncommented. 2 unbreaking II book would not give an unbreaking III book. but unbreaking III book can still be applied
|
||||||
|
#minecraft:unbreaking: 2
|
||||||
|
|
||||||
# Whether to show debug logging
|
# Whether to show debug logging
|
||||||
debug_log: false
|
debug_log: false
|
||||||
|
|
@ -296,4 +295,3 @@ debug_log_verbose: false
|
||||||
force_protocolib: false
|
force_protocolib: false
|
||||||
|
|
||||||
configVersion: 1.6.2
|
configVersion: 1.6.2
|
||||||
lowMinecraftVersion: '1.21'
|
|
||||||
|
|
|
||||||
|
|
@ -17,158 +17,158 @@
|
||||||
# ----------------------------------------------------
|
# ----------------------------------------------------
|
||||||
|
|
||||||
restriction_aqua_affinity:
|
restriction_aqua_affinity:
|
||||||
enchantments: [ aqua_affinity ]
|
enchantments: [ minecraft:aqua_affinity ]
|
||||||
notAffectedGroups: [ enchanted_book, helmets ]
|
notAffectedGroups: [ enchanted_book, helmets ]
|
||||||
|
|
||||||
restriction_bane_of_arthropods:
|
restriction_bane_of_arthropods:
|
||||||
enchantments: [ bane_of_arthropods ]
|
enchantments: [ minecraft:bane_of_arthropods ]
|
||||||
notAffectedGroups: [ enchanted_book, melee_weapons ]
|
notAffectedGroups: [ enchanted_book, melee_weapons ]
|
||||||
|
|
||||||
restriction_blast_protection:
|
restriction_blast_protection:
|
||||||
enchantments: [ blast_protection ]
|
enchantments: [ minecraft:blast_protection ]
|
||||||
notAffectedGroups: [ enchanted_book, armors ]
|
notAffectedGroups: [ enchanted_book, armors ]
|
||||||
|
|
||||||
restriction_channeling:
|
restriction_channeling:
|
||||||
enchantments: [ channeling ]
|
enchantments: [ minecraft:channeling ]
|
||||||
notAffectedGroups: [ enchanted_book, trident ]
|
notAffectedGroups: [ enchanted_book, trident ]
|
||||||
|
|
||||||
restriction_binding_curse:
|
restriction_binding_curse:
|
||||||
enchantments: [ binding_curse ]
|
enchantments: [ minecraft:binding_curse ]
|
||||||
notAffectedGroups: [ enchanted_book, wearable ]
|
notAffectedGroups: [ enchanted_book, wearable ]
|
||||||
|
|
||||||
restriction_vanishing_curse:
|
restriction_vanishing_curse:
|
||||||
enchantments: [ vanishing_curse ]
|
enchantments: [ minecraft:vanishing_curse ]
|
||||||
notAffectedGroups: [ enchanted_book, can_vanish ]
|
notAffectedGroups: [ enchanted_book, can_vanish ]
|
||||||
|
|
||||||
restriction_depth_strider:
|
restriction_depth_strider:
|
||||||
enchantments: [ depth_strider ]
|
enchantments: [ minecraft:depth_strider ]
|
||||||
notAffectedGroups: [ enchanted_book, boots ]
|
notAffectedGroups: [ enchanted_book, boots ]
|
||||||
|
|
||||||
restriction_efficiency:
|
restriction_efficiency:
|
||||||
enchantments: [ efficiency ]
|
enchantments: [ minecraft:efficiency ]
|
||||||
notAffectedGroups: [ enchanted_book, tools, shears ]
|
notAffectedGroups: [ enchanted_book, tools, shears ]
|
||||||
|
|
||||||
restriction_feather_falling:
|
restriction_feather_falling:
|
||||||
enchantments: [ feather_falling ]
|
enchantments: [ minecraft:feather_falling ]
|
||||||
notAffectedGroups: [ enchanted_book, boots ]
|
notAffectedGroups: [ enchanted_book, boots ]
|
||||||
|
|
||||||
restriction_fire_aspect:
|
restriction_fire_aspect:
|
||||||
enchantments: [ fire_aspect ]
|
enchantments: [ minecraft:fire_aspect ]
|
||||||
notAffectedGroups: [ enchanted_book, swords ]
|
notAffectedGroups: [ enchanted_book, swords ]
|
||||||
|
|
||||||
restriction_fire_protection:
|
restriction_fire_protection:
|
||||||
enchantments: [ fire_protection ]
|
enchantments: [ minecraft:fire_protection ]
|
||||||
notAffectedGroups: [ enchanted_book, armors ]
|
notAffectedGroups: [ enchanted_book, armors ]
|
||||||
|
|
||||||
restriction_flame:
|
restriction_flame:
|
||||||
enchantments: [ flame ]
|
enchantments: [ minecraft:flame ]
|
||||||
notAffectedGroups: [ enchanted_book, bow ]
|
notAffectedGroups: [ enchanted_book, bow ]
|
||||||
|
|
||||||
restriction_fortune:
|
restriction_fortune:
|
||||||
enchantments: [ fortune ]
|
enchantments: [ minecraft:fortune ]
|
||||||
notAffectedGroups: [ enchanted_book, tools ]
|
notAffectedGroups: [ enchanted_book, tools ]
|
||||||
|
|
||||||
restriction_frost_walker:
|
restriction_frost_walker:
|
||||||
enchantments: [ frost_walker ]
|
enchantments: [ minecraft:frost_walker ]
|
||||||
notAffectedGroups: [ enchanted_book, boots ]
|
notAffectedGroups: [ enchanted_book, boots ]
|
||||||
|
|
||||||
restriction_impaling:
|
restriction_impaling:
|
||||||
enchantments: [ impaling ]
|
enchantments: [ minecraft:impaling ]
|
||||||
notAffectedGroups: [ enchanted_book, trident ]
|
notAffectedGroups: [ enchanted_book, trident ]
|
||||||
|
|
||||||
restriction_infinity:
|
restriction_infinity:
|
||||||
enchantments: [ infinity ]
|
enchantments: [ minecraft:infinity ]
|
||||||
notAffectedGroups: [ enchanted_book, bow ]
|
notAffectedGroups: [ enchanted_book, bow ]
|
||||||
|
|
||||||
restriction_knockback:
|
restriction_knockback:
|
||||||
enchantments: [ knockback ]
|
enchantments: [ minecraft:knockback ]
|
||||||
notAffectedGroups: [ enchanted_book, swords ]
|
notAffectedGroups: [ enchanted_book, swords ]
|
||||||
|
|
||||||
restriction_looting:
|
restriction_looting:
|
||||||
enchantments: [ looting ]
|
enchantments: [ minecraft:looting ]
|
||||||
notAffectedGroups: [ enchanted_book, swords ]
|
notAffectedGroups: [ enchanted_book, swords ]
|
||||||
|
|
||||||
restriction_loyalty:
|
restriction_loyalty:
|
||||||
enchantments: [ loyalty ]
|
enchantments: [ minecraft:loyalty ]
|
||||||
notAffectedGroups: [ enchanted_book, trident ]
|
notAffectedGroups: [ enchanted_book, trident ]
|
||||||
|
|
||||||
restriction_lure:
|
restriction_lure:
|
||||||
enchantments: [ lure ]
|
enchantments: [ minecraft:lure ]
|
||||||
notAffectedGroups: [ enchanted_book, fishing_rod ]
|
notAffectedGroups: [ enchanted_book, fishing_rod ]
|
||||||
|
|
||||||
restriction_mending:
|
restriction_mending:
|
||||||
enchantments: [ mending ]
|
enchantments: [ minecraft:mending ]
|
||||||
notAffectedGroups: [ enchanted_book, can_unbreak ]
|
notAffectedGroups: [ enchanted_book, can_unbreak ]
|
||||||
|
|
||||||
restriction_multishot:
|
restriction_minecraft_multishot:
|
||||||
enchantments: [ multishot ]
|
enchantments: [ minecraft:multishot ]
|
||||||
notAffectedGroups: [ enchanted_book, crossbow ]
|
notAffectedGroups: [ enchanted_book, crossbow ]
|
||||||
|
|
||||||
restriction_piercing:
|
restriction_piercing:
|
||||||
enchantments: [ piercing ]
|
enchantments: [ minecraft:piercing ]
|
||||||
notAffectedGroups: [ enchanted_book, crossbow ]
|
notAffectedGroups: [ enchanted_book, crossbow ]
|
||||||
|
|
||||||
restriction_power:
|
restriction_power:
|
||||||
enchantments: [ power ]
|
enchantments: [ minecraft:power ]
|
||||||
notAffectedGroups: [ enchanted_book, bow ]
|
notAffectedGroups: [ enchanted_book, bow ]
|
||||||
|
|
||||||
restriction_projectile_protection:
|
restriction_projectile_protection:
|
||||||
enchantments: [ projectile_protection ]
|
enchantments: [ minecraft:projectile_protection ]
|
||||||
notAffectedGroups: [ enchanted_book, armors ]
|
notAffectedGroups: [ enchanted_book, armors ]
|
||||||
|
|
||||||
restriction_protection:
|
restriction_protection:
|
||||||
enchantments: [ protection ]
|
enchantments: [ minecraft:protection ]
|
||||||
notAffectedGroups: [ enchanted_book, armors ]
|
notAffectedGroups: [ enchanted_book, armors ]
|
||||||
|
|
||||||
restriction_punch:
|
restriction_punch:
|
||||||
enchantments: [ punch ]
|
enchantments: [ minecraft:punch ]
|
||||||
notAffectedGroups: [ enchanted_book, bow ]
|
notAffectedGroups: [ enchanted_book, bow ]
|
||||||
|
|
||||||
restriction_quick_charge:
|
restriction_quick_charge:
|
||||||
enchantments: [ quick_charge ]
|
enchantments: [ minecraft:quick_charge ]
|
||||||
notAffectedGroups: [ enchanted_book, crossbow ]
|
notAffectedGroups: [ enchanted_book, crossbow ]
|
||||||
|
|
||||||
restriction_respiration:
|
restriction_respiration:
|
||||||
enchantments: [ respiration ]
|
enchantments: [ minecraft:respiration ]
|
||||||
notAffectedGroups: [ enchanted_book, helmets ]
|
notAffectedGroups: [ enchanted_book, helmets ]
|
||||||
|
|
||||||
restriction_riptide:
|
restriction_riptide:
|
||||||
enchantments: [ riptide ]
|
enchantments: [ minecraft:riptide ]
|
||||||
notAffectedGroups: [ enchanted_book, trident ]
|
notAffectedGroups: [ enchanted_book, trident ]
|
||||||
|
|
||||||
restriction_sharpness:
|
restriction_sharpness:
|
||||||
enchantments: [ sharpness ]
|
enchantments: [ minecraft:sharpness ]
|
||||||
notAffectedGroups: [ enchanted_book, melee_weapons ]
|
notAffectedGroups: [ enchanted_book, melee_weapons ]
|
||||||
|
|
||||||
restriction_silk_touch:
|
restriction__silk_touch:
|
||||||
enchantments: [ silk_touch ]
|
enchantments: [ minecraft:silk_touch ]
|
||||||
notAffectedGroups: [ enchanted_book, tools ]
|
notAffectedGroups: [ enchanted_book, tools ]
|
||||||
|
|
||||||
restriction_smite:
|
restriction_smite:
|
||||||
enchantments: [ smite ]
|
enchantments: [ minecraft:smite ]
|
||||||
notAffectedGroups: [ enchanted_book, melee_weapons ]
|
notAffectedGroups: [ enchanted_book, melee_weapons ]
|
||||||
|
|
||||||
restriction_soul_speed:
|
restriction_soul_speed:
|
||||||
enchantments: [ soul_speed ]
|
enchantments: [ minecraft:soul_speed ]
|
||||||
notAffectedGroups: [ enchanted_book, boots ]
|
notAffectedGroups: [ enchanted_book, boots ]
|
||||||
|
|
||||||
restriction_sweeping_edge:
|
restriction_sweeping_edge:
|
||||||
enchantments: [ sweeping, sweeping_edge ]
|
enchantments: [ minecraft:sweeping, minecraft:sweeping_edge ]
|
||||||
notAffectedGroups: [ enchanted_book, swords ]
|
notAffectedGroups: [ enchanted_book, swords ]
|
||||||
|
|
||||||
# Do not exist in 1.18, that mean useInFuture will be set to true
|
# Do not exist in 1.18, that mean useInFuture will be set to true
|
||||||
# useInFuture set to true also mean it will not warn if there is an issue
|
# useInFuture set to true also mean it will not warn if there is an issue
|
||||||
restriction_swift_sneak:
|
restriction_swift_sneak:
|
||||||
useInFuture: true
|
useInFuture: true
|
||||||
enchantments: [ swift_sneak ]
|
enchantments: [ minecraft:swift_sneak ]
|
||||||
notAffectedGroups: [ enchanted_book, leggings ]
|
notAffectedGroups: [ enchanted_book, leggings ]
|
||||||
|
|
||||||
restriction_thorns:
|
restriction_thorns:
|
||||||
enchantments: [ thorns ]
|
enchantments: [ minecraft:thorns ]
|
||||||
notAffectedGroups: [ enchanted_book, armors ]
|
notAffectedGroups: [ enchanted_book, armors ]
|
||||||
|
|
||||||
restriction_unbreaking:
|
restriction__unbreaking:
|
||||||
enchantments: [ unbreaking ]
|
enchantments: [ minecraft:unbreaking ]
|
||||||
notAffectedGroups: [ enchanted_book, can_unbreak ]
|
notAffectedGroups: [ enchanted_book, can_unbreak ]
|
||||||
|
|
||||||
# ----------------------------------------------------
|
# ----------------------------------------------------
|
||||||
|
|
@ -180,60 +180,60 @@ restriction_unbreaking:
|
||||||
|
|
||||||
sword_enchant_conflict:
|
sword_enchant_conflict:
|
||||||
enchantments:
|
enchantments:
|
||||||
- bane_of_arthropods
|
- minecraft:bane_of_arthropods
|
||||||
- smite
|
- minecraft:smite
|
||||||
- sharpness
|
- minecraft:sharpness
|
||||||
notAffectedGroups: [ ]
|
notAffectedGroups: [ ]
|
||||||
maxEnchantmentBeforeConflict: 1
|
maxEnchantmentBeforeConflict: 1
|
||||||
|
|
||||||
protection_enchant_conflict:
|
protection_enchant_conflict:
|
||||||
enchantments:
|
enchantments:
|
||||||
- blast_protection
|
- minecraft:blast_protection
|
||||||
- fire_protection
|
- minecraft:fire_protection
|
||||||
- projectile_protection
|
- minecraft:projectile_protection
|
||||||
- protection
|
- minecraft:protection
|
||||||
notAffectedGroups: [ ]
|
notAffectedGroups: [ ]
|
||||||
maxEnchantmentBeforeConflict: 1
|
maxEnchantmentBeforeConflict: 1
|
||||||
|
|
||||||
trident_conflict1:
|
trident_conflict1:
|
||||||
enchantments:
|
enchantments:
|
||||||
- channeling
|
- minecraft:channeling
|
||||||
- riptide
|
- minecraft:riptide
|
||||||
notAffectedGroups: [ ]
|
notAffectedGroups: [ ]
|
||||||
maxEnchantmentBeforeConflict: 1
|
maxEnchantmentBeforeConflict: 1
|
||||||
|
|
||||||
trident_conflict2:
|
trident_conflict2:
|
||||||
enchantments:
|
enchantments:
|
||||||
- loyalty
|
- minecraft:loyalty
|
||||||
- riptide
|
- minecraft:riptide
|
||||||
notAffectedGroups: [ ]
|
notAffectedGroups: [ ]
|
||||||
maxEnchantmentBeforeConflict: 1
|
maxEnchantmentBeforeConflict: 1
|
||||||
|
|
||||||
boot_conflict:
|
boot_conflict:
|
||||||
enchantments:
|
enchantments:
|
||||||
- depth_strider
|
- minecraft:depth_strider
|
||||||
- frost_walker
|
- minecraft:frost_walker
|
||||||
notAffectedGroups: [ ]
|
notAffectedGroups: [ ]
|
||||||
maxEnchantmentBeforeConflict: 1
|
maxEnchantmentBeforeConflict: 1
|
||||||
|
|
||||||
tool_conflict:
|
tool_conflict:
|
||||||
enchantments:
|
enchantments:
|
||||||
- fortune
|
- minecraft:fortune
|
||||||
- silk_touch
|
- minecraft:silk_touch
|
||||||
notAffectedGroups: [ ]
|
notAffectedGroups: [ ]
|
||||||
maxEnchantmentBeforeConflict: 1
|
maxEnchantmentBeforeConflict: 1
|
||||||
|
|
||||||
bow_conflict:
|
bow_conflict:
|
||||||
enchantments:
|
enchantments:
|
||||||
- mending
|
- minecraft:mending
|
||||||
- infinity
|
- minecraft:infinity
|
||||||
notAffectedGroups: [ ]
|
notAffectedGroups: [ ]
|
||||||
maxEnchantmentBeforeConflict: 1
|
maxEnchantmentBeforeConflict: 1
|
||||||
|
|
||||||
crossbow_conflict:
|
crossbow_conflict:
|
||||||
enchantments:
|
enchantments:
|
||||||
- multishot
|
- minecraft:multishot
|
||||||
- piercing
|
- minecraft:piercing
|
||||||
notAffectedGroups: [ ]
|
notAffectedGroups: [ ]
|
||||||
maxEnchantmentBeforeConflict: 1
|
maxEnchantmentBeforeConflict: 1
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -97,49 +97,46 @@ default_limit: 5
|
||||||
#
|
#
|
||||||
# Valid range of 1 - 255 for each enchantment
|
# Valid range of 1 - 255 for each enchantment
|
||||||
enchant_limits:
|
enchant_limits:
|
||||||
aqua_affinity: 1
|
minecraft:aqua_affinity: 1
|
||||||
binding_curse: 1
|
minecraft:binding_curse: 1
|
||||||
channeling: 1
|
minecraft:channeling: 1
|
||||||
flame: 1
|
minecraft:flame: 1
|
||||||
infinity: 1
|
minecraft:infinity: 1
|
||||||
mending: 1
|
minecraft:mending: 1
|
||||||
multishot: 1
|
minecraft:multishot: 1
|
||||||
silk_touch: 1
|
minecraft:silk_touch: 1
|
||||||
vanishing_curse: 1
|
minecraft:vanishing_curse: 1
|
||||||
depth_strider: 3 # anything more than 3 is treated as 3 by the game
|
minecraft:depth_strider: 3 # anything more than 3 is treated as 3 by the game
|
||||||
protection: 4
|
minecraft:protection: 4
|
||||||
fire_protection: 4
|
minecraft:fire_protection: 4
|
||||||
blast_protection: 4
|
minecraft:blast_protection: 4
|
||||||
projectile_protection: 4
|
minecraft:projectile_protection: 4
|
||||||
feather_falling: 4
|
minecraft:feather_falling: 4
|
||||||
thorns: 3
|
minecraft:thorns: 3
|
||||||
respiration: 3
|
minecraft:respiration: 3
|
||||||
sharpness: 5
|
minecraft:sharpness: 5
|
||||||
smite: 5
|
minecraft:smite: 5
|
||||||
bane_of_arthropods: 5
|
minecraft:bane_of_arthropods: 5
|
||||||
knockback: 2
|
minecraft:knockback: 2
|
||||||
fire_aspect: 2
|
minecraft:fire_aspect: 2
|
||||||
looting: 3
|
minecraft:looting: 3
|
||||||
sweeping: 3
|
minecraft:sweeping: 3
|
||||||
sweeping_edge: 3
|
minecraft:sweeping_edge: 3
|
||||||
efficiency: 5
|
minecraft:efficiency: 5
|
||||||
unbreaking: 3
|
minecraft:unbreaking: 3
|
||||||
fortune: 3
|
minecraft:fortune: 3
|
||||||
power: 5
|
minecraft:power: 5
|
||||||
punch: 2
|
minecraft:punch: 2
|
||||||
luck_of_the_sea: 3
|
minecraft:luck_of_the_sea: 3
|
||||||
lure: 3
|
minecraft:lure: 3
|
||||||
frost_walker: 2
|
minecraft:frost_walker: 2
|
||||||
impaling: 5
|
minecraft:impaling: 5
|
||||||
riptide: 3
|
minecraft:riptide: 3
|
||||||
loyalty: 3
|
minecraft:loyalty: 3
|
||||||
piercing: 4
|
minecraft:piercing: 4
|
||||||
quick_charge: 3
|
minecraft:quick_charge: 3
|
||||||
soul_speed: 3
|
minecraft:soul_speed: 3
|
||||||
swift_sneak: 3
|
minecraft:swift_sneak: 3
|
||||||
density: 5
|
|
||||||
breach: 4
|
|
||||||
wind_burst: 3
|
|
||||||
|
|
||||||
# Multipliers used to calculate the enchantment's value in repair/combining
|
# Multipliers used to calculate the enchantment's value in repair/combining
|
||||||
#
|
#
|
||||||
|
|
@ -153,135 +150,137 @@ enchant_limits:
|
||||||
# With default values protection 4 would have a value of 4 when
|
# With default values protection 4 would have a value of 4 when
|
||||||
# coming from either a book (4 * 1) or an item (4 * 1)
|
# coming from either a book (4 * 1) or an item (4 * 1)
|
||||||
enchant_values:
|
enchant_values:
|
||||||
aqua_affinity:
|
minecraft:aqua_affinity:
|
||||||
item: 4
|
item: 4
|
||||||
book: 2
|
book: 2
|
||||||
bane_of_arthropods:
|
minecraft:bane_of_arthropods:
|
||||||
item: 2
|
item: 2
|
||||||
book: 1
|
book: 1
|
||||||
binding_curse:
|
minecraft:binding_curse:
|
||||||
item: 8
|
item: 8
|
||||||
book: 4
|
book: 4
|
||||||
blast_protection:
|
minecraft:blast_protection:
|
||||||
item: 4
|
item: 4
|
||||||
book: 2
|
book: 2
|
||||||
channeling:
|
minecraft:channeling:
|
||||||
item: 8
|
item: 8
|
||||||
book: 4
|
book: 4
|
||||||
depth_strider:
|
minecraft:depth_strider:
|
||||||
item: 4
|
item: 4
|
||||||
book: 2
|
book: 2
|
||||||
efficiency:
|
minecraft:efficiency:
|
||||||
item: 1
|
item: 1
|
||||||
book: 1
|
book: 1
|
||||||
flame:
|
minecraft:flame:
|
||||||
item: 4
|
item: 4
|
||||||
book: 2
|
book: 2
|
||||||
feather_falling:
|
minecraft:feather_falling:
|
||||||
item: 2
|
item: 2
|
||||||
book: 1
|
book: 1
|
||||||
fire_aspect:
|
minecraft:fire_aspect:
|
||||||
item: 4
|
item: 4
|
||||||
book: 2
|
book: 2
|
||||||
fire_protection:
|
minecraft:fire_protection:
|
||||||
item: 2
|
item: 2
|
||||||
book: 1
|
book: 1
|
||||||
fortune:
|
minecraft:fortune:
|
||||||
item: 4
|
item: 4
|
||||||
book: 2
|
book: 2
|
||||||
frost_walker:
|
minecraft:frost_walker:
|
||||||
item: 4
|
item: 4
|
||||||
book: 2
|
book: 2
|
||||||
impaling:
|
minecraft:impaling:
|
||||||
item: 4
|
item: 4
|
||||||
book: 2
|
book: 2
|
||||||
infinity:
|
minecraft:infinity:
|
||||||
item: 8
|
item: 8
|
||||||
book: 4
|
book: 4
|
||||||
knockback:
|
minecraft:knockback:
|
||||||
item: 2
|
item: 2
|
||||||
book: 1
|
book: 1
|
||||||
looting:
|
minecraft:looting:
|
||||||
item: 4
|
item: 4
|
||||||
book: 2
|
book: 2
|
||||||
loyalty:
|
minecraft:loyalty:
|
||||||
item: 1
|
item: 1
|
||||||
book: 1
|
book: 1
|
||||||
luck_of_the_sea:
|
minecraft:luck_of_the_sea:
|
||||||
item: 4
|
item: 4
|
||||||
book: 2
|
book: 2
|
||||||
lure:
|
minecraft:lure:
|
||||||
item: 4
|
item: 4
|
||||||
book: 2
|
book: 2
|
||||||
mending:
|
minecraft:mending:
|
||||||
item: 4
|
item: 4
|
||||||
book: 2
|
book: 2
|
||||||
multishot:
|
minecraft:multishot:
|
||||||
item: 4
|
item: 4
|
||||||
book: 2
|
book: 2
|
||||||
piercing:
|
minecraft:piercing:
|
||||||
item: 1
|
item: 1
|
||||||
book: 1
|
book: 1
|
||||||
power:
|
minecraft:power:
|
||||||
item: 1
|
item: 1
|
||||||
book: 1
|
book: 1
|
||||||
projectile_protection:
|
minecraft:projectile_protection:
|
||||||
item: 2
|
item: 2
|
||||||
book: 1
|
book: 1
|
||||||
protection:
|
minecraft:protection:
|
||||||
item: 1
|
item: 1
|
||||||
book: 1
|
book: 1
|
||||||
punch:
|
minecraft:punch:
|
||||||
item: 4
|
item: 4
|
||||||
book: 2
|
book: 2
|
||||||
quick_charge:
|
minecraft:quick_charge:
|
||||||
item: 2
|
item: 2
|
||||||
book: 1
|
book: 1
|
||||||
respiration:
|
minecraft:respiration:
|
||||||
item: 4
|
item: 4
|
||||||
book: 2
|
book: 2
|
||||||
riptide:
|
minecraft:riptide:
|
||||||
item: 4
|
item: 4
|
||||||
book: 2
|
book: 2
|
||||||
silk_touch:
|
minecraft:silk_touch:
|
||||||
item: 8
|
item: 8
|
||||||
book: 4
|
book: 4
|
||||||
sharpness:
|
minecraft:sharpness:
|
||||||
item: 1
|
item: 1
|
||||||
book: 1
|
book: 1
|
||||||
smite:
|
minecraft:smite:
|
||||||
item: 2
|
item: 2
|
||||||
book: 1
|
book: 1
|
||||||
soul_speed:
|
minecraft:soul_speed:
|
||||||
item: 8
|
item: 8
|
||||||
book: 4
|
book: 4
|
||||||
swift_sneak:
|
minecraft:swift_sneak:
|
||||||
item: 8
|
item: 8
|
||||||
book: 4
|
book: 4
|
||||||
sweeping:
|
minecraft:sweeping:
|
||||||
item: 4
|
item: 4
|
||||||
book: 2
|
book: 2
|
||||||
sweeping_edge:
|
minecraft:sweeping_edge:
|
||||||
item: 4
|
item: 4
|
||||||
book: 2
|
book: 2
|
||||||
thorns:
|
minecraft:thorns:
|
||||||
item: 8
|
item: 8
|
||||||
book: 4
|
book: 4
|
||||||
unbreaking:
|
minecraft:unbreaking:
|
||||||
item: 2
|
item: 2
|
||||||
book: 1
|
book: 1
|
||||||
vanishing_curse:
|
minecraft:vanishing_curse:
|
||||||
item: 8
|
item: 8
|
||||||
book: 4
|
book: 4
|
||||||
density:
|
|
||||||
item: 1
|
# Disable enchantment merging for level above the set value
|
||||||
book: 1
|
# Enchantment merging is when, for example, 2 unbreaking II book combine to give sharpness III
|
||||||
breach:
|
# But Enchantment above this value can still be applied. following the previous example, we could still apply a unbreaking III book to a sword
|
||||||
item: 4
|
# Even if disable-merge-over of unbreaking is set to 2
|
||||||
book: 2
|
# -1 mean enchantment merge for this enchantment is not disabled. default to -1 if absent.
|
||||||
wind_burst:
|
disable-merge-over:
|
||||||
item: 4
|
# Sharpness is set to -1. it equivalent to it not being set to anything (and work as vanilla)
|
||||||
book: 2
|
minecraft:sharpness: -1
|
||||||
|
# If uncommented. 2 unbreaking II book would not give an unbreaking III book. but unbreaking III book can still be applied
|
||||||
|
#minecraft:unbreaking: 2
|
||||||
|
|
||||||
# Whether to show debug logging
|
# Whether to show debug logging
|
||||||
debug_log: false
|
debug_log: false
|
||||||
|
|
@ -296,4 +295,3 @@ debug_log_verbose: false
|
||||||
force_protocolib: false
|
force_protocolib: false
|
||||||
|
|
||||||
configVersion: 1.6.2
|
configVersion: 1.6.2
|
||||||
lowMinecraftVersion: '1.21'
|
|
||||||
|
|
|
||||||
|
|
@ -17,278 +17,159 @@
|
||||||
# ----------------------------------------------------
|
# ----------------------------------------------------
|
||||||
|
|
||||||
restriction_aqua_affinity:
|
restriction_aqua_affinity:
|
||||||
enchantments:
|
enchantments: [ minecraft:aqua_affinity ]
|
||||||
- aqua_affinity
|
notAffectedGroups: [ enchanted_book, helmets ]
|
||||||
notAffectedGroups:
|
|
||||||
- enchanted_book
|
|
||||||
- helmets
|
|
||||||
|
|
||||||
restriction_bane_of_arthropods:
|
restriction_bane_of_arthropods:
|
||||||
enchantments:
|
enchantments: [ minecraft:bane_of_arthropods ]
|
||||||
- bane_of_arthropods
|
notAffectedGroups: [ enchanted_book, melee_weapons ]
|
||||||
notAffectedGroups:
|
|
||||||
- enchanted_book
|
|
||||||
- melee_weapons
|
|
||||||
- mace
|
|
||||||
|
|
||||||
restriction_blast_protection:
|
restriction_blast_protection:
|
||||||
enchantments:
|
enchantments: [ minecraft:blast_protection ]
|
||||||
- blast_protection
|
notAffectedGroups: [ enchanted_book, armors ]
|
||||||
notAffectedGroups:
|
|
||||||
- enchanted_book
|
|
||||||
- armors
|
|
||||||
|
|
||||||
restriction_channeling:
|
restriction_channeling:
|
||||||
enchantments:
|
enchantments: [ minecraft:channeling ]
|
||||||
- channeling
|
notAffectedGroups: [ enchanted_book, trident ]
|
||||||
notAffectedGroups:
|
|
||||||
- enchanted_book
|
|
||||||
- trident
|
|
||||||
|
|
||||||
restriction_binding_curse:
|
restriction_binding_curse:
|
||||||
enchantments:
|
enchantments: [ minecraft:binding_curse ]
|
||||||
- binding_curse
|
notAffectedGroups: [ enchanted_book, wearable ]
|
||||||
notAffectedGroups:
|
|
||||||
- enchanted_book
|
|
||||||
- wearable
|
|
||||||
|
|
||||||
restriction_vanishing_curse:
|
restriction_vanishing_curse:
|
||||||
enchantments:
|
enchantments: [ minecraft:vanishing_curse ]
|
||||||
- vanishing_curse
|
notAffectedGroups: [ enchanted_book, can_vanish ]
|
||||||
notAffectedGroups:
|
|
||||||
- enchanted_book
|
|
||||||
- can_vanish
|
|
||||||
|
|
||||||
restriction_depth_strider:
|
restriction_depth_strider:
|
||||||
enchantments:
|
enchantments: [ minecraft:depth_strider ]
|
||||||
- depth_strider
|
notAffectedGroups: [ enchanted_book, boots ]
|
||||||
notAffectedGroups:
|
|
||||||
- enchanted_book
|
|
||||||
- boots
|
|
||||||
|
|
||||||
restriction_efficiency:
|
restriction_efficiency:
|
||||||
enchantments:
|
enchantments: [ minecraft:efficiency ]
|
||||||
- efficiency
|
notAffectedGroups: [ enchanted_book, tools, shears ]
|
||||||
notAffectedGroups:
|
|
||||||
- enchanted_book
|
|
||||||
- tools
|
|
||||||
- shears
|
|
||||||
|
|
||||||
restriction_feather_falling:
|
restriction_feather_falling:
|
||||||
enchantments:
|
enchantments: [ minecraft:feather_falling ]
|
||||||
- feather_falling
|
notAffectedGroups: [ enchanted_book, boots ]
|
||||||
notAffectedGroups:
|
|
||||||
- enchanted_book
|
|
||||||
- boots
|
|
||||||
|
|
||||||
restriction_fire_aspect:
|
restriction_fire_aspect:
|
||||||
enchantments:
|
enchantments: [ minecraft:fire_aspect ]
|
||||||
- fire_aspect
|
notAffectedGroups: [ enchanted_book, swords ]
|
||||||
notAffectedGroups:
|
|
||||||
- enchanted_book
|
|
||||||
- swords
|
|
||||||
- mace
|
|
||||||
|
|
||||||
restriction_fire_protection:
|
restriction_fire_protection:
|
||||||
enchantments:
|
enchantments: [ minecraft:fire_protection ]
|
||||||
- fire_protection
|
notAffectedGroups: [ enchanted_book, armors ]
|
||||||
notAffectedGroups:
|
|
||||||
- enchanted_book
|
|
||||||
- armors
|
|
||||||
|
|
||||||
restriction_flame:
|
restriction_flame:
|
||||||
enchantments:
|
enchantments: [ minecraft:flame ]
|
||||||
- flame
|
notAffectedGroups: [ enchanted_book, bow ]
|
||||||
notAffectedGroups:
|
|
||||||
- enchanted_book
|
|
||||||
- bow
|
|
||||||
|
|
||||||
restriction_fortune:
|
restriction_fortune:
|
||||||
enchantments:
|
enchantments: [ minecraft:fortune ]
|
||||||
- fortune
|
notAffectedGroups: [ enchanted_book, tools ]
|
||||||
notAffectedGroups:
|
|
||||||
- enchanted_book
|
|
||||||
- tools
|
|
||||||
|
|
||||||
restriction_frost_walker:
|
restriction_frost_walker:
|
||||||
enchantments:
|
enchantments: [ minecraft:frost_walker ]
|
||||||
- frost_walker
|
notAffectedGroups: [ enchanted_book, boots ]
|
||||||
notAffectedGroups:
|
|
||||||
- enchanted_book
|
|
||||||
- boots
|
|
||||||
|
|
||||||
restriction_impaling:
|
restriction_impaling:
|
||||||
enchantments:
|
enchantments: [ minecraft:impaling ]
|
||||||
- impaling
|
notAffectedGroups: [ enchanted_book, trident ]
|
||||||
notAffectedGroups:
|
|
||||||
- enchanted_book
|
|
||||||
- trident
|
|
||||||
|
|
||||||
restriction_infinity:
|
restriction_infinity:
|
||||||
enchantments:
|
enchantments: [ minecraft:infinity ]
|
||||||
- infinity
|
notAffectedGroups: [ enchanted_book, bow ]
|
||||||
notAffectedGroups:
|
|
||||||
- enchanted_book
|
|
||||||
- bow
|
|
||||||
|
|
||||||
restriction_knockback:
|
restriction_knockback:
|
||||||
enchantments:
|
enchantments: [ minecraft:knockback ]
|
||||||
- knockback
|
notAffectedGroups: [ enchanted_book, swords ]
|
||||||
notAffectedGroups:
|
|
||||||
- enchanted_book
|
|
||||||
- swords
|
|
||||||
|
|
||||||
restriction_looting:
|
restriction_looting:
|
||||||
enchantments:
|
enchantments: [ minecraft:looting ]
|
||||||
- looting
|
notAffectedGroups: [ enchanted_book, swords ]
|
||||||
notAffectedGroups:
|
|
||||||
- enchanted_book
|
|
||||||
- swords
|
|
||||||
|
|
||||||
restriction_loyalty:
|
restriction_loyalty:
|
||||||
enchantments:
|
enchantments: [ minecraft:loyalty ]
|
||||||
- loyalty
|
notAffectedGroups: [ enchanted_book, trident ]
|
||||||
notAffectedGroups:
|
|
||||||
- enchanted_book
|
|
||||||
- trident
|
|
||||||
|
|
||||||
restriction_lure:
|
restriction_lure:
|
||||||
enchantments:
|
enchantments: [ minecraft:lure ]
|
||||||
- lure
|
notAffectedGroups: [ enchanted_book, fishing_rod ]
|
||||||
notAffectedGroups:
|
|
||||||
- enchanted_book
|
|
||||||
- fishing_rod
|
|
||||||
|
|
||||||
restriction_mending:
|
restriction_mending:
|
||||||
enchantments:
|
enchantments: [ minecraft:mending ]
|
||||||
- mending
|
notAffectedGroups: [ enchanted_book, can_unbreak ]
|
||||||
notAffectedGroups:
|
|
||||||
- enchanted_book
|
|
||||||
- can_unbreak
|
|
||||||
|
|
||||||
restriction_multishot:
|
restriction_minecraft_multishot:
|
||||||
enchantments:
|
enchantments: [ minecraft:multishot ]
|
||||||
- multishot
|
notAffectedGroups: [ enchanted_book, crossbow ]
|
||||||
notAffectedGroups:
|
|
||||||
- enchanted_book
|
|
||||||
- crossbow
|
|
||||||
|
|
||||||
restriction_piercing:
|
restriction_piercing:
|
||||||
enchantments:
|
enchantments: [ minecraft:piercing ]
|
||||||
- piercing
|
notAffectedGroups: [ enchanted_book, crossbow ]
|
||||||
notAffectedGroups:
|
|
||||||
- enchanted_book
|
|
||||||
- crossbow
|
|
||||||
|
|
||||||
restriction_power:
|
restriction_power:
|
||||||
enchantments:
|
enchantments: [ minecraft:power ]
|
||||||
- power
|
notAffectedGroups: [ enchanted_book, bow ]
|
||||||
notAffectedGroups:
|
|
||||||
- enchanted_book
|
|
||||||
- bow
|
|
||||||
|
|
||||||
restriction_projectile_protection:
|
restriction_projectile_protection:
|
||||||
enchantments:
|
enchantments: [ minecraft:projectile_protection ]
|
||||||
- projectile_protection
|
notAffectedGroups: [ enchanted_book, armors ]
|
||||||
notAffectedGroups:
|
|
||||||
- enchanted_book
|
|
||||||
- armors
|
|
||||||
|
|
||||||
restriction_protection:
|
restriction_protection:
|
||||||
enchantments:
|
enchantments: [ minecraft:protection ]
|
||||||
- protection
|
notAffectedGroups: [ enchanted_book, armors ]
|
||||||
notAffectedGroups:
|
|
||||||
- enchanted_book
|
|
||||||
- armors
|
|
||||||
|
|
||||||
restriction_punch:
|
restriction_punch:
|
||||||
enchantments:
|
enchantments: [ minecraft:punch ]
|
||||||
- punch
|
notAffectedGroups: [ enchanted_book, bow ]
|
||||||
notAffectedGroups:
|
|
||||||
- enchanted_book
|
|
||||||
- bow
|
|
||||||
|
|
||||||
restriction_quick_charge:
|
restriction_quick_charge:
|
||||||
enchantments:
|
enchantments: [ minecraft:quick_charge ]
|
||||||
- quick_charge
|
notAffectedGroups: [ enchanted_book, crossbow ]
|
||||||
notAffectedGroups:
|
|
||||||
- enchanted_book
|
|
||||||
- crossbow
|
|
||||||
|
|
||||||
restriction_respiration:
|
restriction_respiration:
|
||||||
enchantments:
|
enchantments: [ minecraft:respiration ]
|
||||||
- respiration
|
notAffectedGroups: [ enchanted_book, helmets ]
|
||||||
notAffectedGroups:
|
|
||||||
- enchanted_book
|
|
||||||
- helmets
|
|
||||||
|
|
||||||
restriction_riptide:
|
restriction_riptide:
|
||||||
enchantments:
|
enchantments: [ minecraft:riptide ]
|
||||||
- riptide
|
notAffectedGroups: [ enchanted_book, trident ]
|
||||||
notAffectedGroups:
|
|
||||||
- enchanted_book
|
|
||||||
- trident
|
|
||||||
|
|
||||||
restriction_sharpness:
|
restriction_sharpness:
|
||||||
enchantments:
|
enchantments: [ minecraft:sharpness ]
|
||||||
- sharpness
|
notAffectedGroups: [ enchanted_book, melee_weapons ]
|
||||||
notAffectedGroups:
|
|
||||||
- enchanted_book
|
|
||||||
- melee_weapons
|
|
||||||
|
|
||||||
restriction_silk_touch:
|
restriction__silk_touch:
|
||||||
enchantments:
|
enchantments: [ minecraft:silk_touch ]
|
||||||
- silk_touch
|
notAffectedGroups: [ enchanted_book, tools ]
|
||||||
notAffectedGroups:
|
|
||||||
- enchanted_book
|
|
||||||
- tools
|
|
||||||
|
|
||||||
restriction_smite:
|
restriction_smite:
|
||||||
enchantments:
|
enchantments: [ minecraft:smite ]
|
||||||
- smite
|
notAffectedGroups: [ enchanted_book, melee_weapons ]
|
||||||
notAffectedGroups:
|
|
||||||
- enchanted_book
|
|
||||||
- melee_weapons
|
|
||||||
- mace
|
|
||||||
|
|
||||||
restriction_soul_speed:
|
restriction_soul_speed:
|
||||||
enchantments:
|
enchantments: [ minecraft:soul_speed ]
|
||||||
- soul_speed
|
notAffectedGroups: [ enchanted_book, boots ]
|
||||||
notAffectedGroups:
|
|
||||||
- enchanted_book
|
|
||||||
- boots
|
|
||||||
|
|
||||||
restriction_sweeping_edge:
|
restriction_sweeping_edge:
|
||||||
enchantments:
|
enchantments: [ minecraft:sweeping, minecraft:sweeping_edge ]
|
||||||
- sweeping
|
notAffectedGroups: [ enchanted_book, swords ]
|
||||||
- sweeping_edge
|
|
||||||
notAffectedGroups:
|
|
||||||
- enchanted_book
|
|
||||||
- swords
|
|
||||||
|
|
||||||
# Do not exist in 1.18, that mean useInFuture will be set to true
|
# Do not exist in 1.18, that mean useInFuture will be set to true
|
||||||
# useInFuture set to true also mean it will not warn if there is an issue
|
# useInFuture set to true also mean it will not warn if there is an issue
|
||||||
restriction_swift_sneak:
|
restriction_swift_sneak:
|
||||||
useInFuture: true
|
useInFuture: true
|
||||||
enchantments:
|
enchantments: [ minecraft:swift_sneak ]
|
||||||
- swift_sneak
|
notAffectedGroups: [ enchanted_book, leggings ]
|
||||||
notAffectedGroups:
|
|
||||||
- enchanted_book
|
|
||||||
- leggings
|
|
||||||
|
|
||||||
restriction_thorns:
|
restriction_thorns:
|
||||||
enchantments:
|
enchantments: [ minecraft:thorns ]
|
||||||
- thorns
|
notAffectedGroups: [ enchanted_book, armors ]
|
||||||
notAffectedGroups:
|
|
||||||
- enchanted_book
|
|
||||||
- armors
|
|
||||||
|
|
||||||
restriction_unbreaking:
|
restriction__unbreaking:
|
||||||
enchantments:
|
enchantments: [ minecraft:unbreaking ]
|
||||||
- unbreaking
|
notAffectedGroups: [ enchanted_book, can_unbreak ]
|
||||||
notAffectedGroups:
|
|
||||||
- enchanted_book
|
|
||||||
- can_unbreak
|
|
||||||
|
|
||||||
# ----------------------------------------------------
|
# ----------------------------------------------------
|
||||||
# Now we have conflicts about enchantment Incompatibility
|
# Now we have conflicts about enchantment Incompatibility
|
||||||
|
|
@ -299,86 +180,61 @@ restriction_unbreaking:
|
||||||
|
|
||||||
sword_enchant_conflict:
|
sword_enchant_conflict:
|
||||||
enchantments:
|
enchantments:
|
||||||
- bane_of_arthropods
|
- minecraft:bane_of_arthropods
|
||||||
- smite
|
- minecraft:smite
|
||||||
- sharpness
|
- minecraft:sharpness
|
||||||
notAffectedGroups: []
|
notAffectedGroups: [ ]
|
||||||
maxEnchantmentBeforeConflict: 1
|
maxEnchantmentBeforeConflict: 1
|
||||||
|
|
||||||
protection_enchant_conflict:
|
protection_enchant_conflict:
|
||||||
enchantments:
|
enchantments:
|
||||||
- blast_protection
|
- minecraft:blast_protection
|
||||||
- fire_protection
|
- minecraft:fire_protection
|
||||||
- projectile_protection
|
- minecraft:projectile_protection
|
||||||
- protection
|
- minecraft:protection
|
||||||
notAffectedGroups: []
|
notAffectedGroups: [ ]
|
||||||
maxEnchantmentBeforeConflict: 1
|
maxEnchantmentBeforeConflict: 1
|
||||||
|
|
||||||
trident_conflict1:
|
trident_conflict1:
|
||||||
enchantments:
|
enchantments:
|
||||||
- channeling
|
- minecraft:channeling
|
||||||
- riptide
|
- minecraft:riptide
|
||||||
notAffectedGroups: []
|
notAffectedGroups: [ ]
|
||||||
maxEnchantmentBeforeConflict: 1
|
maxEnchantmentBeforeConflict: 1
|
||||||
|
|
||||||
trident_conflict2:
|
trident_conflict2:
|
||||||
enchantments:
|
enchantments:
|
||||||
- loyalty
|
- minecraft:loyalty
|
||||||
- riptide
|
- minecraft:riptide
|
||||||
notAffectedGroups: []
|
notAffectedGroups: [ ]
|
||||||
maxEnchantmentBeforeConflict: 1
|
maxEnchantmentBeforeConflict: 1
|
||||||
|
|
||||||
boot_conflict:
|
boot_conflict:
|
||||||
enchantments:
|
enchantments:
|
||||||
- depth_strider
|
- minecraft:depth_strider
|
||||||
- frost_walker
|
- minecraft:frost_walker
|
||||||
notAffectedGroups: []
|
notAffectedGroups: [ ]
|
||||||
maxEnchantmentBeforeConflict: 1
|
maxEnchantmentBeforeConflict: 1
|
||||||
|
|
||||||
tool_conflict:
|
tool_conflict:
|
||||||
enchantments:
|
enchantments:
|
||||||
- fortune
|
- minecraft:fortune
|
||||||
- silk_touch
|
- minecraft:silk_touch
|
||||||
notAffectedGroups: []
|
notAffectedGroups: [ ]
|
||||||
maxEnchantmentBeforeConflict: 1
|
maxEnchantmentBeforeConflict: 1
|
||||||
|
|
||||||
bow_conflict:
|
bow_conflict:
|
||||||
enchantments:
|
enchantments:
|
||||||
- mending
|
- minecraft:mending
|
||||||
- infinity
|
- minecraft:infinity
|
||||||
notAffectedGroups: []
|
notAffectedGroups: [ ]
|
||||||
maxEnchantmentBeforeConflict: 1
|
maxEnchantmentBeforeConflict: 1
|
||||||
|
|
||||||
crossbow_conflict:
|
crossbow_conflict:
|
||||||
enchantments:
|
enchantments:
|
||||||
- multishot
|
- minecraft:multishot
|
||||||
- piercing
|
- minecraft:piercing
|
||||||
notAffectedGroups: []
|
notAffectedGroups: [ ]
|
||||||
maxEnchantmentBeforeConflict: 1
|
|
||||||
restriction_density:
|
|
||||||
enchantments:
|
|
||||||
- density
|
|
||||||
notAffectedGroups:
|
|
||||||
- mace
|
|
||||||
- enchanted_book
|
|
||||||
restriction_breach:
|
|
||||||
enchantments:
|
|
||||||
- breach
|
|
||||||
notAffectedGroups:
|
|
||||||
- mace
|
|
||||||
- enchanted_book
|
|
||||||
restriction_wind_burst:
|
|
||||||
enchantments:
|
|
||||||
- wind_burst
|
|
||||||
notAffectedGroups:
|
|
||||||
- mace
|
|
||||||
- enchanted_book
|
|
||||||
mace_enchant_conflict:
|
|
||||||
enchantments:
|
|
||||||
- density
|
|
||||||
- breach
|
|
||||||
- smite
|
|
||||||
- bane_of_arthropods
|
|
||||||
maxEnchantmentBeforeConflict: 1
|
maxEnchantmentBeforeConflict: 1
|
||||||
|
|
||||||
# ----------------------------------------------------
|
# ----------------------------------------------------
|
||||||
|
|
|
||||||
|
|
@ -20,16 +20,16 @@ nothing:
|
||||||
example_include:
|
example_include:
|
||||||
type: include
|
type: include
|
||||||
items:
|
items:
|
||||||
- stone
|
- stone
|
||||||
- polished_granite
|
- polished_granite
|
||||||
|
|
||||||
# This group contain everything except polished granite and elements of example_include
|
# This group contain everything except polished granite and elements of example_include
|
||||||
example_exclude:
|
example_exclude:
|
||||||
type: exclude
|
type: exclude
|
||||||
items:
|
items:
|
||||||
- polished_granite
|
- polished_granite
|
||||||
groups:
|
groups:
|
||||||
- example_include
|
- example_include
|
||||||
|
|
||||||
# Default configuration should be vanilla enchantment conflict group
|
# Default configuration should be vanilla enchantment conflict group
|
||||||
# there may have error, if you find one you can fix it !
|
# there may have error, if you find one you can fix it !
|
||||||
|
|
@ -38,176 +38,173 @@ example_exclude:
|
||||||
swords:
|
swords:
|
||||||
type: include
|
type: include
|
||||||
items:
|
items:
|
||||||
- wooden_sword
|
- wooden_sword
|
||||||
- stone_sword
|
- stone_sword
|
||||||
- iron_sword
|
- iron_sword
|
||||||
- diamond_sword
|
- diamond_sword
|
||||||
- golden_sword
|
- golden_sword
|
||||||
- netherite_sword
|
- netherite_sword
|
||||||
|
|
||||||
axes:
|
axes:
|
||||||
type: include
|
type: include
|
||||||
items:
|
items:
|
||||||
- wooden_axe
|
- wooden_axe
|
||||||
- stone_axe
|
- stone_axe
|
||||||
- iron_axe
|
- iron_axe
|
||||||
- diamond_axe
|
- diamond_axe
|
||||||
- golden_axe
|
- golden_axe
|
||||||
- netherite_axe
|
- netherite_axe
|
||||||
|
|
||||||
melee_weapons:
|
melee_weapons:
|
||||||
type: include
|
type: include
|
||||||
groups:
|
groups:
|
||||||
- swords
|
- swords
|
||||||
- axes
|
- axes
|
||||||
|
|
||||||
helmets:
|
helmets:
|
||||||
type: include
|
type: include
|
||||||
items:
|
items:
|
||||||
- leather_helmet
|
- leather_helmet
|
||||||
- chainmail_helmet
|
- chainmail_helmet
|
||||||
- iron_helmet
|
- iron_helmet
|
||||||
- diamond_helmet
|
- diamond_helmet
|
||||||
- golden_helmet
|
- golden_helmet
|
||||||
- netherite_helmet
|
- netherite_helmet
|
||||||
- turtle_helmet
|
- turtle_helmet
|
||||||
|
|
||||||
chestplate:
|
chestplate:
|
||||||
type: include
|
type: include
|
||||||
items:
|
items:
|
||||||
- leather_chestplate
|
- leather_chestplate
|
||||||
- chainmail_chestplate
|
- chainmail_chestplate
|
||||||
- iron_chestplate
|
- iron_chestplate
|
||||||
- diamond_chestplate
|
- diamond_chestplate
|
||||||
- golden_chestplate
|
- golden_chestplate
|
||||||
- netherite_chestplate
|
- netherite_chestplate
|
||||||
|
|
||||||
leggings:
|
leggings:
|
||||||
type: include
|
type: include
|
||||||
items:
|
items:
|
||||||
- leather_leggings
|
- leather_leggings
|
||||||
- chainmail_leggings
|
- chainmail_leggings
|
||||||
- iron_leggings
|
- iron_leggings
|
||||||
- diamond_leggings
|
- diamond_leggings
|
||||||
- golden_leggings
|
- golden_leggings
|
||||||
- netherite_leggings
|
- netherite_leggings
|
||||||
|
|
||||||
boots:
|
boots:
|
||||||
type: include
|
type: include
|
||||||
items:
|
items:
|
||||||
- leather_boots
|
- leather_boots
|
||||||
- chainmail_boots
|
- chainmail_boots
|
||||||
- iron_boots
|
- iron_boots
|
||||||
- diamond_boots
|
- diamond_boots
|
||||||
- golden_boots
|
- golden_boots
|
||||||
- netherite_boots
|
- netherite_boots
|
||||||
|
|
||||||
armors:
|
armors:
|
||||||
type: include
|
type: include
|
||||||
groups:
|
groups:
|
||||||
- helmets
|
- helmets
|
||||||
- chestplate
|
- chestplate
|
||||||
- leggings
|
- leggings
|
||||||
- boots
|
- boots
|
||||||
|
|
||||||
wearable:
|
wearable:
|
||||||
type: include
|
type: include
|
||||||
items:
|
items:
|
||||||
- elytra
|
- elytra
|
||||||
- carved_pumpkin
|
- carved_pumpkin
|
||||||
- skeleton_skull
|
- skeleton_skull
|
||||||
- wither_skeleton_skull
|
- wither_skeleton_skull
|
||||||
- zombie_head
|
- zombie_head
|
||||||
- player_head
|
- player_head
|
||||||
- creeper_head
|
- creeper_head
|
||||||
- dragon_head
|
- dragon_head
|
||||||
- piglin_head
|
# do not exist in 1.18 but exist in future update
|
||||||
|
- piglin_head
|
||||||
groups:
|
groups:
|
||||||
- armors
|
- armors
|
||||||
|
|
||||||
tools:
|
tools:
|
||||||
type: include
|
type: include
|
||||||
items:
|
items:
|
||||||
- wooden_pickaxe
|
- wooden_pickaxe
|
||||||
- stone_pickaxe
|
- stone_pickaxe
|
||||||
- iron_pickaxe
|
- iron_pickaxe
|
||||||
- diamond_pickaxe
|
- diamond_pickaxe
|
||||||
- golden_pickaxe
|
- golden_pickaxe
|
||||||
- netherite_pickaxe
|
- netherite_pickaxe
|
||||||
- wooden_shovel
|
- wooden_shovel
|
||||||
- stone_shovel
|
- stone_shovel
|
||||||
- iron_shovel
|
- iron_shovel
|
||||||
- diamond_shovel
|
- diamond_shovel
|
||||||
- golden_shovel
|
- golden_shovel
|
||||||
- netherite_shovel
|
- netherite_shovel
|
||||||
- wooden_hoe
|
- wooden_hoe
|
||||||
- stone_hoe
|
- stone_hoe
|
||||||
- iron_hoe
|
- iron_hoe
|
||||||
- diamond_hoe
|
- diamond_hoe
|
||||||
- golden_hoe
|
- golden_hoe
|
||||||
- netherite_hoe
|
- netherite_hoe
|
||||||
groups:
|
groups:
|
||||||
- axes
|
- axes
|
||||||
|
|
||||||
enchanted_book:
|
enchanted_book:
|
||||||
type: include
|
type: include
|
||||||
items:
|
items:
|
||||||
- enchanted_book
|
- enchanted_book
|
||||||
|
|
||||||
trident:
|
trident:
|
||||||
type: include
|
type: include
|
||||||
items:
|
items:
|
||||||
- trident
|
- trident
|
||||||
|
|
||||||
bow:
|
bow:
|
||||||
type: include
|
type: include
|
||||||
items:
|
items:
|
||||||
- bow
|
- bow
|
||||||
|
|
||||||
crossbow:
|
crossbow:
|
||||||
type: include
|
type: include
|
||||||
items:
|
items:
|
||||||
- crossbow
|
- crossbow
|
||||||
|
|
||||||
fishing_rod:
|
fishing_rod:
|
||||||
type: include
|
type: include
|
||||||
items:
|
items:
|
||||||
- fishing_rod
|
- fishing_rod
|
||||||
|
|
||||||
shears:
|
shears:
|
||||||
type: include
|
type: include
|
||||||
items:
|
items:
|
||||||
- shears
|
- shears
|
||||||
|
|
||||||
can_unbreak:
|
can_unbreak:
|
||||||
type: include
|
type: include
|
||||||
items:
|
items:
|
||||||
- elytra
|
- elytra
|
||||||
- flint_and_steel
|
- flint_and_steel
|
||||||
- shield
|
- shield
|
||||||
- carrot_on_a_stick
|
- carrot_on_a_stick
|
||||||
- warped_fungus_on_a_stick
|
- warped_fungus_on_a_stick
|
||||||
- brush
|
# do not exist in 1.18 but exist in future update
|
||||||
|
- brush
|
||||||
groups:
|
groups:
|
||||||
- melee_weapons
|
- melee_weapons
|
||||||
- tools
|
- tools
|
||||||
- armors
|
- armors
|
||||||
- trident
|
- trident
|
||||||
- bow
|
- bow
|
||||||
- crossbow
|
- crossbow
|
||||||
- fishing_rod
|
- fishing_rod
|
||||||
- shears
|
- shears
|
||||||
- mace
|
|
||||||
|
|
||||||
can_vanish:
|
can_vanish:
|
||||||
type: include
|
type: include
|
||||||
items:
|
items:
|
||||||
- compass
|
- compass
|
||||||
groups:
|
groups:
|
||||||
- wearable
|
- wearable
|
||||||
- can_unbreak
|
- can_unbreak
|
||||||
mace:
|
|
||||||
type: include
|
|
||||||
items:
|
|
||||||
- mace
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -188,5 +188,3 @@ warped_planks:
|
||||||
wooden_shovel: 0.25
|
wooden_shovel: 0.25
|
||||||
wooden_hoe: 0.25
|
wooden_hoe: 0.25
|
||||||
shield: 0.25
|
shield: 0.25
|
||||||
breeze_rod:
|
|
||||||
mace: 0.25
|
|
||||||
|
|
|
||||||
|
|
@ -137,7 +137,7 @@ public class EnchantmentApi {
|
||||||
* @return The custom anvil enchantment of this name. null if not found.
|
* @return The custom anvil enchantment of this name. null if not found.
|
||||||
* @deprecated use {@link #getListByName(String)}
|
* @deprecated use {@link #getListByName(String)}
|
||||||
*/
|
*/
|
||||||
@Deprecated(since = "1.6.1")
|
@Deprecated(since = "1.6.3")
|
||||||
@Nullable
|
@Nullable
|
||||||
public static CAEnchantment getByName(@NotNull String name){
|
public static CAEnchantment getByName(@NotNull String name){
|
||||||
return CAEnchantment.getByName(name);
|
return CAEnchantment.getByName(name);
|
||||||
|
|
|
||||||
|
|
@ -233,7 +233,7 @@ public interface CAEnchantment {
|
||||||
*
|
*
|
||||||
* @deprecated use {@link #getListByName(String)}
|
* @deprecated use {@link #getListByName(String)}
|
||||||
*/
|
*/
|
||||||
@Deprecated(since = "1.6.1")
|
@Deprecated(since = "1.6.3")
|
||||||
static @Nullable CAEnchantment getByName(@NotNull String name){
|
static @Nullable CAEnchantment getByName(@NotNull String name){
|
||||||
return CAEnchantmentRegistry.getInstance().getByName(name);
|
return CAEnchantmentRegistry.getInstance().getByName(name);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -146,7 +146,7 @@ public class CAEnchantmentRegistry {
|
||||||
*
|
*
|
||||||
* @deprecated use {@link #getListByName(String)}
|
* @deprecated use {@link #getListByName(String)}
|
||||||
*/
|
*/
|
||||||
@Deprecated(since = "1.6.1")
|
@Deprecated(since = "1.6.3")
|
||||||
@Nullable
|
@Nullable
|
||||||
public CAEnchantment getByName(@NotNull String name){
|
public CAEnchantment getByName(@NotNull String name){
|
||||||
List<CAEnchantment> enchantments = getListByName(name);
|
List<CAEnchantment> enchantments = getListByName(name);
|
||||||
|
|
|
||||||
|
|
@ -45,13 +45,13 @@ public class Update_1_21 {
|
||||||
addToStringList(groupConfig, "can_unbreak.groups", "mace");
|
addToStringList(groupConfig, "can_unbreak.groups", "mace");
|
||||||
|
|
||||||
// Add new enchant conflicts
|
// Add new enchant conflicts
|
||||||
addToStringList(conflictConfig, "restriction_density.enchantments", "density");
|
addToStringList(conflictConfig, "restriction_density.enchantments", "minecraft:density");
|
||||||
addToStringList(conflictConfig, "restriction_density.notAffectedGroups", "mace", "enchanted_book");
|
addToStringList(conflictConfig, "restriction_density.notAffectedGroups", "mace", "enchanted_book");
|
||||||
|
|
||||||
addToStringList(conflictConfig, "restriction_breach.enchantments", "breach");
|
addToStringList(conflictConfig, "restriction_breach.enchantments", "minecraft:breach");
|
||||||
addToStringList(conflictConfig, "restriction_breach.notAffectedGroups", "mace", "enchanted_book");
|
addToStringList(conflictConfig, "restriction_breach.notAffectedGroups", "mace", "enchanted_book");
|
||||||
|
|
||||||
addToStringList(conflictConfig, "restriction_wind_burst.enchantments", "wind_burst");
|
addToStringList(conflictConfig, "restriction_wind_burst.enchantments", "minecraft:wind_burst");
|
||||||
addToStringList(conflictConfig, "restriction_wind_burst.notAffectedGroups", "mace", "enchanted_book");
|
addToStringList(conflictConfig, "restriction_wind_burst.notAffectedGroups", "mace", "enchanted_book");
|
||||||
|
|
||||||
// Add mace to conflicts
|
// Add mace to conflicts
|
||||||
|
|
@ -59,13 +59,14 @@ public class Update_1_21 {
|
||||||
addToStringList(conflictConfig, "restriction_smite.notAffectedGroups", "mace");
|
addToStringList(conflictConfig, "restriction_smite.notAffectedGroups", "mace");
|
||||||
addToStringList(conflictConfig, "restriction_bane_of_arthropods.notAffectedGroups", "mace");
|
addToStringList(conflictConfig, "restriction_bane_of_arthropods.notAffectedGroups", "mace");
|
||||||
|
|
||||||
addToStringList(conflictConfig, "mace_enchant_conflict.enchantments", "density", "breach", "smite", "bane_of_arthropods");
|
addToStringList(conflictConfig, "mace_enchant_conflict.enchantments",
|
||||||
|
"minecraft:density", "minecraft:breach", "minecraft:smite", "minecraft:bane_of_arthropods");
|
||||||
conflictConfig.set("mace_enchant_conflict.maxEnchantmentBeforeConflict", 1);
|
conflictConfig.set("mace_enchant_conflict.maxEnchantmentBeforeConflict", 1);
|
||||||
|
|
||||||
// Add level limit
|
// Add level limit
|
||||||
baseConfig.set("enchant_limits.density", 5);
|
baseConfig.set("enchant_limits.minecraft:density", 5);
|
||||||
baseConfig.set("enchant_limits.breach", 4);
|
baseConfig.set("enchant_limits.minecraft:breach", 4);
|
||||||
baseConfig.set("enchant_limits.wind_burst", 3);
|
baseConfig.set("enchant_limits.minecraft:wind_burst", 3);
|
||||||
|
|
||||||
// Add enchant values
|
// Add enchant values
|
||||||
baseConfig.set("enchant_values.density.item", 1);
|
baseConfig.set("enchant_values.density.item", 1);
|
||||||
|
|
|
||||||
|
|
@ -122,7 +122,8 @@ class EnchantConflictManager {
|
||||||
|
|
||||||
// Temporary solution for 1.20.5
|
// Temporary solution for 1.20.5
|
||||||
when(enchantName){
|
when(enchantName){
|
||||||
"sweeping", "sweeping_edge" -> {
|
"minecraft:sweeping", "sweeping",
|
||||||
|
"minecraft:sweeping_edge", "sweeping_edge" -> {
|
||||||
return SWEEPING_EDGE_ENCHANT
|
return SWEEPING_EDGE_ENCHANT
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -16,87 +16,87 @@
|
||||||
# on illegal items
|
# on illegal items
|
||||||
# ----------------------------------------------------
|
# ----------------------------------------------------
|
||||||
|
|
||||||
restriction_minecraft_aqua_affinity:
|
restriction_aqua_affinity:
|
||||||
enchantments: [ minecraft:aqua_affinity ]
|
enchantments: [ minecraft:aqua_affinity ]
|
||||||
notAffectedGroups: [ enchanted_book, helmets ]
|
notAffectedGroups: [ enchanted_book, helmets ]
|
||||||
|
|
||||||
restriction_minecraft_bane_of_arthropods:
|
restriction_bane_of_arthropods:
|
||||||
enchantments: [ minecraft:bane_of_arthropods ]
|
enchantments: [ minecraft:bane_of_arthropods ]
|
||||||
notAffectedGroups: [ enchanted_book, melee_weapons ]
|
notAffectedGroups: [ enchanted_book, melee_weapons ]
|
||||||
|
|
||||||
restriction_minecraft_blast_protection:
|
restriction_blast_protection:
|
||||||
enchantments: [ minecraft:blast_protection ]
|
enchantments: [ minecraft:blast_protection ]
|
||||||
notAffectedGroups: [ enchanted_book, armors ]
|
notAffectedGroups: [ enchanted_book, armors ]
|
||||||
|
|
||||||
restriction_minecraft_channeling:
|
restriction_channeling:
|
||||||
enchantments: [ minecraft:channeling ]
|
enchantments: [ minecraft:channeling ]
|
||||||
notAffectedGroups: [ enchanted_book, trident ]
|
notAffectedGroups: [ enchanted_book, trident ]
|
||||||
|
|
||||||
restriction_minecraft_binding_curse:
|
restriction_binding_curse:
|
||||||
enchantments: [ minecraft:binding_curse ]
|
enchantments: [ minecraft:binding_curse ]
|
||||||
notAffectedGroups: [ enchanted_book, wearable ]
|
notAffectedGroups: [ enchanted_book, wearable ]
|
||||||
|
|
||||||
restriction_minecraft_vanishing_curse:
|
restriction_vanishing_curse:
|
||||||
enchantments: [ minecraft:vanishing_curse ]
|
enchantments: [ minecraft:vanishing_curse ]
|
||||||
notAffectedGroups: [ enchanted_book, can_vanish ]
|
notAffectedGroups: [ enchanted_book, can_vanish ]
|
||||||
|
|
||||||
restriction_minecraft_depth_strider:
|
restriction_depth_strider:
|
||||||
enchantments: [ minecraft:depth_strider ]
|
enchantments: [ minecraft:depth_strider ]
|
||||||
notAffectedGroups: [ enchanted_book, boots ]
|
notAffectedGroups: [ enchanted_book, boots ]
|
||||||
|
|
||||||
restriction_minecraft_efficiency:
|
restriction_efficiency:
|
||||||
enchantments: [ minecraft:efficiency ]
|
enchantments: [ minecraft:efficiency ]
|
||||||
notAffectedGroups: [ enchanted_book, tools, shears ]
|
notAffectedGroups: [ enchanted_book, tools, shears ]
|
||||||
|
|
||||||
restriction_minecraft_feather_falling:
|
restriction_feather_falling:
|
||||||
enchantments: [ minecraft:feather_falling ]
|
enchantments: [ minecraft:feather_falling ]
|
||||||
notAffectedGroups: [ enchanted_book, boots ]
|
notAffectedGroups: [ enchanted_book, boots ]
|
||||||
|
|
||||||
restriction_minecraft_fire_aspect:
|
restriction_fire_aspect:
|
||||||
enchantments: [ minecraft:fire_aspect ]
|
enchantments: [ minecraft:fire_aspect ]
|
||||||
notAffectedGroups: [ enchanted_book, swords ]
|
notAffectedGroups: [ enchanted_book, swords ]
|
||||||
|
|
||||||
restriction_minecraft_fire_protection:
|
restriction_fire_protection:
|
||||||
enchantments: [ minecraft:fire_protection ]
|
enchantments: [ minecraft:fire_protection ]
|
||||||
notAffectedGroups: [ enchanted_book, armors ]
|
notAffectedGroups: [ enchanted_book, armors ]
|
||||||
|
|
||||||
restriction_minecraft_flame:
|
restriction_flame:
|
||||||
enchantments: [ minecraft:flame ]
|
enchantments: [ minecraft:flame ]
|
||||||
notAffectedGroups: [ enchanted_book, bow ]
|
notAffectedGroups: [ enchanted_book, bow ]
|
||||||
|
|
||||||
restriction_minecraft_fortune:
|
restriction_fortune:
|
||||||
enchantments: [ minecraft:fortune ]
|
enchantments: [ minecraft:fortune ]
|
||||||
notAffectedGroups: [ enchanted_book, tools ]
|
notAffectedGroups: [ enchanted_book, tools ]
|
||||||
|
|
||||||
restriction_minecraft_frost_walker:
|
restriction_frost_walker:
|
||||||
enchantments: [ minecraft:frost_walker ]
|
enchantments: [ minecraft:frost_walker ]
|
||||||
notAffectedGroups: [ enchanted_book, boots ]
|
notAffectedGroups: [ enchanted_book, boots ]
|
||||||
|
|
||||||
restriction_minecraft_impaling:
|
restriction_impaling:
|
||||||
enchantments: [ minecraft:impaling ]
|
enchantments: [ minecraft:impaling ]
|
||||||
notAffectedGroups: [ enchanted_book, trident ]
|
notAffectedGroups: [ enchanted_book, trident ]
|
||||||
|
|
||||||
restriction_minecraft_infinity:
|
restriction_infinity:
|
||||||
enchantments: [ minecraft:infinity ]
|
enchantments: [ minecraft:infinity ]
|
||||||
notAffectedGroups: [ enchanted_book, bow ]
|
notAffectedGroups: [ enchanted_book, bow ]
|
||||||
|
|
||||||
restriction_minecraft_knockback:
|
restriction_knockback:
|
||||||
enchantments: [ minecraft:knockback ]
|
enchantments: [ minecraft:knockback ]
|
||||||
notAffectedGroups: [ enchanted_book, swords ]
|
notAffectedGroups: [ enchanted_book, swords ]
|
||||||
|
|
||||||
restriction_minecraft_looting:
|
restriction_looting:
|
||||||
enchantments: [ minecraft:looting ]
|
enchantments: [ minecraft:looting ]
|
||||||
notAffectedGroups: [ enchanted_book, swords ]
|
notAffectedGroups: [ enchanted_book, swords ]
|
||||||
|
|
||||||
restriction_minecraft_loyalty:
|
restriction_loyalty:
|
||||||
enchantments: [ minecraft:loyalty ]
|
enchantments: [ minecraft:loyalty ]
|
||||||
notAffectedGroups: [ enchanted_book, trident ]
|
notAffectedGroups: [ enchanted_book, trident ]
|
||||||
|
|
||||||
restriction_minecraft_lure:
|
restriction_lure:
|
||||||
enchantments: [ minecraft:lure ]
|
enchantments: [ minecraft:lure ]
|
||||||
notAffectedGroups: [ enchanted_book, fishing_rod ]
|
notAffectedGroups: [ enchanted_book, fishing_rod ]
|
||||||
|
|
||||||
restriction_minecraft_mending:
|
restriction_mending:
|
||||||
enchantments: [ minecraft:mending ]
|
enchantments: [ minecraft:mending ]
|
||||||
notAffectedGroups: [ enchanted_book, can_unbreak ]
|
notAffectedGroups: [ enchanted_book, can_unbreak ]
|
||||||
|
|
||||||
|
|
@ -104,70 +104,70 @@ restriction_minecraft_multishot:
|
||||||
enchantments: [ minecraft:multishot ]
|
enchantments: [ minecraft:multishot ]
|
||||||
notAffectedGroups: [ enchanted_book, crossbow ]
|
notAffectedGroups: [ enchanted_book, crossbow ]
|
||||||
|
|
||||||
restriction_minecraft_piercing:
|
restriction_piercing:
|
||||||
enchantments: [ minecraft:piercing ]
|
enchantments: [ minecraft:piercing ]
|
||||||
notAffectedGroups: [ enchanted_book, crossbow ]
|
notAffectedGroups: [ enchanted_book, crossbow ]
|
||||||
|
|
||||||
restriction_minecraft_power:
|
restriction_power:
|
||||||
enchantments: [ minecraft:power ]
|
enchantments: [ minecraft:power ]
|
||||||
notAffectedGroups: [ enchanted_book, bow ]
|
notAffectedGroups: [ enchanted_book, bow ]
|
||||||
|
|
||||||
restriction_minecraft_projectile_protection:
|
restriction_projectile_protection:
|
||||||
enchantments: [ minecraft:projectile_protection ]
|
enchantments: [ minecraft:projectile_protection ]
|
||||||
notAffectedGroups: [ enchanted_book, armors ]
|
notAffectedGroups: [ enchanted_book, armors ]
|
||||||
|
|
||||||
restriction_minecraft_protection:
|
restriction_protection:
|
||||||
enchantments: [ minecraft:protection ]
|
enchantments: [ minecraft:protection ]
|
||||||
notAffectedGroups: [ enchanted_book, armors ]
|
notAffectedGroups: [ enchanted_book, armors ]
|
||||||
|
|
||||||
restriction_minecraft_punch:
|
restriction_punch:
|
||||||
enchantments: [ minecraft:punch ]
|
enchantments: [ minecraft:punch ]
|
||||||
notAffectedGroups: [ enchanted_book, bow ]
|
notAffectedGroups: [ enchanted_book, bow ]
|
||||||
|
|
||||||
restriction_minecraft_quick_charge:
|
restriction_quick_charge:
|
||||||
enchantments: [ minecraft:quick_charge ]
|
enchantments: [ minecraft:quick_charge ]
|
||||||
notAffectedGroups: [ enchanted_book, crossbow ]
|
notAffectedGroups: [ enchanted_book, crossbow ]
|
||||||
|
|
||||||
restriction_minecraft_respiration:
|
restriction_respiration:
|
||||||
enchantments: [ minecraft:respiration ]
|
enchantments: [ minecraft:respiration ]
|
||||||
notAffectedGroups: [ enchanted_book, helmets ]
|
notAffectedGroups: [ enchanted_book, helmets ]
|
||||||
|
|
||||||
restriction_minecraft_riptide:
|
restriction_riptide:
|
||||||
enchantments: [ minecraft:riptide ]
|
enchantments: [ minecraft:riptide ]
|
||||||
notAffectedGroups: [ enchanted_book, trident ]
|
notAffectedGroups: [ enchanted_book, trident ]
|
||||||
|
|
||||||
restriction_minecraft_sharpness:
|
restriction_sharpness:
|
||||||
enchantments: [ minecraft:sharpness ]
|
enchantments: [ minecraft:sharpness ]
|
||||||
notAffectedGroups: [ enchanted_book, melee_weapons ]
|
notAffectedGroups: [ enchanted_book, melee_weapons ]
|
||||||
|
|
||||||
restriction_minecraft_silk_touch:
|
restriction__silk_touch:
|
||||||
enchantments: [ minecraft:silk_touch ]
|
enchantments: [ minecraft:silk_touch ]
|
||||||
notAffectedGroups: [ enchanted_book, tools ]
|
notAffectedGroups: [ enchanted_book, tools ]
|
||||||
|
|
||||||
restriction_minecraft_smite:
|
restriction_smite:
|
||||||
enchantments: [ minecraft:smite ]
|
enchantments: [ minecraft:smite ]
|
||||||
notAffectedGroups: [ enchanted_book, melee_weapons ]
|
notAffectedGroups: [ enchanted_book, melee_weapons ]
|
||||||
|
|
||||||
restriction_minecraft_soul_speed:
|
restriction_soul_speed:
|
||||||
enchantments: [ minecraft:soul_speed ]
|
enchantments: [ minecraft:soul_speed ]
|
||||||
notAffectedGroups: [ enchanted_book, boots ]
|
notAffectedGroups: [ enchanted_book, boots ]
|
||||||
|
|
||||||
restriction_minecraft_sweeping_edge:
|
restriction_sweeping_edge:
|
||||||
enchantments: [ minecraft:sweeping, minecraft:sweeping_edge ]
|
enchantments: [ minecraft:sweeping, minecraft:sweeping_edge ]
|
||||||
notAffectedGroups: [ enchanted_book, swords ]
|
notAffectedGroups: [ enchanted_book, swords ]
|
||||||
|
|
||||||
# Do not exist in 1.18, that mean useInFuture will be set to true
|
# Do not exist in 1.18, that mean useInFuture will be set to true
|
||||||
# useInFuture set to true also mean it will not warn if there is an issue
|
# useInFuture set to true also mean it will not warn if there is an issue
|
||||||
restriction_minecraft_swift_sneak:
|
restriction_swift_sneak:
|
||||||
useInFuture: true
|
useInFuture: true
|
||||||
enchantments: [ minecraft:swift_sneak ]
|
enchantments: [ minecraft:swift_sneak ]
|
||||||
notAffectedGroups: [ enchanted_book, leggings ]
|
notAffectedGroups: [ enchanted_book, leggings ]
|
||||||
|
|
||||||
restriction_minecraft_thorns:
|
restriction_thorns:
|
||||||
enchantments: [ minecraft:thorns ]
|
enchantments: [ minecraft:thorns ]
|
||||||
notAffectedGroups: [ enchanted_book, armors ]
|
notAffectedGroups: [ enchanted_book, armors ]
|
||||||
|
|
||||||
restriction_minecraft_unbreaking:
|
restriction__unbreaking:
|
||||||
enchantments: [ minecraft:unbreaking ]
|
enchantments: [ minecraft:unbreaking ]
|
||||||
notAffectedGroups: [ enchanted_book, can_unbreak ]
|
notAffectedGroups: [ enchanted_book, can_unbreak ]
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue