← Назад к ресурсам

Double Jump Enchant

A server-side Double Jump enchantment for boots. Fully configurable jump strengths, max levels, and anvil book upgrades. No client mod required!

Modrinth adventure equipment game-mechanics

Описание

[![JOIN OUR DISCORD](https://img.shields.io/badge/JOIN%20OUR%20DISCORD-5865F2?style=for-the-badge&logo=discord&logoColor=white)](https://discord.gg/HTkn94BXmA) This server-side mod adds a brand-new, fully configurable Double Jump enchantment for boots. ![Enchantment on boots](https://cdn.modrinth.com/data/cached_images/3827a224fec631f55bd1f1799449259f7d538d42_0.webp) Please report any bugs, errors, or feature suggestions on Discord: https://discord.gg/4XUPywnEyE **Install on the server. Client installation is optional** (vanilla clients can join and use it seamlessly). Singleplayer note: **Works perfectly in singleplayer.** Just install it normally in your mods folder. ### Features - **100% Server-Side:** Works seamlessly on Forge (1.20.1), NeoForge (1.21.1), and Fabric (1.20.1, 1.21.1, 1.21.11 via loader 0.18.4). - **Intuitive Mechanics:** Use your double jump once while in the air. The ability resets the moment your feet touch the ground. - **Customizable Power:** You decide exactly how many enchantment levels exist and how strong the jump boost is for each level. - **Vanilla-style Anvil Upgrades:** Players can combine enchantment books to level them up, just like regular Minecraft enchantments. - **Modpack Ready:** Ships with 10 built-in language translations out of the box. - **Treasure Chest Loot Support:** Double Jump enchanted books can spawn in vanilla treasure chests (fully configurable, can be disabled). - **Optional Treasure-Only Mode**: You can make Double Jump a treasure-only enchantment via config (disabled by default for backward compatibility). ### Configuration Made Easy You have full control over how the mod behaves. You can find the config file here: - **Forge / NeoForge:** `/config/doublejumpenchant-server.toml` - **Fabric:** `/config/doublejumpenchant-server.json` **Config Options:** - `levelBoosts` — A list of jump strengths. The number of values you put here automatically determines how many levels the enchantment has! - `allowBookUpgrades` — Turn on/off the ability to combine books on an anvil. - `anvilUpgradeExperienceCost` — Set the exact XP level cost for combining books. - `treasureBooksEnabled` — Enable/disable chest generation for Double Jump books. - `treasureBookChance` — Global chance to add the Double Jump loot pool. - `treasureBookMinRolls` — Minimum rolls for that loot pool. - `treasureBookMaxRolls` — Maximum rolls for that loot pool. - `treasureBookLevelWeights` — Per-level weights (e.g. [6, 3, 1]). - `treasureBookLootTables` — List of loot tables where books may appear. - `treasureOnlyEnchantment` — If true, Double Jump is treated as treasure-only (not obtainable from the enchanting table). **Default Setup:** Out of the box, the mod is balanced with 3 tiers and anvil upgrades enabled: ```toml levelBoosts = [0.38, 0.47, 0.54] allowBookUpgrades = true anvilUpgradeExperienceCost = 8 treasureBooksEnabled = true treasureBookChance = 0.12 treasureBookMinRolls = 1 treasureBookMaxRolls = 1 treasureBookLevelWeights = [6, 3, 1] treasureOnlyEnchantment = false ``` ### How Anvil Upgrades Work If you have `allowBookUpgrades` set to `true`, players can combine books of the same tier to reach the next level: - `Double Jump I` + `Double Jump I` ➔ `Double Jump II` - `Double Jump II` + `Double Jump II` ➔ `Double Jump III` *(Players can only craft up to the highest level you've defined in your config).* ### For Modpack Creators - Under the hood, the enchantment is registered with support for up to **10 levels**. This means you can easily add or remove levels via the config without ever needing to rebuild the `.jar` file. - In normal survival gameplay, the mod strictly follows the levels defined in your `levelBoosts` config. - If an admin uses a command to give a player a level higher than your config allows (e.g., Level 5 when only 3 are configured), the jump strength will safely cap out at your highest configured value.