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

Method playBlockPlace

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

Source from the content-addressed store, hash-verified

13
14public class SoundUtil {
15 public static void playBlockPlace(World world, BlockPos pos) {
16 playBlockPlace(world, pos, world.getBlockState(pos));
17 }
18
19 public static void playBlockPlace(World world, BlockPos pos, IBlockState state) {
20 SoundType soundType = state.getBlock().getSoundType(state, world, pos, null);

Callers 8

updateTickMethod · 0.95
onPlaceMethod · 0.95
onPlaceMethod · 0.95
onPlaceMethod · 0.95
createTaskMethod · 0.95
buildImmediatlyMethod · 0.95
createTaskMethod · 0.95
buildImmediatlyMethod · 0.95

Calls 4

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

Tested by

no test coverage detected