TEAddon-Treasure icon

TEAddon-Treasure 5.2.1

control custom enchantments appearance in various treasure items.

Page 1
includes the latest paper 1.21.4_79 support.
rebuilt with the TE 23.9.8
built with TE 23.8.0
includes 1.20.4 support.
includes 1.20.3/TE23.5 support.
updated how enchantment level is compared against level stated in the lore.
fixed the lore checking during the enchantment table process.
utilises TE v22.1.0's availability option.

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

 

 

using TE v21.4.2
Page 1