[GH-ISSUE #4867] Item becomes invisible with resource pack that uses composite + nested condition #1480

Closed
opened 2026-11-02 15:47:17 +07:00 by bsakaguchi · 5 comments
Owner

Originally created by @kira-horizon[bot] on GitHub (Oct 31, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/4867

Originally assigned to: @oskal675-design on GitHub.

Version: Nightly 2026-10-30 1da354b · OS: Linux 7.2.9 (NixOS), Intel(R) Xeon(R) E5-2667 0 (12) @ 3.50 GHz, AMD Radeon RX 5700 [Discrete] (copied from the report)

What I did: Download "Mace Enchant Indicator [2.0.2].zip" resource pack from https://www.modrinth.com ; Dragged into "resourcepacks" folder and activated it inside of the game

What happened: Enabling the resource pack “Mace Enchant Indicator [2.0.2]” by PrecisionZero makes the mace completely invisible (no model/texture in hand, inventory, ground, item frames, etc.).

What I expected: The mace should render normally, with colour changes for Breach/Density and optional Wind Burst overlays, exactly as it does in vanilla Minecraft 26.3.

Steps to reproduce:
Download the pack: Modrinth – Mace Enchant Indicator (version 2.0.2, pack format 97).
Enable it in Horizon.
Hold / place a mace (with or without Breach, Density, or Wind Burst).

Technical details:
The pack replaces assets/minecraft/items/mace.json with a minecraft:composite of two condition trees that read the minecraft:enchantments component via property: "minecraft:component". Overlays use minecraft:empty when Wind Burst is absent. Individual models parent minecraft:item/handheld_mace and only override layer0.This is valid vanilla 1.21.4+ / 26.3 item model definition syntax and works correctly in official Minecraft.

Horizon version: "Nightly 2026-10-30 1da354b"
OS, CPU, GPU: Linux 7.2.9 (NixOS), Intel(R) Xeon(R) E5-2667 0 (12) @ 3.50 GHz, AMD Radeon RX 5700 [Discrete]

I don't think that the log is going to do much here, but I added it anyway
The first screenshot is of me holding a mace, and the mace in the item frame
The second screenshot is a list of my resourcepacks right now (it's a little bit cropped), as you can see, "Mace Enchant Indicator [2.0.2]" is at the top, so it has the highest priority in textures, whenever I remove it, the mace becomes visible again

I had grok extract and dismantle how the texture pack works to help with the technical details as to why it could be failing to render, thanks to minecraft:component and minecraft:composite;
Thanks everyone!

Reported on Discord by ZERO in #horizon-bugs · Discord thread
Tags: rendering, gameplay

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 @kira-horizon[bot] on GitHub (Oct 31, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/4867 Originally assigned to: @oskal675-design on GitHub. **Version:** Nightly 2026-10-30 1da354b · **OS:** Linux 7.2.9 (NixOS), Intel(R) Xeon(R) E5-2667 0 (12) @ 3.50 GHz, AMD Radeon RX 5700 [Discrete] <sub>(copied from the report)</sub> > What I did: Download "Mace Enchant Indicator [2.0.2].zip" resource pack from https://www.modrinth.com ; Dragged into "resourcepacks" folder and activated it inside of the game > > What happened: Enabling the resource pack “Mace Enchant Indicator [2.0.2]” by PrecisionZero makes the mace completely invisible (no model/texture in hand, inventory, ground, item frames, etc.). > > What I expected: The mace should render normally, with colour changes for Breach/Density and optional Wind Burst overlays, exactly as it does in vanilla Minecraft 26.3. > > Steps to reproduce: > Download the pack: Modrinth – Mace Enchant Indicator (version 2.0.2, pack format 97). > Enable it in Horizon. > Hold / place a mace (with or without Breach, Density, or Wind Burst). > > Technical details: > The pack replaces assets/minecraft/items/mace.json with a minecraft:composite of two condition trees that read the minecraft:enchantments component via property: "minecraft:component". Overlays use minecraft:empty when Wind Burst is absent. Individual models parent minecraft:item/handheld_mace and only override layer0.This is valid vanilla 1.21.4+ / 26.3 item model definition syntax and works correctly in official Minecraft. > > Horizon version: "Nightly 2026-10-30 1da354b" > OS, CPU, GPU: Linux 7.2.9 (NixOS), Intel(R) Xeon(R) E5-2667 0 (12) @ 3.50 GHz, AMD Radeon RX 5700 [Discrete] > > I don't think that the log is going to do much here, but I added it anyway > The first screenshot is of me holding a mace, and the mace in the item frame > The second screenshot is a list of my resourcepacks right now (it's a little bit cropped), as you can see, "Mace Enchant Indicator [2.0.2]" is at the top, so it has the highest priority in textures, whenever I remove it, the mace becomes visible again > > I had grok extract and dismantle how the texture pack works to help with the technical details as to why it could be failing to render, thanks to minecraft:component and minecraft:composite; > Thanks everyone! Reported on Discord by **ZERO** in #horizon-bugs · [Discord thread](https://discord.com/channels/1559227979002028052/1565894831627305141) Tags: rendering, gameplay **Attachments** (Discord links expire after a while; the thread keeps them) - [2026-10-30_22.01.40.png](https://cdn.discordapp.com/attachments/1565894831627305141/1565894832495534100/2026-10-30_22.01.40.png?ex=6ae690b4&is=6ae53f34&hm=9551ecd40e4966c5db3c50e55e7fa5cb926251d50a983fd721bc0f7eaa1c5d06&) - [2026-10-30_22.01.02.png](https://cdn.discordapp.com/attachments/1565894831627305141/1565894832906309693/2026-10-30_22.01.02.png?ex=6ae690b5&is=6ae53f35&hm=1b1a0cbbf1fe950782ac90ec0d4c6b9c6bec60ccd0d07cf442624945e4baf10a&) - [latest.log](https://cdn.discordapp.com/attachments/1565894831627305141/1565894833455767702/latest.log?ex=6ae690b5&is=6ae53f35&hm=ff8aa9ee21ae57d4a7612c968764050b5a34ac5e8fa67ca7eb25f4fcf440f690&) <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:47:17 +07:00
Author
Owner

@kira-horizon[bot] commented on GitHub (Oct 31, 2026):

ZERO added on Discord:

The steps that make it happen are: Activate the texture pack "Mace Enchant Indicator [2.0.2]" and have a mace in your inventory
Here in this latest screenshot you can see, that in fact, it is a mace, and it is completely invisible

The more technical answer as to what makes it happen have already been outlined in the Technical details of my original message

<!-- gh-comment-id:6536979493 --> @kira-horizon[bot] commented on GitHub (Oct 31, 2026): **ZERO** added on Discord: > The steps that make it happen are: Activate the texture pack "Mace Enchant Indicator [2.0.2]" and have a mace in your inventory > Here in this latest screenshot you can see, that in fact, it is a mace, and it is completely invisible > > The more technical answer as to what makes it happen have already been outlined in the Technical details of my original message - [2026-10-30_22.08.08.png](https://cdn.discordapp.com/attachments/1565894831627305141/1565895462266081441/2026-10-30_22.08.08.png?ex=6ae6914b&is=6ae53fcb&hm=bac35fc232a67d2f67b597d4dd820fc2add257d5b2e2fb0e3f6b3a0a4090b4b1&) <!-- kira -->
Author
Owner

@oskal675-design commented on GitHub (Oct 31, 2026):

🤖 Agent: /claim

Reproduced the invisible mace with the original Mace Enchant Indicator 2.0.2 pack, run unmodified as a black box (no pack source inspected). Fixed the component-condition decoder and enchantment predicate evaluation. The latest integrated-server client renders the ordinary mace, Density, Breach and Wind Burst I/II/III correctly, with inventory assertions for the tested levels. Full item-model differential: 214,901 resolved stacks match vanilla 26.3, 1,799 definitions checked; 5,355 inputs rejected by vanilla are reported separately. Self-check passed: 495 Python tests, 1,351 Rust tests, 7 content-root tests, rustfmt, clippy and doc tests. Opening the PR next.

<!-- gh-comment-id:6543362203 --> @oskal675-design commented on GitHub (Oct 31, 2026): 🤖 Agent: /claim Reproduced the invisible mace with the original Mace Enchant Indicator 2.0.2 pack, run unmodified as a black box (no pack source inspected). Fixed the component-condition decoder and enchantment predicate evaluation. The latest integrated-server client renders the ordinary mace, Density, Breach and Wind Burst I/II/III correctly, with inventory assertions for the tested levels. Full item-model differential: 214,901 resolved stacks match vanilla 26.3, 1,799 definitions checked; 5,355 inputs rejected by vanilla are reported separately. Self-check passed: 495 Python tests, 1,351 Rust tests, 7 content-root tests, rustfmt, clippy and doc tests. Opening the PR next.
Author
Owner

@kira-horizon[bot] commented on GitHub (Oct 31, 2026):

ZERO added on Discord:

sure, but the 'test_item_model_parity' harness claims Item definitions and item models (all model types, display transforms, tints) as 'works' so i expected it to work...

<!-- gh-comment-id:6544546119 --> @kira-horizon[bot] commented on GitHub (Oct 31, 2026): **ZERO** added on Discord: > sure, but the 'test_item_model_parity' harness claims Item definitions and item models (all model types, display transforms, tints) as 'works' so i expected it to work... <!-- kira -->
Author
Owner

@kira-horizon[bot] commented on GitHub (Oct 31, 2026):

ZERO added on Discord:

hey there, just wanted to ask since the bug was marked as f​ixed, which release would that be? Because today (31/Oct/2026) there have been two nightly releases, and I have tested the resource pack in question, “Mace Enchant Indicator [2.0.2]”, and the mace remains invisible; Since you mentioned it would be in the "next release", and there have already been two releases just today

<!-- gh-comment-id:6549469055 --> @kira-horizon[bot] commented on GitHub (Oct 31, 2026): **ZERO** added on Discord: > hey there, just wanted to ask since the bug was marked as f​ixed, which release would that be? Because today (31/Oct/2026) there have been two nightly releases, and I have tested the resource pack in question, “Mace Enchant Indicator [2.0.2]”, and the mace remains invisible; Since you mentioned it would be in the "next release", and there have already been two releases just today <!-- kira -->
Author
Owner

@oskal675-design commented on GitHub (Nov 1, 2026):

ZERO, I checked the release history. The last three successful game Nightly publications were all on 31 October 2026 (UTC):

The fix in #5117 merged at 16:26 UTC. Even the 16:58 publication was built from an older source snapshot, so the published game Nightlies still do not contain it. Launcher updates are separate from game builds.

The later 23:24 UTC build attempt stopped because main's checks/parity-main had not passed. The release workflow checks for an eligible build every 10 minutes and after successful CI. Recent successful builds took roughly 25–47 minutes. My estimate is around 30–60 minutes after CI goes green on a revision containing the fix and the next build starts, provided its build and smoke test pass. There is no reliable calendar ETA while CI is holding publication, so this is an estimate, not a promised release time.

<!-- gh-comment-id:6552887084 --> @oskal675-design commented on GitHub (Nov 1, 2026): ZERO, I checked the release history. The last three successful game Nightly publications were all on **31 October 2026 (UTC)**: - About **14:35** ([build run](https://github.com/horizon-rust/horizon/actions/runs/41208626140)). - **15:27** ([release](https://github.com/horizon-rust/horizon/releases/tag/nightly-2026-10-31)). - **16:58** ([release](https://github.com/horizon-rust/horizon/releases/tag/nightly)). The fix in [#5117](https://github.com/horizon-rust/horizon/pull/5117) merged at **16:26 UTC**. Even the 16:58 publication was built from an older source snapshot, so the published game Nightlies still do not contain it. Launcher updates are separate from game builds. The later [23:24 UTC build attempt](https://github.com/horizon-rust/horizon/actions/runs/41252430310/job/124688531838#step:4:14) stopped because main's checks/parity-main had not passed. The [release workflow](https://github.com/horizon-rust/horizon/blob/main/docs/release-flow.md#game-releases) checks for an eligible build every 10 minutes and after successful CI. Recent successful builds took roughly 25–47 minutes. My estimate is **around 30–60 minutes after CI goes green on a revision containing the fix and the next build starts**, provided its build and smoke test pass. There is no reliable calendar ETA while CI is holding publication, so this is an estimate, not a promised release time.
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#1480
No description provided.