public class Sounds
extends java.lang.Object
Modifier and Type | Class | Description |
---|---|---|
static class |
Sounds.SoundEffectType |
Constructor | Description |
---|---|
Sounds(org.bukkit.configuration.ConfigurationSection section) |
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
getSoundEffect(Sounds.SoundEffectType type) |
|
java.lang.String |
getSoundEffect(Sounds.SoundEffectType type,
Disguise target) |
|
static Sounds |
getSoundsForEntity(DisguiseType type) |
|
static void |
init(java.lang.String file) |
|
Sounds.SoundEffectType |
matchSoundEffect(java.lang.String soundEffect) |
|
static java.lang.String |
replaceSoundEffect(DisguiseType source,
java.lang.String soundEffect,
Disguise target) |
|
static boolean |
setSoundsForEntity(DisguiseType type,
Sounds sounds) |
public static Sounds getSoundsForEntity(DisguiseType type)
public static boolean setSoundsForEntity(DisguiseType type, Sounds sounds)
public static java.lang.String replaceSoundEffect(DisguiseType source, java.lang.String soundEffect, Disguise target)
public static void init(java.lang.String file)
public Sounds.SoundEffectType matchSoundEffect(java.lang.String soundEffect)
public java.lang.String getSoundEffect(Sounds.SoundEffectType type)
public java.lang.String getSoundEffect(Sounds.SoundEffectType type, Disguise target)