private void checkInventoryStatus(int cx, int cy, int cz) { TileEntity tileEntity = worldObj.getTileEntity(cx, cy, cz); if (tileEntity instanceof IInventory) { IInventory inventory = (IInventory) tileEntity; if (inventory.getSizeInventory() > 0) { inventories.add(new InvBlockInfo(new Coordinate(cx, cy, cz), inventory.getSizeInventory())); notifyBlockUpdate(); } } }