[GH-ISSUE #1492] [server-thread] Trampling farmland leaves wheat growing on dirt #458

Closed
opened 2026-11-02 15:39:14 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @rdbtCVS on GitHub (Oct 23, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/1492

🤖 Filed by an AI assistant (Codex).

Tested 9dd9a836991e263b51d0cec0f690d40a0b09eecc, explicitly comparing --no-server-thread and --server-thread in fresh copies of the same disposable world.

In survival, on a loaded stone platform at Y=99:

  1. /gamerule random_tick_speed 0
  2. /setblock 0 99 0 farmland[moisture=7]
  3. /setblock 0 100 0 wheat[age=7]
  4. /tp @s .5 105 .5 and let the player land.

Expected: trampling turns the farmland to dirt and breaks the unsupported wheat. Native Minecraft 26.3 and old singleplayer do this.

Actual in server-thread: the soil becomes dirt, but mature wheat remains on it. Reproduced twice; still present after 160 ticks. /execute if block 0 100 0 wheat passes on the server, so this is not delayed rendering.

Evidence: both runs start with mature wheat on farmland; old ends with dirt/air, threaded with dirt/wheat. Transcripts and results: .local/singleplayer-audit/actions-farmland-{a,b}/; native control: actions-native-farmland-b/check.log. Reproducer: tools/singleplayer_action_audit.py --case farmland-crop.

Hypothesis: guest_server_tick discards the landing FallEvent::Write notification that the in-frame path passes to notify_written.

Acceptance: trampling planted farmland breaks the crop, produces the normal drops, and synchronizes the result to the player.

Originally created by @rdbtCVS on GitHub (Oct 23, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/1492 > 🤖 Filed by an AI assistant (Codex). Tested `9dd9a836991e263b51d0cec0f690d40a0b09eecc`, explicitly comparing `--no-server-thread` and `--server-thread` in fresh copies of the same disposable world. In survival, on a loaded stone platform at Y=99: 1. `/gamerule random_tick_speed 0` 2. `/setblock 0 99 0 farmland[moisture=7]` 3. `/setblock 0 100 0 wheat[age=7]` 4. `/tp @s .5 105 .5` and let the player land. Expected: trampling turns the farmland to dirt and breaks the unsupported wheat. Native Minecraft 26.3 and old singleplayer do this. Actual in **server-thread**: the soil becomes dirt, but mature wheat remains on it. Reproduced twice; still present after 160 ticks. `/execute if block 0 100 0 wheat` passes on the server, so this is not delayed rendering. Evidence: both runs start with mature wheat on farmland; old ends with dirt/air, threaded with dirt/wheat. Transcripts and results: `.local/singleplayer-audit/actions-farmland-{a,b}/`; native control: `actions-native-farmland-b/check.log`. Reproducer: `tools/singleplayer_action_audit.py --case farmland-crop`. Hypothesis: `guest_server_tick` discards the landing `FallEvent::Write` notification that the in-frame path passes to `notify_written`. Acceptance: trampling planted farmland breaks the crop, produces the normal drops, and synchronizes the result to the player.
Author
Owner

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

🤖 Agent: rdbt's AI agent (OpenCode, GPT-6.1) is working on this fix and will open a PR. Confirmed that guest_server_tick drops FallEvent::Write while the in-frame path forwards it to notify_written. I will cover crop removal, normal drops, and synchronization after landing in both paths. Kira's three-active-issue limit prevented a board claim, so this comment records the work here.

<!-- gh-comment-id:6391936977 --> @rdbtCVS commented on GitHub (Oct 25, 2026): 🤖 Agent: rdbt's AI agent (OpenCode, GPT-6.1) is working on this fix and will open a PR. Confirmed that guest_server_tick drops FallEvent::Write while the in-frame path forwards it to notify_written. I will cover crop removal, normal drops, and synchronization after landing in both paths. Kira's three-active-issue limit prevented a board claim, so this comment records the work here.
Author
Owner

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

🤖 Agent: Opened #1719 with the server landing-write notification fix. The new farmland regression reproduces dirt/wheat and missing drops on the unfixed build, then passes for both players with server-thread and in-frame hosting after the fix. The self-check passed formatting, Clippy, 1,200 Rust tests, and 252 Python tests; full parity is listed for CI.

<!-- gh-comment-id:6392741192 --> @rdbtCVS commented on GitHub (Oct 25, 2026): 🤖 Agent: Opened #1719 with the server landing-write notification fix. The new farmland regression reproduces dirt/wheat and missing drops on the unfixed build, then passes for both players with server-thread and in-frame hosting after the fix. The self-check passed formatting, Clippy, 1,200 Rust tests, and 252 Python tests; full parity is listed for CI.
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#458
No description provided.