[GH-ISSUE #996] Fresh worlds drop about twice as many items as vanilla (moss carpets, azaleas, kelp, gravel) #275

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

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

🤖 Filed by Ludovic's AI agent (Claude), not by Ludovic himself.

What

A fresh world drops about twice as many items on its own in Horizon as in vanilla 26.3: moss carpets, azaleas and flowering azaleas, leaf litter, kelp, gravel, sand and wheat seeds, the same kinds as vanilla, but about 2x as many.

Dedicated server, level-seed=12345, view and simulation distance 10, creative, difficulty easy, one horizon-bots --behaviour mixed bot (it walks around spawn), on the Mac mini; execute if entity @e[type=item] about 150 s after the bot joined:

Server Items after ~150 s Mobs
vanilla 26.3 (pinned server jar) 317 123
Horizon (main at 56fcc91e) 679 142

Sampled kinds (data get entity @e[type=item,limit=1,sort=random] Item.id, 12 each): vanilla had flowering azalea, gravel, kelp, moss carpet and wheat seeds; Horizon had azalea, kelp, leaf litter, moss carpet, sand and wheat seeds.

Why it matters

Besides parity, it costs the server: tick_items was about 10 % of the server thread's time with one bot on the ThinkPad (perf record, mostly the items' collision moves), and every item is also snapshotted for entity tracking each tick (lan_entities).

Guess

The drops look like blocks losing their support or being washed away by water after the chunks load (lush caves, rivers): more fluid or block updates in freshly loaded chunks than vanilla runs (post-processing or the proto chunks' scheduled ticks), or more chunks reaching block ticking. Not checked yet.

Found by perf-server-12 while profiling the dedicated server.

Originally created by @ludovic111 on GitHub (Oct 19, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/996 > 🤖 Filed by Ludovic's AI agent (Claude), not by Ludovic himself. ## What A fresh world drops about twice as many items on its own in Horizon as in vanilla 26.3: moss carpets, azaleas and flowering azaleas, leaf litter, kelp, gravel, sand and wheat seeds, the same kinds as vanilla, but about 2x as many. Dedicated server, `level-seed=12345`, view and simulation distance 10, creative, difficulty easy, one `horizon-bots --behaviour mixed` bot (it walks around spawn), on the Mac mini; `execute if entity @e[type=item]` about 150 s after the bot joined: | Server | Items after ~150 s | Mobs | |---|---:|---:| | vanilla 26.3 (pinned server jar) | 317 | 123 | | Horizon (main at 56fcc91e) | 679 | 142 | Sampled kinds (`data get entity @e[type=item,limit=1,sort=random] Item.id`, 12 each): vanilla had flowering azalea, gravel, kelp, moss carpet and wheat seeds; Horizon had azalea, kelp, leaf litter, moss carpet, sand and wheat seeds. ## Why it matters Besides parity, it costs the server: `tick_items` was about 10 % of the server thread's time with one bot on the ThinkPad (`perf record`, mostly the items' collision moves), and every item is also snapshotted for entity tracking each tick (`lan_entities`). ## Guess The drops look like blocks losing their support or being washed away by water after the chunks load (lush caves, rivers): more fluid or block updates in freshly loaded chunks than vanilla runs (post-processing or the proto chunks' scheduled ticks), or more chunks reaching block ticking. Not checked yet. Found by perf-server-12 while profiling the dedicated server.
bsakaguchi 2026-11-02 15:37:50 +07:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@ludovic111 commented on GitHub (Oct 19, 2026):

🤖 Agent: counts by kind, the same setup again (one bot, execute if entity @e[type=item,nbt={Item:{id:"minecraft:…"}}] about 152 s after it joined, while it was still online):

Item vanilla 26.3 Horizon
leaf_litter 41 212
moss_carpet 130 203
wheat_seeds 42 76
kelp 59 57
azalea 27 31
flowering_azalea 16 25
sand 0 30
gravel 0 4
glow_berries 2 8
oak_sapling 2 2
all items 352 657

Leaf litter (5x) and sand (30 against none) stand out: leaf litter losing the block under it, and sand falling where vanilla's stays put, both point at blocks in fresh chunks getting neighbour updates or scheduled ticks that vanilla's don't.

<!-- gh-comment-id:6264367736 --> @ludovic111 commented on GitHub (Oct 19, 2026): 🤖 Agent: counts by kind, the same setup again (one bot, `execute if entity @e[type=item,nbt={Item:{id:"minecraft:…"}}]` about 152 s after it joined, while it was still online): | Item | vanilla 26.3 | Horizon | |---|---:|---:| | leaf_litter | 41 | **212** | | moss_carpet | 130 | 203 | | wheat_seeds | 42 | 76 | | kelp | 59 | 57 | | azalea | 27 | 31 | | flowering_azalea | 16 | 25 | | sand | 0 | **30** | | gravel | 0 | 4 | | glow_berries | 2 | 8 | | oak_sapling | 2 | 2 | | all items | 352 | 657 | Leaf litter (5x) and sand (30 against none) stand out: leaf litter losing the block under it, and sand falling where vanilla's stays put, both point at blocks in fresh chunks getting neighbour updates or scheduled ticks that vanilla's don't.
Author
Owner

@ludovic111 commented on GitHub (Oct 21, 2026):

Claimed by ludovic on Discord (GitHub: ludovic111), to avoid duplicate work. The claim lapses after 14 days without activity (a comment, a pull request or a commit mentioning #996).

<!-- gh-comment-id:6320736841 --> @ludovic111 commented on GitHub (Oct 21, 2026): Claimed by `ludovic` on Discord (GitHub: `ludovic111`), to avoid duplicate work. The claim lapses after 14 days without activity (a comment, a pull request or a commit mentioning #996). <!-- kira:work -->
Author
Owner

@ludovic111 commented on GitHub (Oct 21, 2026):

🤖 Agent: fix in #1110 (item merging and falling blocks landing in their own tick). Fresh world, one mixed bot, 150 s: 657–679 item entities on main → 496 with the fix (vanilla 313); sand/gravel items 30/7 → 0/0. The rest is mostly leaf litter and moss that vanilla's water currents carry together; items aren't pushed by water here yet (noted as a follow-up).

<!-- gh-comment-id:6325943098 --> @ludovic111 commented on GitHub (Oct 21, 2026): 🤖 Agent: fix in #1110 (item merging and falling blocks landing in their own tick). Fresh world, one mixed bot, 150 s: 657–679 item entities on main → 496 with the fix (vanilla 313); sand/gravel items 30/7 → 0/0. The rest is mostly leaf litter and moss that vanilla's water currents carry together; items aren't pushed by water here yet (noted as a follow-up).
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#275
No description provided.