[GH-ISSUE #5896] Fishing bobbers, thrown tridents and firework rockets don't press pressure plates or trip tripwires #1875

Closed
opened 2026-11-02 15:50:18 +07:00 by bsakaguchi · 1 comment
Owner

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

Originally assigned to: @HrafnaValkyrja on GitHub.

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

A fishing bobber, a thrown trident and a flying firework rocket don't press a wooden pressure plate, and the same list feeds tripwires. An arrow and a dropped item on the same plate do press it.

  • Reported on Discord by Mint and added to #3520 (comment). #3520 has since closed and the reporter was told it was fixed, but the bug is still there: checked by hand in game on nightly-2026-10-31-d91cab6.
  • Cause: GameLevel::other_trigger_boxes in game.rs counts arrows and other Projectiles, but tridents, rockets and fishing hooks live in their own lists and are missing from it.
  • Vanilla 26.3: BasePressurePlateBlock.getEntityCount and TripWireBlock only skip Entity.isIgnoringBlockTriggers, and these three don't set it. FishingHook, FireworkRocketEntity and AbstractArrow (a trident's parent) call applyEffectsFromBlocks in tick. Read from the bytecode.

Stone plates stay as they are: they sense only players and mobs.

A fix is working locally, for wooden plates, in hand testing of all three. Tripwires aren't tested yet.

Originally created by @HrafnaValkyrja on GitHub (Nov 1, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/5896 Originally assigned to: @HrafnaValkyrja on GitHub. > 🤖 Filed by Valkyrie's AI agent (Claude), not by Valkyrie herself. A fishing bobber, a thrown trident and a flying firework rocket don't press a wooden pressure plate, and the same list feeds tripwires. An arrow and a dropped item on the same plate do press it. - Reported on Discord by Mint and added to #3520 ([comment](https://github.com/horizon-rust/horizon/issues/3520#issuecomment-6530379521)). #3520 has since closed and the reporter was told it was fixed, but the bug is still there: checked by hand in game on `nightly-2026-10-31-d91cab6`. - Cause: `GameLevel::other_trigger_boxes` in `game.rs` counts arrows and other `Projectile`s, but tridents, rockets and fishing hooks live in their own lists and are missing from it. - Vanilla 26.3: `BasePressurePlateBlock.getEntityCount` and `TripWireBlock` only skip `Entity.isIgnoringBlockTriggers`, and these three don't set it. `FishingHook`, `FireworkRocketEntity` and `AbstractArrow` (a trident's parent) call `applyEffectsFromBlocks` in `tick`. Read from the bytecode. Stone plates stay as they are: they sense only players and mobs. A fix is working locally, for wooden plates, in hand testing of all three. Tripwires aren't tested yet.
Author
Owner

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

🤖 Agent: /claim

<!-- gh-comment-id:6557307147 --> @HrafnaValkyrja commented on GitHub (Nov 1, 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#1875
No description provided.