Fixed bug that remove item with vanishing curse when a player is in creative in a survival world or vice versa
Fixed compatibility on newer versions
Updated textures to new format Updated Resource Pack
🎉 New Features
-
Configurable Loot Table Probabilities: You can now fully customize the ticket spawn probabilities for each structure through the
ToEK.jsonconfiguration file- Individual configuration for each specific loot table
- Configurable generic probability for other chests
- Default values maintained for backward compatibility
-
Nether Fortress Support: Added support for tickets to spawn in Nether Fortress chests with a default probability of 5%
-
Extended Compatibility: The mod is now compatible with Minecraft versions from 1.21 to 1.21.3 with a single JAR
🔧 Improvements
- Dependency Optimization: Removed unnecessary
server-translations-apidependency
📝 Configuration Changes
The ToEK.json file now includes two new fields:
{
"lootTableProbabilities": {
"minecraft:chests/ancient_city": 0.1,
"minecraft:chests/abandoned_mineshaft": 0.03,
"minecraft:chests/stronghold_library": 0.05,
"minecraft:chests/stronghold_corridor": 0.05,
"minecraft:chests/stronghold_crossing": 0.05,
"minecraft:chests/end_city_treasure": 0.05,
"minecraft:chests/bastion_bridge": 0.15,
"minecraft:chests/bastion_hoglin_stable": 0.15,
"minecraft:chests/bastion_other": 0.15,
"minecraft:chests/bastion_treasure": 0.15,
"minecraft:chests/nether_bridge": 0.05
},
"genericChestProbability": 0.005
}
lootTableProbabilities: Map of customizable probabilities per loot table (0.0 to 1.0)genericChestProbability: Probability for generic chests not specified (default 0.5%)
📚 Documentation
- Updated README with complete information about the new configuration options
- Improved documentation on how to customize loot table probabilities
Updated To 1.21 by Dong Heon Hee
Behavior Changes
- All the naturally created chests gets probabilitity to get ticket by default(0.5%)
- If a player's item has Curse of Vanishing enchantment and the player isn't creative mode, the item will be removed.
Backport to 1.20.1 with some fixes in config
- Removed translation per client due to nbt errors
- Added customization to the item (Support & to code colors)
- Added command to get item (/getticket <player>, needs "OP" or permission "toek.command.getticket")
- Added customization to CustomModelData id for creation in resourcepacks
- Added the ticket to different locations
- Added Texture for clients in the mod
- Added Translation keys
- Created a resource pack to integrate in server


