@Environment(value=CLIENT) public static enum SoundInstance.AttenuationType extends Enum<SoundInstance.AttenuationType>
| Modifier and Type | Method and Description |
|---|---|
static SoundInstance.AttenuationType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SoundInstance.AttenuationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SoundInstance.AttenuationType NONE
public static final SoundInstance.AttenuationType LINEAR
public static SoundInstance.AttenuationType[] values()
for (SoundInstance.AttenuationType c : SoundInstance.AttenuationType.values()) System.out.println(c);
public static SoundInstance.AttenuationType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is null