Tags
Creators
Details
Licensed ARR
Published 11 months ago
Updated 5 months ago
All versions
0.1.2-neoforge-1.21.10
Beta
Dynamic Enchants 0.1.2-neoforge-1.21.1010 months ago 31
Compatibility
Minecraft: Java Edition
1.21.10
Platform
NeoForge
Supported environments
Client and server
Changes
Tickorino toggle rework (per-item)
- Implemented per-item toggle for Tickorino using ItemStack data components (
DataComponents.CUSTOM_DATA). - Added helpers in
TickarinoEnchant:isActive(ItemStack),toggleActive(ItemStack). - Each enchanted item keeps its own ON/OFF state (persisted on the item), so toggling one tool no longer toggles all tools.
Input changes (keybind replaces sneak-right-click)
- Removed sneak right-click toggle behavior for Tickorino.
- Added a configurable keybind to toggle the held item’s Tickorino state:
- Name: Toggle Tickorino
- Default key:
.(period) - Works even when GUIs are open
- Appears under a new Controls category: Dynamic Enchants
Networking
- Added
TickorinoTogglePacket(serverbound) to toggle the held item’s Tickorino flag and displayMode: ON/OFFto the player. - Registered the packet in
Messages.onRegisterPayloadHandler.
Runtime gating and behavior
ModEvents.onPlayerInventoryTicknow runs Tickorino only when:- The player’s main-hand item has the Tickorino enchant, and
TickarinoEnchant.isActive(mainHand)istrue.
- Removed the old per-player toggle logic.
Kelp support (Hoe-only)
- Added special handling for kelp under Hoe logic:
- For
Blocks.KELP_PLANT, logic climbs to the kelp head (Blocks.KELP) and random-ticks there (preferred growth trigger). - For
Blocks.KELP, random-ticks the block directly.
- For
UI/Localization
- Added a dedicated Controls category via
KeyMapping.Category.register(ResourceLocation(modid, "dynamic_enchants")). - New lang key:
key.category.dynamicenchants.dynamic_enchants→Dynamic Enchants.
Logging
- Disabled spammy logger output that was flooding the console (previous debug/info calls tied to Tickorino processing).
Files updated/added
Updated
enchantment/custom/TickarinoEnchant.java— per-item toggle helpers; kelp handling; removed per-player toggle; muted debug logging.util/ModEvents.java— removed sneak-right-click toggling; gated Tickorino by per-item active state.network/Messages.java— registered the new packet.DynamicEnchantsClient.java— keybind registration (default.), new Controls category, client tick handler to send toggle packet.assets/dynamicenchants/lang/en_us.json— added Controls category label.
Added
network/TickorinoTogglePacket.java— serverbound packet to toggle per-item state.
Result
- Toggle is now item-specific and persistent.
- Only items with Tickorino respond to the toggle.
- Keybind replaces sneak right-click and is configurable.
- Kelp growth works with a Hoe when Tickorino is ON.
- Console remains clean of unnecessary spam from Tickorino debug logs.
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:QAKIT0XP:rynYitQc"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:QAKIT0XP:rynYitQc"
}

