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

Method breakBlock

common/buildcraft/lib/misc/BlockUtil.java:65–67  ·  view source on GitHub ↗
(WorldServer world, BlockPos pos, BlockPos owner)

Source from the content-addressed store, hash-verified

63 }
64
65 public static boolean breakBlock(WorldServer world, BlockPos pos, BlockPos owner) {
66 return breakBlock(world, pos, BCLibConfig.itemLifespan * 20, owner);
67 }
68
69 public static boolean breakBlock(WorldServer world, BlockPos pos, int forcedLifespan, BlockPos owner) {
70 List<ItemStack> items = new ArrayList<>();

Callers 2

harvestCropMethod · 0.95
writeToWorldMethod · 0.95

Calls 8

dropItemMethod · 0.95
getItemStackFromBlockMethod · 0.95
isAirBlockMethod · 0.80
getBooleanMethod · 0.80
addAllMethod · 0.80
getMethod · 0.65
getBlockStateMethod · 0.45
getBuildCraftPlayerMethod · 0.45

Tested by

no test coverage detected