default @Nonnull BlockFaceShape getBlockFaceShape(@Nonnull IBlockAccess worldIn, @Nonnull IBlockState state, @Nonnull BlockPos pos, @Nonnull EnumFacing face, @Nonnull T te) { return getBlockFaceShape(worldIn, state, pos, face); } }
@Override @Nonnull public BlockFaceShape getBlockFaceShape(@Nonnull IBlockAccess worldIn, @Nonnull IBlockState state, @Nonnull BlockPos pos, @Nonnull EnumFacing face, @Nonnull T te) { IBlockState paintSource = te.getPaintSource(); if (paintSource != null) { try { return paintSource.getBlockFaceShape(worldIn, pos, face); } catch (Exception e) { } } return IShape.super.getBlockFaceShape(worldIn, state, pos, face, te); }
@Override @Nonnull public BlockFaceShape getBlockFaceShape(@Nonnull IBlockAccess worldIn, @Nonnull IBlockState state, @Nonnull BlockPos pos, @Nonnull EnumFacing face, @Nonnull T te) { IBlockState paintSource = te.getPaintSource(); if (paintSource != null) { try { return paintSource.getBlockFaceShape(worldIn, pos, face); } catch (Exception e) { } } return IShape.super.getBlockFaceShape(worldIn, state, pos, face, te); }
@Override public final @Nonnull BlockFaceShape getBlockFaceShape(@Nonnull IBlockAccess worldIn, @Nonnull IBlockState state, @Nonnull BlockPos pos, @Nonnull EnumFacing face) { if (shape != null) { T te = getTileEntitySafe(worldIn, pos); if (te != null) { return shape.getBlockFaceShape(worldIn, state, pos, face, te); } else { return shape.getBlockFaceShape(worldIn, state, pos, face); } } return super.getBlockFaceShape(worldIn, state, pos, face); }
@Override @Nonnull public BlockFaceShape getBlockFaceShape(@Nonnull IBlockAccess worldIn, @Nonnull IBlockState state, @Nonnull BlockPos pos, @Nonnull EnumFacing face, @Nonnull T te) { IBlockState paintSource = te.getPaintSource(); if (paintSource != null) { try { return paintSource.getBlockFaceShape(worldIn, pos, face); } catch (Exception e) { } } return IShape.super.getBlockFaceShape(worldIn, state, pos, face, te); }
@Override @Nonnull public BlockFaceShape getBlockFaceShape(@Nonnull IBlockAccess worldIn, @Nonnull IBlockState state, @Nonnull BlockPos pos, @Nonnull EnumFacing face, @Nonnull T te) { IBlockState paintSource = te.getPaintSource(); if (paintSource != null) { try { return paintSource.getBlockFaceShape(worldIn, pos, face); } catch (Exception e) { } } return IShape.super.getBlockFaceShape(worldIn, state, pos, face, te); }
@Override @Nonnull public BlockFaceShape getBlockFaceShape(@Nonnull IBlockAccess worldIn, @Nonnull IBlockState state, @Nonnull BlockPos pos, @Nonnull EnumFacing face, @Nonnull T te) { IBlockState paintSource = te.getPaintSource(); if (paintSource != null) { try { return paintSource.getBlockFaceShape(worldIn, pos, face); } catch (Exception e) { } } return face == te.getFacing() ? front : IShape.super.getBlockFaceShape(worldIn, state, pos, face, te); }