Skip to content

General Config

Tristan Kechlo edited this page Jul 21, 2022 · 6 revisions
Option Datatype Default Detail
upgradeCostMultiplier double 1.0 click me
minUpgradeCost long 1000 click me
allowIncompatibleEnchantments boolean true click me
allowWrongEnchantments boolean true click me
defaultItemWorth long 10 click me
allowLevelingOfUselessEnchantments boolean true click me
allowLevelingOfBreakingEnchanments boolean true click me
globalEnchantmentCap short 0 click me
enchantmentWhitelist array empty array click me
enchantmentBlacklist array see below click me
enchantmentCaps object see below click me

Default Config

this is the default config that will be generated when you start the mod the first time

{
	"upgradeCostMultiplier" : 1.0,
	"minUpgradeCost" : 1000,
	"allowIncompatibleEnchantments" : true,
	"allowWrongEnchantments" : true,
	"defaultItemWorth" : 10,
	"allowLevelingOfUselessEnchantments" : true,
	"allowLevelingOfBreakingEnchanments" : true,
	"globalEnchantmentCap" : 0,
	"enchantmentWhitelist" : [],
	"enchantmentBlacklist" : [
		"minecraft:mending",
		"minecraft:aqua_affinity",
		"minecraft:channeling",
		"minecraft:binding_curse",
		"minecraft:vanishing_curse",
		"minecraft:flame",
		"minecraft:infinity",
		"minecraft:multishot",
		"minecraft:silk_touch"
	],
	"enchantmentCaps" : {
		"minecraft:fire_protection" : 100
	}
}

Details

upgradeCostMultiplier

  • adjust the payment cost with this multiplier
  • minimum value: 0.0
  • default value: 1.0
  • maximum value: 100.0

minUpgradeCost

  • minimum payment cost for all enchantments
  • minimum value: 1
  • default value: 1000
  • maximum value: java long maximum (9,223,372,036,854,775,807)

allowIncompatibleEnchantments

  • wether or not it is allowed to combine enchantments which are usually not compatible
  • either true or false as value

allowWrongEnchantments

  • wether or not it is allowed to put enchantments on tools which are normaly not compatible
  • (for example minecraft:sharpness on armor)
  • either true or false as value

defaultItemWorth

  • the default item worth for all items which are not included in the item_values.json
  • minimum value: 0
  • default value: 10
  • maximum value: java long maximum (9,223,372,036,854,775,807)

allowLevelingOfUselessEnchantments

  • wether or not it is allowed to level enchantments whose default maximum level is 1 (for example minecraft:silk_touch)
  • leveling those enchantments will normaly not have any effect
  • either true or false as value

allowLevelingOfBreakingEnchanments

  • wether or not it is allowed to level enchantments below the point where the enchantment will be useless
  • for example minecraft:quick_charge will make the cross-bow unusable after level 5
  • either true or false as value

globalEnchantmentCap

  • if you want all enchantments to have a new maximum level, set this option to a value higher than 0
  • this option if not active when it is set to 0
  • minimum value: 0
  • default value: 0
  • maximum value: java short maximum (32.767)

enchantmentWhitelist

  • if this list is not empty, every enchanment not listed in here, will be blacklisted
  • to deactivate the whitelist, leave it empty
  • a json array of strings where you write the enchantments in the strings

enchantmentBlacklist

  • a list of enchantments which are not allowed to be leveled in the tool leveling table
  • only effective when the enchantmentWhitelist is empty
  • a json array of strings where you write the enchantments in the strings

enchantmentCaps

  • if you want specific enchantments to have a new maximum level, insert them in this list
  • the enchantments listed in here can't be leveled higher, when they reached the value set in here
  • only effective when globalEnchantmentCap is 0
  • a json object of key-value-pairs, where the key is the enchantment and the value is the new maximum level

Clone this wiki locally