control custom enchantments appearance in various treasure items.
This is a majour update and config option has been changed!!!
This addon uses TE v22.1.0's new availability feature.
To override the max enchantment level for various activities, you can do so by adding "availabilities_max:" entry in each custom enchant's config. If this is not provided, "default_ce_availabilities_max" or CE's max level will be used.
The new config:
Addons:
Treasure:
defaultFlag: true
event_map:
PlayerFishEvent: "LOWEST"
VillagerAcquireTradeEvent: "LOWEST"
EntityDeathEvent: "LOWEST"
ChunkPopulateEvent: "HIGH"
LootGenerateEvent: "HIGH"
EnchantItemEvent: "LOWEST"
## entry uses the same options from TE's DefaultCEAvailabilities: option
# ENCHANTMENT_TABLE, LOOT, VILLAGER, FISHING, ENTITY_DETH
# this option can be overridden in each TE's config with 'availabilities_max:' with the same format.
default_ce_availabilities_max:
ENCHANTMENT_TABLE: 3
LOOT: 2
VILLAGER: 3
FISHING: 4
ENTITY_DEATH: 2