
Random Enchant
Now, all you need to do is attack mobs, and the item in your hand will gain enchantments automatically.
Screenshots



About this Mod
Random Enchant 是一个为 Minecraft 带来全新附魔体验的模组。除了传统的附魔台,你现在可以通过攻击生物随机获得附魔,还能直接给方块附魔,解锁更多红石玩法!
✨ 主要特性
- 随机附魔:攻击生物时主手物品有 80% 概率 获得随机附魔。60% 概率获得 0–2 级,40% 概率获得 6–10 级,并可叠加。
- 方块附魔:使用 附魔刷 对方块施加附魔。支持单方块和区域模式,被附魔的方块可通过精准采集完整保留。
- 珍珠矛:全新武器,右键冲刺攻击路径上所有实体,左键根据相对速度造成额外伤害。若附有 引雷 则召唤闪电,若附有 Fly之怒 则召唤强化蜜蜂助攻(两者互斥)。
- 新增附魔(部分)(多达 13 种,部分仅能通过战利品或交易获得):
- Fly之怒(珍珠矛) – 攻击时召唤蜜蜂。
- 重定向(三叉戟) – 投掷后左键可控制三叉戟飞向指定位置。
- 红石辅助:
- 水下呼吸(红石元件) – 防止被水冲毁,实现水下电路。
- 快速装填(漏斗) – 移除冷却,物品瞬间传输。
- 绑定诅咒(漏斗) – 锁定漏斗,禁止输出。
- 新药水:
- 回忆药水 – 传送回重生点(即使床被毁)。
- 魂溯药水 – 传送回上次死亡位置(仅能从战利品宝箱获得)。
- 游戏内指南:获得任意附魔书时自动获得指导书,或使用命令
/random_enchant description获取。
📦 安装
- 安装 NeoForge 21.1.93+(适用于 Minecraft 1.21.1)。
- 安装前置 Curios API 9.5.1+1.21.1(部分功能需要)。
- 将模组 jar 文件放入 客户端和服务端 的
mods文件夹。
📜 命令
/random_enchant description– 获取游戏内指南书。/random_enchant config <选项> [值]– 游戏内修改配置(需权限等级2)。
部分配置默认值(完整列表见游戏内指南):
doRandomEnchant– 攻击时随机附魔(false)flyEnchantmentLiftHeightPerTick– 飞行上升速度(0.05)isEnchantedBlockGetatable– 精准采集保留附魔方块(true)bedrockViolable– 是否可影响基岩(false)/block_enchant <get|add|remove> <x y z> [附魔ID] [等级]– 直接管理方块附魔。
🛠 新增物品与配方
| 物品 | 描述 | 获取方式 |
|---|---|---|
| 附魔刷 | 对方块施加附魔,耐久 387 | 工作台合成(配方见 JEI 或游戏内指南) |
| 珍珠矛 | 冲刺攻击武器 | 末影珍珠 + 回响碎片 + 沉重核心 + 爆裂紫颂果 + 旋风棒 |
| 回忆药水 | 传送回出生点 | 无序合成:牛奶瓶 + 末影珍珠 + 糖 + 荧石粉 |
| 牛奶瓶 | 合成材料 | 无序合成:玻璃瓶 + 奶桶 |
(所有配方及新物品说明均可在 JEI 中查看。)
🧩 方块附魔(红石辅助)
- 水下呼吸(红石元件) – 防止被水冲毁。
- 快速装填(漏斗) – 物品瞬间传输。
- 绑定诅咒(漏斗) – 锁定输出。
- 爆炸 – 生物站在方块上时爆炸。
- 火焰附加 – 点燃生物。
- 击退 – 触碰方块的生物被弹起。
- 荆棘 – 生物站在方块上受伤。
- 海之嫌弃 – 方块会将水中的生物推向岸边。
🔧 兼容性与依赖
- 必需:NeoForge 21.1.93+、Curios API 9.5.1+(提供背部槽位等)。
- 完全兼容 JEI:所有新物品、配方和说明均可查看。
- 与 Ender IO 联动:新附魔可通过附魔器获得。
- 注意:模组必须在服务端和客户端同时安装,否则功能失效。可能与重度修改附魔系统的模组冲突。
❤️ 致谢
- 开发者:Skrepy2233
- 灵感来源与借鉴:Mafuyu33 (neomafishmod)、Mahiru
- 纹理:Ragecraft IV 资源包(珍珠矛纹理)
- Fabric 版:点此
Random Enchant is a Minecraft mod that brings a brand-new enchanting experience. In addition to the traditional enchanting table, you can now gain enchantments randomly by attacking mobs, and even enchant blocks directly, unlocking more redstone possibilities!
✨ Main Features
- Random Enchantment: Your main hand item has an 80% chance to receive a random enchantment when attacking a mob. There's a 60% chance for levels 0–2 and a 40% chance for levels 6–10, which can stack.
- Block Enchanting: Use the Enchant Brush to apply enchantments to blocks. Supports single-block and area modes. Enchanted blocks can be fully preserved by mining them with Silk Touch.
- Pearl Spear: A new weapon. Right-click to dash and damage all entities in your path. Left-click deals bonus damage based on relative velocity. If enchanted with Channeling, it summons lightning; if enchanted with Fury of Fly, it summons empowered bees to assist (the two enchantments are mutually exclusive).
- New Enchantments (Partial) (Up to 13 types, some only obtainable through loot or trading):
- Fury of Fly (Pearl Spear) – Summons bees on attack.
- Redirect Projectile (Trident) – Allows you to control the trident's flight path by left-clicking after throwing.
- Redstone Assistance:
- Respiration (Redstone Components) – Prevents components from being washed away by water, enabling underwater circuits.
- Quick Charge (Hopper) – Removes cooldown, enabling instant item transfer.
- Binding Curse (Hopper) – Locks the hopper, preventing it from outputting items.
- New Potions:
- Memory Potion – Teleports you to your spawn point (even if the bed is destroyed).
- Soultrance Potion – Teleports you to your last death location (only obtainable from loot chests).
- In-Game Guide: Automatically receive a guidebook when you obtain any enchanted book, or get it using the command
/random_enchant description.
📦 Installation
- Install NeoForge 21.1.93+ (for Minecraft 1.21.1).
- Install the prerequisite Curios API 9.5.1+1.21.1 (required for some features).
- Place the mod jar file into the
modsfolder on both the client and the server.
📜 Commands
/random_enchant description– Get the in-game guidebook./random_enchant config <option> [value]– Modify configurations in-game (requires permission level 2).
Partial Configuration Defaults (see the in-game guide for the full list):
doRandomEnchant– Enables/disables random enchantment on attack (false)flyEnchantmentLiftHeightPerTick– Ascent speed for the Fly enchantment (0.05)isEnchantedBlockGetatable– Whether enchanted blocks can be obtained with Silk Touch (true)bedrockViolable– Whether bedrock can be affected (false)/block_enchant <get|add|remove> <x y z> [enchantment ID] [level]– Directly manage block enchantments.
🛠 New Items & Recipes
| Item | Description | Acquisition |
|---|---|---|
| Enchant Brush | Used to enchant blocks. Durability: 387. | Crafted at a workbench (recipe available in JEI or the in-game guide). |
| Pearl Spear | A dash-attack weapon. | Ender Pearl + Echo Shard + Heavy Core + Popped Chorus Fruit + Breeze Rod |
| Memory Potion | Teleports you to your spawn point. | Shapeless: Milk Bottle + Ender Pearl + Sugar + Glowstone Dust |
| Milk Bottle | Crafting material. | Shapeless: Glass Bottle + Milk Bucket |
(All recipes and new item descriptions can be viewed in JEI.)
🧩 Block Enchantments (Redstone Assistance)
- Respiration (Redstone Components) – Prevents washing away.
- Quick Charge (Hopper) – Instant item transfer.
- Binding Curse (Hopper) – Locks output.
- Explosion – Explodes when an entity stands on the block.
- Fire Aspect – Ignites entities.
- Knockback – Knocks back entities that touch the block.
- Thorns – Damages entities standing on the block.
- Bad Luck of the Sea – The block pushes entities in water toward the shore.
🔧 Compatibility & Dependencies
- Required: NeoForge 21.1.93+, Curios API 9.5.1+ (provides back slots, etc.).
- Fully JEI Compatible: All new items, recipes, and descriptions can be viewed.
- Ender IO Integration: New enchantments can be obtained through the Enchanter.
- Note: The mod must be installed on both the server and client; otherwise, its features will not work. May conflict with mods that heavily modify the enchantment system.
❤️ Credits
- Developer: Skrepy2233
- Inspiration & Code Reference: Mafuyu33 (neomafishmod), Mahiru
- Textures: Ragecraft IV resources (source of the Pearl Spear texture)
- Fabric Edition: Available here
Available Versions
How to Install Random Enchant on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set neoforge Loader
In the panel under "Egg", select the neoforge loader and matching Minecraft version (1.21.1).
Install Mod
Open the mod browser in the dashboard and search for "Random Enchant". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.21.1
Server-side
✓ RequiredRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
Random Enchant server crashes on startup – what to do?
Most common cause: wrong neoforge version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.21.1). You can switch loaders with one click in the panel.
Is Random Enchant compatible with neoforge?
Random Enchant officially supports neoforge for Minecraft 1.21.1. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with Random Enchant – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Random Enchant consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.
Similar Mods
Rent Modded Server
Install Random Enchant with just one click on your server.