Package | Description |
---|---|
org.bukkit |
More generalized classes in the API.
|
org.bukkit.entity |
Interfaces for non-voxel objects that can exist in a
world , including all players, monsters, projectiles, etc. |
Modifier and Type | Method and Description |
---|---|
static Sound |
Sound.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Sound[] |
Sound.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
World.playSound(Location location,
Sound sound,
float volume,
float pitch)
Play a Sound at the provided Location in the World
|
Modifier and Type | Method and Description |
---|---|
void |
Player.playSound(Location location,
Sound sound,
float volume,
float pitch)
Play a sound for a player at the location.
|
Copyright © 2014. All rights reserved.