mirror of
https://github.com/alexcrea/CustomAnvil.git
synced 2026-06-23 16:16:17 +02:00
Small range adjusment:
- set min value of max anvil cost to 0 - set max value for most config by 1000
This commit is contained in:
parent
0906bac103
commit
78e77df071
2 changed files with 10 additions and 10 deletions
|
|
@ -94,19 +94,19 @@ object ConfigOptions {
|
||||||
|
|
||||||
// Valid range for repair cost limit
|
// Valid range for repair cost limit
|
||||||
@JvmField
|
@JvmField
|
||||||
val MAX_ANVIL_COST_RANGE = 1..255
|
val MAX_ANVIL_COST_RANGE = 0..1000
|
||||||
|
|
||||||
// Valid range for repair cost
|
// Valid range for repair cost
|
||||||
@JvmField
|
@JvmField
|
||||||
val REPAIR_COST_RANGE = 0..255
|
val REPAIR_COST_RANGE = 0..1000
|
||||||
|
|
||||||
// Valid range for rename cost
|
// Valid range for rename cost
|
||||||
@JvmField
|
@JvmField
|
||||||
val ITEM_RENAME_COST_RANGE = 0..255
|
val ITEM_RENAME_COST_RANGE = 0..1000
|
||||||
|
|
||||||
// Valid range for illegal enchantment conflict cost
|
// Valid range for illegal enchantment conflict cost
|
||||||
@JvmField
|
@JvmField
|
||||||
val SACRIFICE_ILLEGAL_COST_RANGE = 0..255
|
val SACRIFICE_ILLEGAL_COST_RANGE = 0..1000
|
||||||
|
|
||||||
// Valid range for an enchantment limit
|
// Valid range for an enchantment limit
|
||||||
@JvmField
|
@JvmField
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@ limit_repair_cost: false
|
||||||
|
|
||||||
# Max cost value the Anvil can get to.
|
# Max cost value the Anvil can get to.
|
||||||
#
|
#
|
||||||
# Valid values include 1 to 255.
|
# Valid values include 0 to 1000.
|
||||||
# Cost will be displayed as "Too Expensive":
|
# Cost will be displayed as "Too Expensive":
|
||||||
# - If Cost is above 39
|
# - If Cost is above 39
|
||||||
# - And replace_too_expensive is disabled (false)
|
# - And replace_too_expensive is disabled (false)
|
||||||
|
|
@ -29,30 +29,30 @@ replace_too_expensive: false
|
||||||
|
|
||||||
# XP Level amount added to the anvil when the item is repaired by another item of the same type
|
# XP Level amount added to the anvil when the item is repaired by another item of the same type
|
||||||
#
|
#
|
||||||
# Valid values include 0 to 255
|
# Valid values include 0 to 1000
|
||||||
item_repair_cost: 2
|
item_repair_cost: 2
|
||||||
|
|
||||||
# XP Level amount added to the anvil when the item is renamed
|
# XP Level amount added to the anvil when the item is renamed
|
||||||
#
|
#
|
||||||
# Valid values include 0 to 255
|
# Valid values include 0 to 1000
|
||||||
item_rename_cost: 1
|
item_rename_cost: 1
|
||||||
|
|
||||||
# XP Level amount added to the anvil when the item is repaired by an "unit"
|
# XP Level amount added to the anvil when the item is repaired by an "unit"
|
||||||
# For example: a Diamond on a Diamond Sword
|
# For example: a Diamond on a Diamond Sword
|
||||||
# What's considered unit for what can be edited on the unit repair configuration.
|
# What's considered unit for what can be edited on the unit repair configuration.
|
||||||
#
|
#
|
||||||
# Valid values include 0 to 255
|
# Valid values include 0 to 1000
|
||||||
unit_repair_cost: 1
|
unit_repair_cost: 1
|
||||||
|
|
||||||
# XP Level amount added to the anvil when a sacrifice enchantment
|
# XP Level amount added to the anvil when a sacrifice enchantment
|
||||||
# conflict with one of the left item enchantment
|
# conflict with one of the left item enchantment
|
||||||
#
|
#
|
||||||
# Valid values include 0 to 255
|
# Valid values include 0 to 1000
|
||||||
sacrifice_illegal_enchant_cost: 1
|
sacrifice_illegal_enchant_cost: 1
|
||||||
|
|
||||||
# Default limit to apply to any enchants missing from override_limits
|
# Default limit to apply to any enchants missing from override_limits
|
||||||
#
|
#
|
||||||
# Valid values include 1 to 255
|
# Valid values include 1 to 1000
|
||||||
default_limit: 5
|
default_limit: 5
|
||||||
|
|
||||||
# Override limits for specific enchants
|
# Override limits for specific enchants
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue