All versions
0.0.2
Release
Time Enchants 0.0.235 minutes ago 3
Compatibility
Minecraft: Java Edition
1.21.1
Platform
NeoForge
Supported environments
Client and server
Changes
[0.0.2] - 2026-11-29
Added
- Project rebuilt from scratch on NeoForge
21.1.268/ Minecraft1.21.1using ModDevGradle (the previous build system was lost with the original sources). - Expanded configuration file (
config/time_enchants-common.toml):[loot_and_trades]: configurable loot book chance, librarian/wanderer trade chances, and trade costs (emeralds + diamonds).[balance]: configurable Click TP rate limit, magnet/XP-magnet radii, and per-level percentages for Lifesteal, Reflect Damage, XP Boost, Prosperity and Super Loot.[level_caps]: optional per-enchantment maximum effective level (-1= no cap).
- Soulbound persistence: items kept on death are now stored in world
SavedDataand survive server restarts (previously lost on shutdown). - Missing
effectsfield added to all enchantment JSON definitions (required by the 1.21.1 enchantment codec).
Changed
- Villager trades are now rare: enchantments were removed from the vanilla
minecraft:tradeabletag so librarians no longer sell them through the regular trade pool. A Master Librarian (level 5) now has only a configurable chance (default 5%) to offer one Time Enchantments book, and the Wandering Trader chance per enchantment is even lower (default 2%, max 3 books). Book level is random within the enchantment's max level. - Auto Feed now consumes the most nutritious food in the inventory instead of the first edible item found, and the per-level intervals were fixed (see bug fixes).
- Mining AOE / Vein Miner now use the real loot table for connected
blocks (
Block.getDrops), so Silk Touch, Fortune and block-specific drops are respected. Prosperity and Auto Smelt are applied on top. - Reflect Damage and other combat formulas now read their percentages from the config instead of hardcoded values.
- Code reorganized: the monolithic
ModEventsclass was split into focused handlers (TickHandler,CombatHandler,MiningHandler,InteractionHandler,TradeHandler) and a client-only flight handler.
Fixed
- Auto Feed interval bug: the level-based
switchnever assigned the interval, so every level used the same delay. Levels now use 200/100/40 ticks for levels 1/2/3 respectively. - Soulbound data loss: previously stored in a static in-memory map and
lost on server restart; now persisted via
SavedData. Math.random()replaced with properRandomSourcein trade generation.- Unnecessary
ThreadLocalrecursion guard in mining removed (all mining logic runs on the server thread). - Teleport cooldown now configurable instead of hardcoded (100 uses / 5 minutes by default).
- Client flight state resets correctly on spectator mode, creative flight, and player clone events.
Notes
- Enchantment count unchanged: 23 enchantments.
- Supported languages:
en_us,es_es,fr_fr,de_de,pt_br.
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:toHlHLTU:oOmkxlCk"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:toHlHLTU:oOmkxlCk"
}

