Package net.glowstone.constants
Class GlowSound
java.lang.Object
net.glowstone.constants.GlowSound
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.bukkit.SoundCategory
getCategory
(int category) static org.bukkit.SoundCategory
static String
getVanillaId
(org.bukkit.Sound sound) static org.bukkit.Sound
Returns a vanilla Minecraft sound with the given ID, or null if none exists.static void
-
Constructor Details
-
GlowSound
public GlowSound()
-
-
Method Details
-
reg
-
getSoundCategory
-
getVanillaId
-
getVanillaSound
Returns a vanilla Minecraft sound with the given ID, or null if none exists.- Parameters:
id
- the id- Returns:
- the sound, or null if none match
-
getCategory
public static org.bukkit.SoundCategory getCategory(int category) -
getSounds
-