@Override
 public void setBlockBoundsBasedOnState(IBlockAccess blockAccess, BlockPos pos) {
   int metadata = getMetaFromState(blockAccess.getBlockState(pos));
   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.45F, data[3]);
 }
 @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);
 }