[PR #2268] [MERGED] Let a sneaking player open chest and hopper minecarts #4161

Closed
opened 2026-11-03 04:15:07 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/2268
Author: @kacpherek
Created: 10/26/2026
Status: ✅ Merged
Merged: 10/27/2026
Merged by: @ludovic111

Base: main ← Head: fix/minecart-chest-sneak-open


📝 Commits (1)

  • b7c47cc Let a sneaking player open chest and hopper minecarts

📊 Changes

1 file changed (+1 additions, -3 deletions)

View changed files

📝 crates/horizon-client/src/game/minecarts.rs (+1 -3)

📄 Description

What and why

Holding sneak and right-clicking a chest minecart or hopper minecart did nothing. Vanilla opens them either way. The check is removed. Guests on the server thread run this same code with their own sneak key, so they are fixed too.

Vanilla reference

  • AbstractMinecartContainer.interact / ContainerEntity.interactWithContainerVehicle: opens the menu with no sneak check. (Only the rideable minecart refuses a sneaking player.)

Self-check

cargo check -p horizon-client passes.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/horizon-rust/horizon/pull/2268 **Author:** [@kacpherek](https://github.com/kacpherek) **Created:** 10/26/2026 **Status:** ✅ Merged **Merged:** 10/27/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `fix/minecart-chest-sneak-open` --- ### 📝 Commits (1) - [`b7c47cc`](https://github.com/horizon-rust/horizon/commit/b7c47ccbf9398b2131927f4c07d736f6228a2a4e) Let a sneaking player open chest and hopper minecarts ### 📊 Changes **1 file changed** (+1 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/src/game/minecarts.rs` (+1 -3) </details> ### 📄 Description ## What and why Holding sneak and right-clicking a chest minecart or hopper minecart did nothing. Vanilla opens them either way. The check is removed. Guests on the server thread run this same code with their own sneak key, so they are fixed too. ## Vanilla reference - `AbstractMinecartContainer.interact` / `ContainerEntity.interactWithContainerVehicle`: opens the menu with no sneak check. (Only the rideable minecart refuses a sneaking player.) ## Self-check `cargo check -p horizon-client` passes. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 04:15:07 +07:00
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#4161
No description provided.