MCPcopy Create free account
hub / github.com/DGVPSH/SlackOpen / isBlockFullCube

Method isBlockFullCube

src/main/java/net/minecraft/world/World.java:2412–2417  ·  view source on GitHub ↗
(BlockPos pos)

Source from the content-addressed store, hash-verified

2410 }
2411
2412 public boolean isBlockFullCube(BlockPos pos)
2413 {
2414 IBlockState iblockstate = this.getBlockState(pos);
2415 AxisAlignedBB axisalignedbb = iblockstate.getBlock().getCollisionBoundingBox(this, pos, iblockstate);
2416 return axisalignedbb != null && axisalignedbb.getAverageEdgeLength() >= 1.0D;
2417 }
2418
2419 public static boolean doesBlockHaveSolidTopSurface(IBlockAccess blockAccess, BlockPos pos)
2420 {

Callers 1

pushOutOfBlocksMethod · 0.80

Calls 4

getBlockStateMethod · 0.95
getBlockMethod · 0.95
getAverageEdgeLengthMethod · 0.95

Tested by

no test coverage detected