Skip to content

General Config 2.0.0

Tristan Kechlo edited this page Aug 11, 2023 · 3 revisions

THIS PAGE ONLY APPLIES TO MODVERSIONS >= 2.0.0

//TODO short description

General Options

min_success_chance

lower bound for the success chance of the enchantment process
- type: float
- default: 75.0
- min-value: 0.0
- max-value: 100.0

max_success_chance

upper bound for the success chance of the enchantment process
- type: float
- default: 100.0
- min-value: 0.0
- max-value: 100.0

required_bookshelves

what amount of bookshelves are required to reach the max_success_chance
- type: int
- default: 20
- min-value: 0
- max-value: 32

required_books

how many books are required to start the enchantment process
- type: int
- default: 4
- min-value: 1
- max-value: 6

bonus_item_more_enchantments

what item is required to increase the amount of enchantments that can be added to an item
parsed as an ingredient, the format for this is outlined here
- type: object

bonus_item_more_levels

what item is required to increase the amount of levels that can be added to an enchantment
parsed as an ingredient, the format for this is outlined here
- type: object

Default configuration

When the config is generated for the first time, it will look like this:

{
	"min_success_chance": 75.0,
	"max_success_chance": 100.0,
	"required_bookshelves": 20,
	"required_books": 4,
	"bonus_item_more_enchantments": {
		"item": "minecraft:nether_star"
	},
	"bonus_item_more_levels": {
		"item": "minecraft:enchanted_golden_apple"
	}
}