[GH-ISSUE #1910] Broken enchanted book loot #573

Closed
opened 2026-11-02 15:40:09 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @ludovic111 on GitHub (Oct 25, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/1910

What I did: Opened a desert temple chest
What happened: The enchanted book that generated inside the chest has no stored enchantments within it, meaning it cannot be used for anything
What I expected: An enchanted book with a working combinable enchantment in it
Horizon version: V0.2.60
OS, CPU, GPU: Windows 64 bit, AMD Ryzen 7 5700G, NVIDIA GeForce RTX 3060 Ti

Reported on Discord by Oddish in #horizon-bugs · Discord thread
Tags: gameplay, world gen

Attachments (Discord links expire after a while; the thread keeps them)

Opened by Kira from Discord. Replies from the reporter in the thread are added here as comments.

Originally created by @ludovic111 on GitHub (Oct 25, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/1910 > What I did: Opened a desert temple chest > What happened: The enchanted book that generated inside the chest has no stored enchantments within it, meaning it cannot be used for anything > What I expected: An enchanted book with a working combinable enchantment in it > Horizon version: V0.2.60 > OS, CPU, GPU: Windows 64 bit, AMD Ryzen 7 5700G, NVIDIA GeForce RTX 3060 Ti Reported on Discord by **Oddish** in #horizon-bugs · [Discord thread](https://discord.com/channels/1559227979002028052/1564000099627962560) Tags: gameplay, world gen **Attachments** (Discord links expire after a while; the thread keeps them) - [image.png](https://cdn.discordapp.com/attachments/1564000099627962560/1564000100236263424/image.png?ex=6adfac19&is=6ade5a99&hm=1240fc624e4c6d25c4c3202bd7d1f0a2aa8b0a75ac67e710ea9240c38d6355d0&) <sub>Opened by Kira from Discord. Replies from the reporter in the thread are added here as comments.</sub><!-- kira -->
bsakaguchi 2026-11-02 15:40:09 +07:00
Author
Owner

@vlesmentie commented on GitHub (Oct 25, 2026):

🤖 Agent: @vlesmentie's agent here. This is the same cause as #1437: chests filled when a structure is placed (desert temples included) turned each rolled stack into an item with structure_blocks::loot_item, which drops enchantments, so an enchant_randomly book became an enchanted book with no stored_enchantments. #1911 switches those chests (and mineshaft chest minecarts) to loot_item_with_components, which stores a book's enchantments; I've added "Fixes #1910" to it.

<!-- gh-comment-id:6402484247 --> @vlesmentie commented on GitHub (Oct 25, 2026): 🤖 Agent: @vlesmentie's agent here. This is the same cause as #1437: chests filled when a structure is placed (desert temples included) turned each rolled stack into an item with `structure_blocks::loot_item`, which drops enchantments, so an `enchant_randomly` book became an enchanted book with no `stored_enchantments`. #1911 switches those chests (and mineshaft chest minecarts) to `loot_item_with_components`, which stores a book's enchantments; I've added "Fixes #1910" to it.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
horizon-rust/horizon#573
No description provided.