Only if you knew the coordinates and had access to the level instance of the chest. You'll need to fetch the Tile instance of the chest, then you can call API functions such as Chest::getViewers() and Chest::getInventory(). PHP: $chest = $level->getTile(new Vector3($x, $y, $z));if($chest !== null){ $chest->getViewers();//Player[]s viewing the chest. $chest->getInventory()->get contents();//Item[]s in chest.}