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

Method PlaySound

src/main/java/cc/slack/features/modules/api/Module.java:101–104  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

99 }
100
101 private void PlaySound() {
102 ResourceLocation soundLocation = new ResourceLocation("random.orb");
103 Minecraft.getMinecraft().getSoundHandler().playSound(PositionedSoundRecord.create(soundLocation, 5.0F));
104 }
105}

Callers 1

setToggleMethod · 0.95

Calls 4

getMinecraftMethod · 0.95
createMethod · 0.95
getSoundHandlerMethod · 0.80
playSoundMethod · 0.65

Tested by

no test coverage detected