跳到正文

Ender Codex

作者:TorranTR

这款模组添加了一本专门收纳书籍的书,让其他模组书籍都能集中放在一个方便查找的地方,从而节省背包空间。

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

Ender Codex

Summary

One book that holds all your other books. Put your guide books, journals and written books into the Ender Codex,
then open it to see everything it holds on a single contents page and pick one to read. The book opens just as it would
from your hand, and when you press Escape you’re back at the contents page, ready to pick the next one.

It works with vanilla written books and book and quills (you can keep writing in them, and sign them, without taking
them out) and with the guide books of other mods, including Patchouli and Modonomicon books.

Minecraft 1.21.1, NeoForge. Dependencies: none.


Getting started

  1. Craft an Ender Codex from a Book, an Ender Pearl and 2 Leather. The recipe unlocks the first time you pick up a
    book it can hold.
  2. Open your inventory, pick up a book and right-click it onto the codex. It goes inside.
  3. Use the codex (right-click with it in either hand) to open its contents page, and click a book to read it.

Putting books in

Like a bundle, in any inventory:

  • Pick up a book and right-click it onto the codex, or
  • pick up the codex and right-click it onto a book.

Identical copies (the same written book, for example) share one entry. A codex holds 64 entries by default
(see Configuration). Anything that isn’t a book is handled normally, so right-clicking other items
onto the codex still swaps them as usual.

Hovering over a codex in your inventory shows how many books it holds and the first few titles.


Reading

Using the codex opens its contents page: each book’s icon and title, seven to a page, with arrows (or Page Up /
Page Down) to turn pages. Hover over a book to see its tooltip, and click it to open it.

Book Opens as
Written Book The normal reading screen
Book and Quill The normal writing screen. Saving and signing work as usual; a signed book stays in the codex
Other mods’ guide books That mod’s own book screen, as if you’d used the book from your hand

Escape goes back to the codex. Pressing Escape in any book opened from the codex reopens the contents page at the
page you were on. Closing a book any other way (a Done button, for example) closes it completely.

As in vanilla, pressing Escape in a Book and Quill discards unsaved changes; use Done to save.


Taking books out

On the contents page, hover over a book: a Take link appears at the right of its row. Click it and the book goes
back into your inventory (or drops at your feet if your inventory is full).


Supported books

The codex holds anything in the ender_codex:books item tag. Out of the box that is:

Mod Books
Minecraft Written Book, Book and Quill
Patchouli Every Patchouli guide book that uses Patchouli’s own book item, such as Nature’s Aura’s Book of Natural Aura
Occultism Dictionary of Spirits
Immersive Engineering Engineer’s Manual
Applied Energistics 2 Guide
Mahou Tsukai Knowledge Compendium
Hexerei Book of Shadows
Others Modonomicon, Botania’s Lexica Botania, Ars Nouveau’s Worn Notebook, FTB Quests’ Quest Book, Integrated Dynamics’ On the Dynamics of Integration, Theurgy’s grimoire, and Tinkers’ Construct’s books
Any mod Anything in the common #c:manuals tag

Plain books, enchanted books and knowledge books can’t go in; there’s nothing in them to read.

Missing a book? It can be added with a data pack (see below), and requests are welcome.


Crafting Recipes

Output Ingredients
Ender Codex Book, Ender Pearl, 2 Leather (shapeless)

Configuration

Config file: config/ender_codex-common.toml

Option Default Description
codex.capacity 64 How many books a codex holds (1–256). Identical copies count as one. Lowering it never deletes books: a codex already holding more keeps them, but takes no more
general.debugLogging false Enable debug logging

Data Packs

Tags

Tag Default contents Used for
ender_codex:books (item) See Supported books What a codex holds

To let the codex hold another mod’s book, add it to the tag in a data pack at
data/ender_codex/tags/item/books.json:

{
  "values": [
    { "id": "examplemod:field_guide", "required": false }
  ]
}

Using "required": false means the data pack still loads when that mod isn’t installed. The codex never holds
another Ender Codex, and items that refuse to go inside containers (like Shulker Boxes) are kept out even if tagged.

常见问题

Ender Codex 支持哪些 Minecraft 版本?

Ender Codex 支持 Minecraft Java 版 1.21.1,可用的加载器:NeoForge。下载时注意选择和你游戏版本一致的文件。

Ender Codex 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分

TorranTR 的其他作品

查看全部 →