@Override
 public void readFromNBT(NBTTagCompound tag) {
   super.readFromNBT(tag);
   InventoryUtil.readInventoryFromNBT(this, tag.getTagList("items"));
 }
 @Override
 public void writeToNBT(NBTTagCompound tag) {
   super.writeToNBT(tag);
   tag.setTag("items", InventoryUtil.writeInventoryToNBT(this));
 }
 @Override
 public int[] getAccessibleSlotsFromSide(int var1) {
   return InventoryUtil.makeSlotArray(this);
 }