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

Method playSound

src/main/java/net/minecraft/entity/Entity.java:1018–1024  ·  view source on GitHub ↗
(String name, float volume, float pitch)

Source from the content-addressed store, hash-verified

1016 }
1017
1018 public void playSound(String name, float volume, float pitch)
1019 {
1020 if (!this.isSilent())
1021 {
1022 this.worldObj.playSoundAtEntity(this, name, volume, pitch);
1023 }
1024 }
1025
1026 /**
1027 * @return True if this entity will not play sounds

Callers 3

moveEntityMethod · 0.95
playStepSoundMethod · 0.95
resetHeightMethod · 0.95

Calls 2

isSilentMethod · 0.95
playSoundAtEntityMethod · 0.80

Tested by

no test coverage detected