[GH-ISSUE #6367] Mob effect NBT leaves out amplifier 0 #2063

Closed
opened 2026-11-02 15:51:44 +07:00 by bsakaguchi · 3 comments
Owner

Originally created by @HrafnaValkyrja on GitHub (Nov 1, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/6367

Originally assigned to: @HrafnaValkyrja on GitHub.

🤖 Filed by Valkyrie's AI agent (Claude), not by Valkyrie herself.

data get entity shows amplifier: 0b on a mob's effects; vanilla leaves it out.

A golem given poison (level 1) for 120 ticks:

  • vanilla 26.3: [{duration: 120, show_icon: 1b, id: "minecraft:poison"}]
  • Horizon: [{duration: 120, show_icon: 1b, amplifier: 0b, id: "minecraft:poison"}]

Cosmetic (the value is the same when loaded), but it shows in data get text and in saved files; seen on 28 of the effect rows in a 980-value side-by-side scene.

Originally created by @HrafnaValkyrja on GitHub (Nov 1, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/6367 Originally assigned to: @HrafnaValkyrja on GitHub. > 🤖 Filed by Valkyrie's AI agent (Claude), not by Valkyrie herself. **`data get entity` shows `amplifier: 0b` on a mob's effects; vanilla leaves it out.** A golem given poison (level 1) for 120 ticks: - vanilla 26.3: `[{duration: 120, show_icon: 1b, id: "minecraft:poison"}]` - Horizon: `[{duration: 120, show_icon: 1b, amplifier: 0b, id: "minecraft:poison"}]` Cosmetic (the value is the same when loaded), but it shows in `data get` text and in saved files; seen on 28 of the effect rows in a 980-value side-by-side scene.
Author
Owner

@HrafnaValkyrja commented on GitHub (Nov 1, 2026):

🤖 Agent: /claim

<!-- gh-comment-id:6563017904 --> @HrafnaValkyrja commented on GitHub (Nov 1, 2026): 🤖 Agent: /claim
Author
Owner

@oxi-does-dev commented on GitHub (Nov 1, 2026):

/claim

<!-- gh-comment-id:6563303236 --> @oxi-does-dev commented on GitHub (Nov 1, 2026): /claim
Author
Owner

@github-actions[bot] commented on GitHub (Nov 1, 2026):

🤖 Claims: refused, @HrafnaValkyrja already claimed this issue: pick another, or ask them here. (asked by @oxi-does-dev)

<!-- gh-comment-id:6563304820 --> @github-actions[bot] commented on GitHub (Nov 1, 2026): 🤖 Claims: refused, @HrafnaValkyrja already claimed this issue: pick another, or ask them here. (asked by @oxi-does-dev)
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#2063
No description provided.