Language

Interactive Enchanted Books

Interactive Enchanted Books

Modrinth

Openable Enchanted Books. Placeable in Lecterns. Unique particle for each enchantment. Enchantment cloning & more

357 downloads 10 followers updated 12d ago
latest v1.1.0+26.1 Modrinth
Fabric 26.1 – 26.1.2 Game-mechanicsMagicUtility

Icon header

Tags header

Client header

Openable Enchanted Books

Using an Enchanted Book shows information about the enchantments. This includes a detailed description, the list of mutually exclusive enchantments, the comparator signal and the list of supported items.

Preview when right-clicking with Enchanted Book

Besides the enchantment details, the book screen also includes information panels showing the requirements for spawning particles and for cloning Enchanted Books. These panels are only shown if the mod is also installed on the server

Preview for info panels

Intentions/Reasoning
  • Seeing the enchantment details without having to leave the game.
  • In comparison to other similar mods the book menu is more diegetic than simply showing the enchantment details in the tooltip of the item.

Server header

Placeable Enchanted Books in lecterns

Enchanted Books can be placed in lecterns. Opening the lectern will show the same interface as opening the book regularly.

Preview when placing the Enchanted Book in a lectern

Intentions/Reasoning
  • Parity with written books
  • Allows for the other features related to Enchanted Books in lecterns

Comparator signals

The enchantments are separated into groups, each emitting a different comparator signal strength. This signal strength is also shown in the book screen.

Comparator signal preview

List of all comparator signal strengths

| Power | Description | Enchantments |
| ----- | ----------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| 1 | Cover page | |
| 2 | Universal |

  • Mending
  • Unbreaking
|
| 3 | Curses |
  • Curse of Binding
  • Curse of Vanishing
|
| 4 | Universal armor |
  • Protection
  • Blast Protection
  • Fire Protection
  • Projectile Protection
|
| 5 | Helmets |
  • Aqua Affinity
  • Respiration
|
| 6 | Chestplates |
  • Thorns
    • Not chestplate exclusive
    • Ensures category has one entry
|
| 7 | Leggings |
  • Swift Sneak
|
| 8 | Boots |
  • Depth Strider
  • Feather Falling
  • Frost Walker
  • Soul Speed
|
| 9 | Mining tools |
  • Efficiency
  • Fortune
  • Silk Touch
|
| 10 | Melee weapons damaging |
  • Sharpness
  • Smite
  • Bane of Arthropods
  • Impaling
  • Density
  • Breach
|
| 11 | Melee weapons utility |
  • Fire Aspect
  • Sweeping Edge
  • Knockback
  • Looting
  • Wind Burst
  • Lunge
|
| 12 | Ranged weapons damaging |
  • Power
|
| 13 | Ranged weapons utility |
  • Punch
  • Infinity
  • Flame
  • Multishot
  • Quick Charge
  • Piercing
  • Channeling
  • Loyalty
  • Riptide
|
| 14 | Other tools |
  • Lure
  • Luck of the Sea
|
| 15 | None/unused | |

Intentions/Reasoning
  • Enables basic sorting of Enchanted Books based on their enchantments
  • Allows encoding of a redstone signal strength sequence based on the enchantments of the book

Particle header

Lecterns emit particle effects based on the enchantments of the currently selected page. If the cover page is selected, the particles will cycle randomly through the contained enchantments.

The particle lifetime is based on the count of books contained in nearby chiseled bookshelves. If there is no bookshelf or it is empty, no particles will be emitted.

Preview for particle requirements

| | |
| ---------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- |
| Mending particle

Mending

| Feather Falling particle

Feather Falling

|
| Frost Walker particle

Frost Walker

| All 3 enchantments

All 3 particles

|

List of all particle textures

Admittedly most of the particle textures can be seen as programmer art

