[GH-ISSUE #1493] [server-thread] Shulker bullets fail to home on the player #459

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

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

🤖 Filed by an AI assistant (Codex).

This isolates the failed shulker attacks mentioned in #1233.

Tested 9dd9a836991e263b51d0cec0f690d40a0b09eecc, fresh equivalent worlds, explicit --no-server-thread / --server-thread.

Reproduction in survival, normal difficulty, on a loaded stone platform at Y=99:

  1. Stand at .5 100 .5 with no armor/effects.
  2. /summon shulker .5 100 7.5 {NoAI:1b,PersistenceRequired:1b}
  3. /data merge entity @e[type=shulker,limit=1] {NoAI:0b}
  4. Stay still and let it attack.

Expected: bullets home toward the player, causing damage and Levitation. Native 26.3 and old singleplayer do this.

Actual in server-thread: repeated shots strike blocks without reaching the stationary player. Two fresh captures record 8/10 shots and 8/10 bullet-impact sounds, with no damage or Levitation over at least 600 ticks. Old mode lands hits; the native control also damages and levitates the player.

Evidence: .local/singleplayer-audit/actions-homing-{b,c}/ includes health, effects, shot/impact counters and frames; actions-native-shulker-a/check.log confirms native 100→92 health and Levitation. Driver: tools/singleplayer_action_audit.py --case homing.

Hypothesis: bullets retain Who::Player as their homing target, while server guests appear in projectile targets under their entity IDs.

Acceptance: stationary and moving singleplayer targets are homed on and receive normal bullet damage/Levitation.

Originally created by @rdbtCVS on GitHub (Oct 23, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/1493 > 🤖 Filed by an AI assistant (Codex). This isolates the failed shulker attacks mentioned in #1233. Tested `9dd9a836991e263b51d0cec0f690d40a0b09eecc`, fresh equivalent worlds, explicit `--no-server-thread` / `--server-thread`. Reproduction in survival, normal difficulty, on a loaded stone platform at Y=99: 1. Stand at `.5 100 .5` with no armor/effects. 2. `/summon shulker .5 100 7.5 {NoAI:1b,PersistenceRequired:1b}` 3. `/data merge entity @e[type=shulker,limit=1] {NoAI:0b}` 4. Stay still and let it attack. Expected: bullets home toward the player, causing damage and Levitation. Native 26.3 and old singleplayer do this. Actual in **server-thread**: repeated shots strike blocks without reaching the stationary player. Two fresh captures record 8/10 shots and 8/10 bullet-impact sounds, with no damage or Levitation over at least 600 ticks. Old mode lands hits; the native control also damages and levitates the player. Evidence: `.local/singleplayer-audit/actions-homing-{b,c}/` includes health, effects, shot/impact counters and frames; `actions-native-shulker-a/check.log` confirms native 100→92 health and Levitation. Driver: `tools/singleplayer_action_audit.py --case homing`. Hypothesis: bullets retain `Who::Player` as their homing target, while server guests appear in projectile targets under their entity IDs. Acceptance: stationary and moving singleplayer targets are homed on and receive normal bullet damage/Levitation.
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#459
No description provided.