@ Override public AxisAlignedBB [ ] getBoundingBoxes ( Block block , IBlockAccess world , BlockPos pos , IBlockState state , BoundingBoxType type ) { boolean corner = isCorner ( state ) ; if ( type == BoundingBoxType . SELECTION && corner ) return AABBUtils . identities ( ) ; AxisAlignedBB aabb = new AxisAlignedBB ( 0 , 0 , 0 , 1 , 1 , 3 / 16F ) ; if ( world == null ) aabb = AABBUtils . rotate ( aabb . offset ( 0 , 0 , 0.5F ) , - 1 ) ; if ( ! corner ) return new AxisAlignedBB [ ] { aabb } ; return new AxisAlignedBB [ ] { aabb , AABBUtils . rotate ( aabb , - 1 ) } ; }
Gets the bounding boxes for the block .