Back to mods
Random Enchanted Book project artwork

CurseForge · Minecraft mod

Random Enchanted Book

Adds a variety of Random Enchanted Books. Open one to get an enchanted book with a random enchantment.

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Random Enchanted Book release should I use?

Updated today
Latest stable file Random Enchanted Book 1.1 (NeoForge 1.21.1)
Game version 1.21.1
Loader NeoForge

Random Enchanted Book 1.1 (NeoForge 1.21.1) targets 1.21.1 with NeoForge. The project page does not say whether this file belongs on the client, dedicated server, or both. No extra mods listed for this file.

Where it goes

Is Random Enchanted Book required on the client, server, or both?

The project page does not say whether this file belongs on the client, dedicated server, or both.

Client Source doesn’t say
Dedicated server Source doesn’t say
Loader for this release NeoForge
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source does not explicitly classify this release as client-only or server-only.

What else does Random Enchanted Book 1.1 (NeoForge 1.21.1) need?

Random Enchanted Book 1.1 (NeoForge 1.21.1). Change the file and its required mods may change too.

No extra mods listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

1 listed on this file 2 pulled in by those mods
Just Enough Items (JEI) Optional for Random Enchanted Book 1.1 (NeoForge 1.21.1)
optional
Matching file found Matched file: 19.71.0.475 for NeoForge 1.21.1
MezzConfig Needed by Just Enough Items (JEI)
pulled in
Matching file found Matched file: MezzConfig 0.7.1 for NeoForge 1.21.1
MezzConfigGUI Needed by Just Enough Items (JEI)
pulled in
Matching file found Matched file: MezzConfig GUI mc1.21.1-0.7.1 for NeoForge

2 extra mods were pulled in by other dependencies. Indented rows show who needs each one. We only count dependency files that match this setup. A file for another loader does not fill the gap.

Before you install it

Add Random Enchanted Book without breaking your instance.

Built for Random Enchanted Book 1.1 (NeoForge 1.21.1). Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use Random Enchanted Book 1.1 (NeoForge 1.21.1). It targets 1.21.1 with NeoForge; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    This file does not list any required mods. Do not add a library just because a different file uses it.

  3. 03

    Put it on the correct side

    The project page does not say whether this file belongs on the client, dedicated server, or both.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside Random Enchanted Book 1.1 (NeoForge 1.21.1). It opens that exact file at the source.

About this project

What does Random Enchanted Book add?

Random Enchanted Book

Find a mystery book in a loot chest and see what’s inside. Random Enchanted Book adds books in multiple rarities, each with its own enchantment pool. Open one to get a standard Enchanted Book with a randomly selected enchantment and level.

I designed this mod with adventure modpacks in mind. Feel free to include it in yours.

Find books in loot chests

By default, a loot chest has a 30% chance to generate one extra Random Enchanted Book when its loot is first rolled. The book’s rarity is rolled separately. You can adjust both the chest drop chance and the rarity weights.

Random Enchanted Books alongside other chest loot

Open one book or a whole stack

  • Right-click while holding the books to open one.
  • Sneak + right-click to open the whole stack. Each book rolls its own enchantment and level.

Opening a stack of Random Enchanted Books in Minecraft

Preview enchantments in JEI

With JEI installed, press U over a Random Enchanted Book to see its possible enchantments and level ranges. Press R over a standard Enchanted Book with a single enchantment to see which random books can produce it at that level. Just Enough Items (JEI)

JEI’s Possible Enchantments view showing a book’s enchantment pool and level ranges

Configuration

  • Enchantment pools and colors (v1.1+). Customize enchantment pools and book border colors through datapack JSON files or kubejs/data. Pools support enchantment weight filters, tags, maximum-level filters, and namespace allow/deny lists. You can also create custom book variants with their own pools.
  • Enchantment pools (v1.0 and earlier). Configure each rarity in config/random_enchanted_book-common.toml using enchantment weights, tags, maximum-level filters, and allow/deny lists. Since v1.1, these settings have moved to datapacks; individual enchantments must be selected or excluded through tags.

The default pools require the random-loot tag and exclude curses.

The following settings remain in config/random_enchanted_book-common.toml in all versions:

  • Extra chest loot. Adjust the drop chance and book rarity weights under [loot.chestBooks]. These weights are independent of the enchantment pool filters.
  • Optional loot replacement. Enable replaceEnchantedBooks under [loot] to replace matching enchantments on enchanted books generated by loot tables. Each matched enchantment produces a Random Enchanted Book of the corresponding rarity. The original book retains unmatched enchantments and is removed if none remain. Disabled by default; when enabled, replacementChance defaults to 50% per book.

Future Plans

  • Add more types of Random Enchanted Books.
  • Provide a way to create custom Random Enchanted Books.(Supported since 1.1 via KubeJS or datapacks; see docs)

Project description from CurseForge.

Pick your setup

Random Enchanted Book by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

1 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Random Enchanted Book versions and loaders

2 of 2 releases match

Looking for an older file? The official CurseForge project page is in Resources.