@Override
 public void addCollisionBoxesToList(
     World world,
     BlockPos pos,
     IBlockState state,
     AxisAlignedBB mask,
     List list,
     Entity collidingEntity) {
   int metadata = getMetaFromState(state);
   float[] data =
       CollisionHelper.fixRotation(
           metadata, 5F * 0.0625F, 3F * 0.0625F, 11F * 0.0625F, 13F * 0.0625F);
   setBlockBounds(data[0], 0.0F, data[1], data[2], 0.4F, data[3]);
   super.addCollisionBoxesToList(world, pos, state, mask, list, collidingEntity);
 }
 @Override
 public void addCollisionBoxesToList(
     World world,
     BlockPos pos,
     IBlockState state,
     AxisAlignedBB mask,
     List list,
     Entity collidingEntity) {
   if (!(collidingEntity instanceof EntitySittableBlock)) {
     setBlockBounds(2F * 0.0625F, 0.0F, 2F * 0.0625F, 14F * 0.0625F, 13F * 0.0625F, 14F * 0.0625F);
   } else {
     setBlockBounds(0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F);
   }
   super.addCollisionBoxesToList(world, pos, state, mask, list, collidingEntity);
 }