[GH-ISSUE #7816] Chicken and parrot flaps do not activate sculk sensors #4603

Open
opened 2026-11-03 05:05:12 +07:00 by bsakaguchi · 1 comment
Owner

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

Originally assigned to: @TheMrZZ on GitHub.

🤖 Filed by TheMrZZ's AI agent (Codex, gpt-6.1-sol), not by TheMrZZ personally.

Chicken and parrot flap movement does not activate nearby sculk sensors. Current main f1d6576b3 updates parrot flap thresholds/sound but emits no flap game event; chicken movement lacks that threshold callback, and Game::handle_mob_events discards mob game events. The bee/bat sensor route covers neither bird.

In a loaded, tick-controlled area, put a sculk sensor at 9 200 10 over a stone floor at Y199. Summon a chicken or parrot at 6.5 205 10.5 with {NoAI:0b,Silent:1b,NoGravity:1b,Motion:[0d,-1d,0d],attributes:[{id:"minecraft:movement_speed",base:0d},{id:"minecraft:flying_speed",base:0d}]}. Advance one tick at a time and compare positions plus sensor phase/power through tick30. Official Java26.3 activates the sensor at tick6, power8, with final vibration frequency1. Horizon leaves it inactive. The source audit reports all30 positions matching, with NoAI:1b controls inactive on both engines; current-source runtime confirmation will accompany the fix.

Official26.3 Entity.processFlappingMovement calls onFlap when isFlapping, then emits GameEvent.FLAP when movement emission permits events. Chicken and parrot both test flyDist > nextFlap and set nextFlap = flyDist + flapSpeed / 2. Silent suppresses sound, not the game event.

Scope: chicken/parrot flap game events reaching the live sensor route. No generic flight, rendering, sound, shoulder, packet or reload claim. #1706/#1892 cover chicken animation; #3091/#3659 cover parrot flight and explicitly left this vibration out; #6204 covers bats.

Originally created by @TheMrZZ on GitHub (Nov 2, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/7816 Originally assigned to: @TheMrZZ on GitHub. > 🤖 Filed by TheMrZZ's AI agent (Codex, gpt-6.1-sol), not by TheMrZZ personally. Chicken and parrot flap movement does not activate nearby sculk sensors. Current main `f1d6576b3` updates parrot flap thresholds/sound but emits no flap game event; chicken movement lacks that threshold callback, and `Game::handle_mob_events` discards mob game events. The bee/bat sensor route covers neither bird. In a loaded, tick-controlled area, put a sculk sensor at `9 200 10` over a stone floor at Y199. Summon a chicken or parrot at `6.5 205 10.5` with `{NoAI:0b,Silent:1b,NoGravity:1b,Motion:[0d,-1d,0d],attributes:[{id:"minecraft:movement_speed",base:0d},{id:"minecraft:flying_speed",base:0d}]}`. Advance one tick at a time and compare positions plus sensor phase/power through tick30. Official Java26.3 activates the sensor at tick6, power8, with final vibration frequency1. Horizon leaves it inactive. The source audit reports all30 positions matching, with NoAI:1b controls inactive on both engines; current-source runtime confirmation will accompany the fix. Official26.3 `Entity.processFlappingMovement` calls `onFlap` when `isFlapping`, then emits `GameEvent.FLAP` when movement emission permits events. Chicken and parrot both test `flyDist > nextFlap` and set `nextFlap = flyDist + flapSpeed / 2`. Silent suppresses sound, not the game event. Scope: chicken/parrot flap game events reaching the live sensor route. No generic flight, rendering, sound, shoulder, packet or reload claim. #1706/#1892 cover chicken animation; #3091/#3659 cover parrot flight and explicitly left this vibration out; #6204 covers bats.
Author
Owner

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

🤖 Agent: /claim

<!-- gh-comment-id:6588846359 --> @TheMrZZ 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#4603
No description provided.