add config value for per item enchantment limit

This commit is contained in:
alexcrea 2025-07-23 12:05:39 +02:00
parent a8177c9aba
commit b095cd5316
Signed by: alexcrea
GPG key ID: E346CD16413450E3

View file

@ -270,6 +270,15 @@ disable-merge-over:
# If uncommented. 2 unbreaking II book would not give an unbreaking III book. but unbreaking III book can still be applied # If uncommented. 2 unbreaking II book would not give an unbreaking III book. but unbreaking III book can still be applied
#minecraft:unbreaking: 2 #minecraft:unbreaking: 2
# The maximum number of enchantment an item can get. -1 for infinity
# Use eco enchant enchant_limit if present by default unless "default" is not equal to -1
enchantment_limit:
default: -1
# Limit for specific items. example bellow is an example with stick
# Per item enchantment limit override eco enchant enchant_limit and default limit
items:
stick: -1
# Settings for lore modification # Settings for lore modification
lore_edit: lore_edit:
book_and_quil: book_and_quil: