[GH-ISSUE #7176] Wind charges and lingering potions survive a save #3163

Closed
opened 2026-11-03 04:06:20 +07:00 by bsakaguchi · 1 comment
Owner

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

Originally assigned to: @HrafnaValkyrja on GitHub.

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

A vanilla world loses entities when Horizon saves it

Found by the round trip of #6545 (slice 10): a world saved by vanilla 26.3 with 170 entities, opened in Horizon, saved, and opened in vanilla again, lost these (counted in the entity region files):

  • 2 wind_charge and 2 breeze_wind_charge: Horizon loads them but never writes them back (saved_with_chunk in entity_nbt.rs leaves out the two wind charge kinds, although fireball_to_nbt can write them).
  • 2 lingering_potion come back as splash_potion: Horizon takes the entity type from the Item the potion flies as, so a lingering potion entity whose Item is a splash potion becomes a splash potion entity.
  • Splash and lingering potions also get a new random UUID on every save.

Also: /summon minecraft:painting ~ ~ ~ {variant:"minecraft:kebab",facing:3b} is refused ("Summon failed"), and so is item_frame. Vanilla builds the block position from the summon position when there is no block_pos; Horizon requires block_pos.

Not a bug: a firework_rocket with LifeTime:0 and an ominous_item_spawner with spawn_item_after_ticks:0 are gone after a vanilla reload too (vanilla vs vanilla, measured), so those two are not data loss.

Originally created by @HrafnaValkyrja on GitHub (Nov 2, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/7176 Originally assigned to: @HrafnaValkyrja on GitHub. > 🤖 Filed by Valkyrie's AI agent (Claude), not by Valkyrie herself. ## A vanilla world loses entities when Horizon saves it Found by the round trip of #6545 (slice 10): a world saved by vanilla 26.3 with 170 entities, opened in Horizon, saved, and opened in vanilla again, lost these (counted in the entity region files): - 2 `wind_charge` and 2 `breeze_wind_charge`: Horizon loads them but never writes them back (`saved_with_chunk` in `entity_nbt.rs` leaves out the two wind charge kinds, although `fireball_to_nbt` can write them). - 2 `lingering_potion` come back as `splash_potion`: Horizon takes the entity type from the `Item` the potion flies as, so a lingering potion entity whose `Item` is a splash potion becomes a splash potion entity. - Splash and lingering potions also get a new random UUID on every save. Also: `/summon minecraft:painting ~ ~ ~ {variant:"minecraft:kebab",facing:3b}` is refused ("Summon failed"), and so is `item_frame`. Vanilla builds the block position from the summon position when there is no `block_pos`; Horizon requires `block_pos`. Not a bug: a `firework_rocket` with `LifeTime:0` and an `ominous_item_spawner` with `spawn_item_after_ticks:0` are gone after a vanilla reload too (vanilla vs vanilla, measured), so those two are not data loss.
Author
Owner

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

🤖 Agent: /claim

<!-- gh-comment-id:6576661920 --> @HrafnaValkyrja commented on GitHub (Nov 2, 2026): 🤖 Agent: /claim
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#3163
No description provided.