2.0
Compatibility
Changes
Sneak Enchant 2.0
Crouch behaves exactly like 1.2 out of the box. Everything new is optional and switched OFF until you turn it on.
✨ New
- Five builds, one per version range: 1.17.x–1.19.x, 1.20.x–1.21.5, 1.21.6–1.21.8, 1.21.9–26.2 and 26.3. Grab the zip that matches your Minecraft version. 1.17–1.19 is supported for the first time.
- In-game settings menu with
/trigger sneak_menu(anyone can open it, changing values needs operator permissions):- 1.21.6+: a real quick access screen with checkboxes and sliders that opens showing your current values. Buttons: Apply, Reset to defaults, Reset ranking.
- 1.17–1.21.5: a clickable chat panel with
[-][+]and[ON][OFF]buttons.
- No "Experimental Settings" warning when opening the world: the screen is an inline dialog, not a data pack dialog file.
- Scoreboard config for servers and commands:
/function sneak_enchant:configshows every value,/scoreboard players set <name> sneak_cfg <value>changes one,/function sneak_enchant:defaultsresets everything. - Optional chaos extras (all OFF by default):
- Cooldown between rolls (ticks)
- 1–10 rolls per sneak
- Curses on/off
- Jackpot: % chance to boost one random non-curse enchantment on your held item by 1–50 levels
- Backfire: % chance of a curse (Binding or Vanishing) on your held item plus a short bad-luck effect
- Actionbar counter of how many items were enchanted
- Announcements for jackpots and backfires
- Levels ranking in the sidebar
- Sounds and particles on/off
- Choose which slots roll: hotbar, main inventory, armor, offhand
- Lunge joins the enchantment pool on 1.21.11 and later.
- Welcome message the first time the pack loads, with an
[Open settings]button.
🔧 Changed
- One engine for every version. All builds use the same scoreboard-based random generator, so the pack no longer needs
/randomor function macros to roll. The old 1.20 / 1.20.1 fallback is gone because those versions run the same code as everything else. - No more blank turns on older versions. Each build only rolls enchantments that exist in that version (Swift Sneak from 1.19, Density / Breach / Wind Burst from 1.21, Lunge from 1.21.11).
📦 Updating
Delete the old Sneak Enchant zip from your world's datapacks folder before adding the new one, then /reload.
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:l1qk3WmA:5kK6mpRA"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:l1qk3WmA:5kK6mpRA"
}

