From b0bf9810279ed9149574d0c0de46936d82047d03 Mon Sep 17 00:00:00 2001 From: XxFran10xX <318299142+XxFran10xX@users.noreply.github.com> Date: Tue, 20 Oct 2026 09:51:37 +0200 Subject: [PATCH] TFMCCore: book glint is stored on the books Co-Authored-By: Claude Opus 5.5 --- projects/TFMCCore/overview.md | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/projects/TFMCCore/overview.md b/projects/TFMCCore/overview.md index de38503..0eac58a 100644 --- a/projects/TFMCCore/overview.md +++ b/projects/TFMCCore/overview.md @@ -26,14 +26,23 @@ The separate release workflow delegates to the shared Maven release workflow. Ke ## Signed-book appearance -`hide-book-glint` in `config.yml` defaults to `true`. With ProtocolLib enabled, -TFMCCore hides the default enchantment glint on signed books, including letters -and book skins. It changes the item copies sent to clients; stored books retain -their data. Books with an explicit glint override are left unchanged. Without -ProtocolLib, this feature logs a warning and leaves the appearance unchanged. +`hide-book-glint` in `config.yml` defaults to `true`. TFMCCore hides the default +enchantment glint on signed books, including letters and book skins, by storing a +glint override on the books themselves. Books in player inventories are updated +within a second; books in containers (blocks, entities, ender chests) when the +container is opened. Lecterns and plugin menus are left alone, as are books with +their own glint override. Updated books carry the `tfmccore:hidden_glint` tag, so +setting the option to `false` brings the glint back on exactly those books, in the +same way. + +Inventory packets are never rewritten: clients hash every stack they +click, and in 3.8.1 and earlier a book that looked different to the client than +on the server could leave a ghost copy on the cursor. With ProtocolLib enabled, books on +entities (dropped items, item frames, displays, held books) that have not been +updated yet are still shown without glint through entity packets only. Change the setting and run `/tcore reload config` to apply it. Validate books in -inventories, hands, item frames and dropped items with the intended resource pack. +inventories, containers, item frames and dropped items with the intended resource pack. ## Book copies