mirror of
https://github.com/alexcrea/CustomAnvil.git
synced 2026-06-23 16:16:17 +02:00
299 lines
6.8 KiB
YAML
299 lines
6.8 KiB
YAML
#
|
|
# It is recommended that you use /configanvil to edit theses config.
|
|
# You can still manually edit here if you like to. but if you do, don't forget to /anvilconfigreload after you changes !
|
|
#
|
|
|
|
# All anvil cost will be capped to limit_repair_value if enabled.
|
|
#
|
|
# In other words:
|
|
# For any anvil cost greater than limit_repair_value, Cost will be set to limit_repair_value.
|
|
limit_repair_cost: false
|
|
|
|
# Max cost value the Anvil can get to.
|
|
#
|
|
# Valid values include 0 to 1000.
|
|
# Cost will be displayed as "Too Expensive":
|
|
# - If Cost is above 39
|
|
# - And replace_too_expensive is disabled (false)
|
|
limit_repair_value: 39
|
|
|
|
# Whether the anvil's cost limit should be removed entirely.
|
|
#
|
|
# The anvil will still visually display "Too Expensive" if "replace_too_expensive" is disabled
|
|
# However, the action will be completable if xp requirement is meet.
|
|
remove_repair_limit: false
|
|
|
|
# Whenever anvil cost is above 39 should display the true price and not "Too Expensive".
|
|
#
|
|
# However, when bypassing "Too Expensive", anvil price will be displayed as Green.
|
|
# If the action is not completable, the cost will still be displayed as "Too expensive".
|
|
# That mean you also need to change other settings like remove_repair_limit or limit_repair_cost.
|
|
#
|
|
# Require ProtocoLib.
|
|
replace_too_expensive: false
|
|
|
|
# XP Level amount added to the anvil when the item is repaired by another item of the same type
|
|
#
|
|
# Valid values include 0 to 1000
|
|
item_repair_cost: 2
|
|
|
|
# XP Level amount added to the anvil when the item is renamed
|
|
#
|
|
# Valid values include 0 to 1000
|
|
item_rename_cost: 1
|
|
|
|
# XP Level amount added to the anvil when the item is repaired by an "unit"
|
|
# For example: a Diamond on a Diamond Sword
|
|
# What's considered unit for what can be edited on the unit repair configuration.
|
|
#
|
|
# Valid values include 0 to 1000
|
|
unit_repair_cost: 1
|
|
|
|
# XP Level amount added to the anvil when a sacrifice enchantment
|
|
# conflict with one of the left item enchantment
|
|
#
|
|
# Valid values include 0 to 1000
|
|
sacrifice_illegal_enchant_cost: 1
|
|
|
|
# Allow using color code and hexadecimal color.
|
|
#
|
|
# Color code are prefixed by "&" and hexadecimal color by "#".
|
|
# Color code will not be applied if it colors nothing. "&&" can be used to write "&".
|
|
allow_color_code: false
|
|
allow_hexadecimal_color: false
|
|
|
|
# Toggle if color should only be applicable if the player a certain permission.
|
|
#
|
|
# permission are "ca.color.code" for use of color code and "ca.color.hex" for use of hexadecimal color.
|
|
permission_needed_for_color: true
|
|
|
|
# Xp cost if the player use color in the items name on rename.
|
|
#
|
|
# Valid values include 0 to 1000.
|
|
use_of_color_cost: 0
|
|
|
|
# Work penalty increase the price for every anvil use.
|
|
# This config allow you to choose the comportment of work penalty.
|
|
# Vanilla work penalty formula can be represented as 2 * previous_penalty + 1. with start value equal to 0
|
|
# See https://minecraft.wiki/w/Anvil_mechanics#Anvil_uses for more detail
|
|
#
|
|
# Valid work penalty type is:
|
|
# - default: work penalty added and increased
|
|
# - increase_only: work penalty increased but not added
|
|
# - add_only: work penalty added but not increased
|
|
# - disabled: work penalty disabled
|
|
work_penalty_type: default
|
|
|
|
# Default limit to apply to any enchants missing from enchant_limits
|
|
#
|
|
# Valid values include 1 to 1000
|
|
default_limit: 5
|
|
|
|
# Override limits for specific enchants
|
|
#
|
|
# Enchantments not listed here will use the value of default_limit
|
|
#
|
|
# Overrides provided default from aqua_affinity to depth_strider won't change effect with extra levels
|
|
#
|
|
# Valid range of 1 - 255 for each enchantment
|
|
enchant_limits:
|
|
aqua_affinity: 1
|
|
binding_curse: 1
|
|
channeling: 1
|
|
flame: 1
|
|
infinity: 1
|
|
mending: 1
|
|
multishot: 1
|
|
silk_touch: 1
|
|
vanishing_curse: 1
|
|
depth_strider: 3 # anything more than 3 is treated as 3 by the game
|
|
protection: 4
|
|
fire_protection: 4
|
|
blast_protection: 4
|
|
projectile_protection: 4
|
|
feather_falling: 4
|
|
thorns: 3
|
|
respiration: 3
|
|
sharpness: 5
|
|
smite: 5
|
|
bane_of_arthropods: 5
|
|
knockback: 2
|
|
fire_aspect: 2
|
|
looting: 3
|
|
sweeping: 3
|
|
sweeping_edge: 3
|
|
efficiency: 5
|
|
unbreaking: 3
|
|
fortune: 3
|
|
power: 5
|
|
punch: 2
|
|
luck_of_the_sea: 3
|
|
lure: 3
|
|
frost_walker: 2
|
|
impaling: 5
|
|
riptide: 3
|
|
loyalty: 3
|
|
piercing: 4
|
|
quick_charge: 3
|
|
soul_speed: 3
|
|
swift_sneak: 3
|
|
density: 5
|
|
breach: 4
|
|
wind_burst: 3
|
|
|
|
# Multipliers used to calculate the enchantment's value in repair/combining
|
|
#
|
|
# Values here are pulled from the fandom wiki:
|
|
# https://minecraft.fandom.com/wiki/Anvil_mechanics#Costs_for_combining_enchantments
|
|
#
|
|
# If an enchantment is missing values here, or is less than 0, it will default to 0
|
|
#
|
|
# Calculated as: [Enchantment lvl] * [multiplier]
|
|
#
|
|
# With default values protection 4 would have a value of 4 when
|
|
# coming from either a book (4 * 1) or an item (4 * 1)
|
|
enchant_values:
|
|
aqua_affinity:
|
|
item: 4
|
|
book: 2
|
|
bane_of_arthropods:
|
|
item: 2
|
|
book: 1
|
|
binding_curse:
|
|
item: 8
|
|
book: 4
|
|
blast_protection:
|
|
item: 4
|
|
book: 2
|
|
channeling:
|
|
item: 8
|
|
book: 4
|
|
depth_strider:
|
|
item: 4
|
|
book: 2
|
|
efficiency:
|
|
item: 1
|
|
book: 1
|
|
flame:
|
|
item: 4
|
|
book: 2
|
|
feather_falling:
|
|
item: 2
|
|
book: 1
|
|
fire_aspect:
|
|
item: 4
|
|
book: 2
|
|
fire_protection:
|
|
item: 2
|
|
book: 1
|
|
fortune:
|
|
item: 4
|
|
book: 2
|
|
frost_walker:
|
|
item: 4
|
|
book: 2
|
|
impaling:
|
|
item: 4
|
|
book: 2
|
|
infinity:
|
|
item: 8
|
|
book: 4
|
|
knockback:
|
|
item: 2
|
|
book: 1
|
|
looting:
|
|
item: 4
|
|
book: 2
|
|
loyalty:
|
|
item: 1
|
|
book: 1
|
|
luck_of_the_sea:
|
|
item: 4
|
|
book: 2
|
|
lure:
|
|
item: 4
|
|
book: 2
|
|
mending:
|
|
item: 4
|
|
book: 2
|
|
multishot:
|
|
item: 4
|
|
book: 2
|
|
piercing:
|
|
item: 1
|
|
book: 1
|
|
power:
|
|
item: 1
|
|
book: 1
|
|
projectile_protection:
|
|
item: 2
|
|
book: 1
|
|
protection:
|
|
item: 1
|
|
book: 1
|
|
punch:
|
|
item: 4
|
|
book: 2
|
|
quick_charge:
|
|
item: 2
|
|
book: 1
|
|
respiration:
|
|
item: 4
|
|
book: 2
|
|
riptide:
|
|
item: 4
|
|
book: 2
|
|
silk_touch:
|
|
item: 8
|
|
book: 4
|
|
sharpness:
|
|
item: 1
|
|
book: 1
|
|
smite:
|
|
item: 2
|
|
book: 1
|
|
soul_speed:
|
|
item: 8
|
|
book: 4
|
|
swift_sneak:
|
|
item: 8
|
|
book: 4
|
|
sweeping:
|
|
item: 4
|
|
book: 2
|
|
sweeping_edge:
|
|
item: 4
|
|
book: 2
|
|
thorns:
|
|
item: 8
|
|
book: 4
|
|
unbreaking:
|
|
item: 2
|
|
book: 1
|
|
vanishing_curse:
|
|
item: 8
|
|
book: 4
|
|
density:
|
|
item: 1
|
|
book: 1
|
|
breach:
|
|
item: 4
|
|
book: 2
|
|
wind_burst:
|
|
item: 4
|
|
book: 2
|
|
|
|
# Whether to show debug logging
|
|
debug_log: false
|
|
|
|
# Whether to show verbose debug logging
|
|
debug_log_verbose: false
|
|
|
|
# In case something when wrong with CustomAnvil packet manager.
|
|
# If you see "missing class exception" or similar you may test this.
|
|
# If enabled and Protocolib absent or disabled "Replace to expensive" will not work.
|
|
# ProtocoLib may also be used if the server is in an "unsupported" version even if this option is disabled.
|
|
force_protocolib: false
|
|
|
|
configVersion: 1.6.2
|
|
lowMinecraftVersion: '1.21'
|