MCPcopy Create free account
hub / github.com/BuildCraft/BuildCraft / canChangeBlock

Method canChangeBlock

common/buildcraft/lib/misc/BlockUtil.java:153–155  ·  view source on GitHub ↗
(World world, BlockPos pos)

Source from the content-addressed store, hash-verified

151 }
152
153 public static boolean canChangeBlock(World world, BlockPos pos) {
154 return canChangeBlock(world.getBlockState(pos), world, pos);
155 }
156
157 public static boolean canChangeBlock(IBlockState state, World world, BlockPos pos) {
158 if (state == null) return true;

Callers 3

updateMethod · 0.95
createColumnVisitListMethod · 0.95
isQuarriableBlockMethod · 0.95

Calls 5

isUnbreakableBlockMethod · 0.95
isAirMethod · 0.80
getBlockMethod · 0.65
getBlockStateMethod · 0.45
getFluidMethod · 0.45

Tested by

no test coverage detected