| Texture | Name | Texture | Name | Texture | Name |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------- |
| Aqua affinity | Aqua affinity | Bane of arthropods | Bane of arthropods | Blast protection | Blast protection |
| Breach | Breach | Channeling | Channeling | Curse of Binding | Curse of Binding |
| Curse of Vanishing | Curse of Vanishing | Density | Density | Depth strider | Depth strider |
| Efficiency | Efficiency | Feather falling | Feather falling | Fire aspect | Fire aspect |
| Fire protection | Fire protection | Flame | Flame | Fortune | Fortune |
| Frost walker | Frost walker | Impaling | Impaling | Infinity | Infinity |
| Knockback | Knockback | Looting | Looting | Loyalty | Loyalty |
| Luck of the sea | Luck of the sea | Lunge | Lunge | Lure | Lure |
| Mending | Mending | Multishot | Multishot | Piercing | Piercing |
| Power | Power | Projectile protection | Projectile protection | Protection | Protection |
| Punch | Punch | Quick charge | Quick charge | Respiration | Respiration |
| Riptide | Riptide | Sharpness | Sharpness | Silk touch | Silk touch |
| Smite | Smite | Soul speed | Soul speed | Sweeping edge | Sweeping edge |
| Swift sneak | Swift sneak | Thorns | Thorns | Unbreaking | Unbreaking |
| Wind burst | Wind burst | | | | |

Intentions/Reasoning
  • Allows an easy way of spawning a variety of particle effects.
  • The other redstone related features enabling a dynamic way of changing particle textures and lifetime.

Hopper integration

Disable with: /gamerule interactive_enchanted_books:hopper_interacts_with_lectern false

Hoppers are able to place written or Enchanted Books in lecterns. Additionally they are able to remove the active book of a lectern.

Preview of the hopper interactions

Intentions/Reasoning
  • Parity with other block entities and behaviour. Not being able to place books in lecterns using hoppers seems like an oversight in vanilla
  • Allows for greater control over the enchantment particles of this mod

Signal changing page

Disable with: /gamerule interactive_enchanted_books:signal_changes_lectern_page false

Sending a redstone signal to the lectern increments the shown page. If the last page is reached, the lectern will loop back to the first page. This disables the default behaviour of page changes emitting a redstone signal. Observers will still detect the page change

Signal changing page preview

Intentions/Reasoning
  • As lecterns with Enchanted Books emit particles based on the current page, changing the page with a redstone signal allows dynamic control over which particle is currently shown
  • In combination with the chiseled bookshelves, this allows for flexible particle effects

Echo header

Disable with: /gamerule interactive_enchanted_books:craftable_enchantment_echo false

The Enchantment Echo clones the enchantments of the original item without destroying it and can be interacted with just as a regular Enchanted Book (see previous features). Combining the Enchantment Echo with an Echo Shard converts it into an Enchanted Book.

| | |
| --------------------------------------------------------------------- | -------------------------------------------------------------------------------- |
| Echo crafting | Enchanted Book crafting |

Echo crafting in game

Intentions/Reasoning
  • The Enchantment Echos allow easier usage of the other mod features, such as comparator signal and particles, without having to combine multiple Enchanted Books
  • The ability to create an Enchantment Echo from an already enchanted item enables easier insight into the enchantment details. When playing a modpack it's easy to find items with tons of enchantments without knowing most of them. Enchantment Echos provide an easy way to preview the details in game
  • The conversion to a real Enchanted Book is intended to reduce the need for villagers while not being too overpowered, as Echo Shards are a finite end game resource.

Integration header

See the example repository for more details on how to integrate custom enchantments.

Versions

Release
1.1.0+26.1
fabric · 26.1, 26.1.1, 26.1.2 · 12d ago
# Changelog for version 1.1.0 - Make particle emission based on the book count of nearby chiseled bookshelves - If there are no books in nearby chiseled…
109
Release
1.0.1+26.1
fabric · 26.1, 26.1.1, 26.1.2 · 1mo ago
# Changelog for version 1.0.1 - Disable the hopper interactions with lecterns by default to match vanilla more closely - Can be enabled with `/gamerule…
206
Release
1.0.0+26.1
fabric · 26.1, 26.1.1, 26.1.2 · 2mo ago
42

Comments 0

No comments yet. Be the first to share your thoughts.

Download Interactive Enchanted Books

Files are served directly from the original source. Modgrid does not host or modify them.