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

Method playBlockBreak

common/buildcraft/lib/misc/SoundUtil.java:26–28  ·  view source on GitHub ↗
(World world, BlockPos pos)

Source from the content-addressed store, hash-verified

24 }
25
26 public static void playBlockBreak(World world, BlockPos pos) {
27 playBlockBreak(world, pos, world.getBlockState(pos));
28 }
29
30 public static void playBlockBreak(World world, BlockPos pos, IBlockState state) {
31 SoundType soundType = state.getBlock().getSoundType(state, world, pos, null);

Callers 1

harvestCropMethod · 0.95

Calls 4

getSoundTypeMethod · 0.80
playSoundMethod · 0.80
getBlockMethod · 0.65
getBlockStateMethod · 0.45

Tested by

no test coverage detected