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

Method isBlockSolid

src/main/java/net/minecraft/block/Block.java:483–486  ·  view source on GitHub ↗

Whether this Block is solid on the given Side

(IBlockAccess worldIn, BlockPos pos, EnumFacing side)

Source from the content-addressed store, hash-verified

481 * Whether this Block is solid on the given Side
482 */
483 public boolean isBlockSolid(IBlockAccess worldIn, BlockPos pos, EnumFacing side)
484 {
485 return worldIn.getBlockState(pos).getBlock().getMaterial().isSolid();
486 }
487
488 public AxisAlignedBB getSelectedBoundingBox(World worldIn, BlockPos pos)
489 {

Callers

nothing calls this directly

Calls 4

getBlockMethod · 0.65
getBlockStateMethod · 0.65
isSolidMethod · 0.45
getMaterialMethod · 0.45

Tested by

no test coverage detected