PHP: $level->getTile(new Vector3($x, $y, $z))->getInventory()->clearAll(); //suppose, tile at these coordinates is a chest