Get the object related inventory
Implemented in Furnace, Chest, Human, DoubleChestInventory, and FakeBlockMenu.