[SPIGOT-6760] Chest#getInventory only returns one half of a double chest when one or both halves are blocked by blocks above them Created: 15/Oct/21  Updated: 16/Oct/21  Resolved: 16/Oct/21

Status: Resolved
Project: Spigot
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: blablubbabc Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: chest, double, inventory

Version: This server is running CraftBukkit version dev-Spigot-dc75aca-11c9299 (MC: 1.17.1) (Implementing API version 1.17.1-R0.1-SNAPSHOT)
Guidelines Read: Yes

 Description   

In vanilla Minecraft, players cannot open the double chest at all if one or both halves are blocked. But plugins should probably be able to access the full double chest anyways regardless of whether or not the chest is blocked.

I haven't checked the behavior of older server versions yet.

Dummy test plugin code can be found in https://hub.spigotmc.org/jira/browse/SPIGOT-6759
But this is a separate issue to SPIGOT-6759 that is not fixed by the PR attached to SPIGOT-6759.


Generated at Fri Mar 14 09:44:49 UTC 2025 using Jira 10.3.3#10030003-sha1:d220e3fefc8dfc6d47f522d3b9a20c1455e12b7b.