MCPcopy Create free account
hub / github.com/Teneted/Tenet / playSound

Method playSound

src/main/java/org/bukkit/entity/Player.java:304–304  ·  view source on GitHub ↗

Play a sound for a player at the location. This function will fail silently if Location or Sound are null. @param location The location to play the sound @param sound The sound to play @param volume The volume of the sound @param pitch The pitch of the sound

(@NotNull Location location, @NotNull Sound sound, float volume, float pitch)

Source from the content-addressed store, hash-verified

302 * @param pitch The pitch of the sound
303 */
304 public void playSound(@NotNull Location location, @NotNull Sound sound, float volume, float pitch);
305
306 /**
307 * Play a sound for a player at the location.

Callers 5

playSoundMethod · 0.65
openMethod · 0.65
closeMethod · 0.65
openMethod · 0.65
closeMethod · 0.65

Implementers 1

CraftPlayersrc/main/java/org/bukkit/craftbukkit/v

Calls

no outgoing calls

Tested by

no test coverage detected