Minecraft Data Packs / Quality of Life

What Book is This? [22w46a+]

  • check_circle Functions
  • check_circle Predicates
  • 3,712 views, 2 today
  • 242 downloads, 0 today
  • 46
  • 45
  • 11
Oligo's Avatar Oligo
Level 37 : 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.

1
07/28/2023 3:02 am
Level 19 : Journeyman Archer
Trolek303
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
03/14/2023 7:17 pm
Level 1 : New Miner
wwbwb9636
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
12/09/2022 9:30 pm
Level 3 : Apprentice Miner
Juleea
Juleea's Avatar
Cool and useful idea.
1
11/26/2022 10:32 pm
Level 64 : High Grandmaster Terraformer
Apollo404
Apollo404's Avatar
Ah yes, versions 14w26a and higher
1
11/26/2022 4:35 pm
Level 48 : Master Kitten
miau the cat
miau the cat's Avatar
I haven‘t tried yet, but im sure it is great if it works. Great work!!
2
11/26/2022 2:18 am
Level 30 : Artisan Explorer
Picarrow
Picarrow's Avatar
This is incredible, great job! I took a peep at the code, and boi is it complex, yikes! Smart dude.
2
11/26/2022 7:52 pm
Level 52 : Grandmaster Miner
ProGameBot
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!
3
11/26/2022 9:18 pm
Level 37 : Artisan Crafter
Oligo
Oligo's Avatar
That's correct! The implementation was more challenging than I expected but I got it to work in the end
1
11/25/2022 1:35 pm
Level 65 : High Grandmaster Technomancer
Hoponopono
Hoponopono's Avatar
cool
1
11/25/2022 1:13 pm
Level 39 : Artisan Engineer
OnlyHouska
OnlyHouska's Avatar
bro this is cool
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome