Class GlowSound

java.lang.Object
net.glowstone.constants.GlowSound

public class GlowSound extends Object
  • Constructor Details

    • GlowSound

      public GlowSound()
  • Method Details

    • reg

      public static void reg(String id, org.bukkit.SoundCategory category)
    • getSoundCategory

      public static org.bukkit.SoundCategory getSoundCategory(String id)
    • getVanillaId

      public static String getVanillaId(org.bukkit.Sound sound)
    • getVanillaSound

      public static org.bukkit.Sound getVanillaSound(String id)
      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

      public static Map<String,org.bukkit.SoundCategory> getSounds()