HomeJavaModsInteractive Enchanted Books
Interactive Enchanted Books
ModsJava

Interactive Enchanted Books

by Bristn · on Modrinth

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

⬇ Download on Modrinth
Interactive Enchanted Books — screenshot 1

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

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

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

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

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

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

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

Integration header

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

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more