Minecraft Data Packs / Quality of Life

What Book is This? [22w46a+]

  • check_circle Functions
  • check_circle Predicates
  • 3,868 views, 0 today
  • 251 downloads, 0 today
  • 46
  • 45
  • 11
Oligo's Avatar Oligo
Level 38 : Artisan Crafter
22

What Book is This?

a Minecraft Datapack for versions 22w46a and higher


Description:

Relevant information about a book will be displayed to players when hovered over in a chiseled bookshelf. This alleviates the need to take a book out of a bookshelf to identify what it is, and attempts to make chiseled bookshelves a more viable and convenient option for storing books.

Usage:

What Book is This? [22w46a+] Minecraft Data Pack

Hovering your cursor over a book placed in a bookshelf will display identifying information about the book to the player's actionbar. The information displayed depends on the type of book in the slot. Enchanted books display each enchantment held in the book. Written books display the title and author of the book. These book types (as well as Writable books and Books) will display their custom names if present.

Displays can be toggled by each player individually using either of the commands
/trigger whatbookisthis
/trigger wbit

The datapack can be fully disabled by using the command /function wbit:uninstall

Credit:

Datapack assets written by Oligo
CompatibilityMinecraft 1.19
Tags

Create an account or sign in to comment.

Trolek303
07/28/2023 3:02 am
Level 21 : Expert Archer
Trolek303's Avatar
You should change the .zip file's name so that people know to unzip the datapack or just unzip it yourself
1
wwbwb9636
03/14/2023 7:17 pm
Level 1 : New Miner
wwbwb9636's Avatar
Really like this, but I have to reload the datapack each time I start playing. It does show as enabled when listed, but it doesn't work until I do a reload.
1
Juleea
12/09/2022 9:30 pm
Level 3 : Apprentice Miner
Juleea's Avatar
Cool and useful idea.
1
Apollo404
11/26/2022 10:32 pm
She/Her • Level 66 : High Grandmaster Terraformer Fox
Apollo404's Avatar
Ah yes, versions 14w26a and higher
1
miau the cat
11/26/2022 4:35 pm
Level 50 : Grandmaster Kitten
miau the cat's Avatar
I haven‘t tried yet, but im sure it is great if it works. Great work!!
1
Picarrow
11/26/2022 2:18 am
Level 30 : Artisan Explorer
Picarrow's Avatar
This is incredible, great job! I took a peep at the code, and boi is it complex, yikes! Smart dude.
2
ProGameBot
11/26/2022 7:52 pm
Level 54 : Grandmaster Miner
ProGameBot's Avatar
My guess is a ray cast that figures out what part of the block he's looking at and then references it back to the slot in the NBT data. Great idea!
2
Oligo
11/26/2022 9:18 pm
Level 38 : Artisan Crafter
Oligo's Avatar
That's correct! The implementation was more challenging than I expected but I got it to work in the end
3
Hoponopono
11/25/2022 1:35 pm
Level 66 : High Grandmaster Technomancer
Hoponopono's Avatar
cool
1
OnlyHouska
11/25/2022 1:13 pm
Level 39 : Artisan Engineer
OnlyHouska's Avatar
bro this is cool
1

Welcome