public class ConfiguredSound extends cc.carm.lib.configuration.core.value.type.ConfiguredValue<SoundConfig>
构造器和说明 |
---|
ConfiguredSound(@NotNull cc.carm.lib.configuration.core.value.ValueManifest<SoundConfig> manifest) |
限定符和类型 | 方法和说明 |
---|---|
static @NotNull SoundConfigBuilder |
create() |
static cc.carm.lib.configuration.core.function.ConfigValueParser<java.lang.Object,SoundConfig> |
getSoundParser() |
static @NotNull ConfiguredSound |
of(org.bukkit.Sound sound) |
static @NotNull ConfiguredSound |
of(org.bukkit.Sound sound,
float volume) |
static @NotNull ConfiguredSound |
of(org.bukkit.Sound sound,
float volume,
float pitch) |
static @NotNull ConfiguredSound |
of(java.lang.String soundName) |
static @NotNull ConfiguredSound |
of(java.lang.String soundName,
float volume) |
static @NotNull ConfiguredSound |
of(java.lang.String soundName,
float volume,
float pitch) |
void |
playAt(org.bukkit.Location location) |
void |
playTo(@NotNull org.bukkit.entity.Player player) |
void |
playToAll() |
void |
setSound(@NotNull org.bukkit.Sound sound) |
void |
setSound(@NotNull org.bukkit.Sound sound,
float volume) |
void |
setSound(@NotNull org.bukkit.Sound sound,
float volume,
float pitch) |
builderOf, get, getParser, getSerializer, getValueClass, of, set
getCachedOrDefault, getCachedOrDefault, getCachedValue, getDefaultFirst, isExpired, updateCache
builder, getNotNull, getOptional, getOrDefault, initialize, isDefault, setDefault, setDefault
public ConfiguredSound(@NotNull @NotNull cc.carm.lib.configuration.core.value.ValueManifest<SoundConfig> manifest)
@NotNull public static @NotNull SoundConfigBuilder create()
@NotNull public static @NotNull ConfiguredSound of(org.bukkit.Sound sound)
@NotNull public static @NotNull ConfiguredSound of(org.bukkit.Sound sound, float volume)
@NotNull public static @NotNull ConfiguredSound of(org.bukkit.Sound sound, float volume, float pitch)
@NotNull public static @NotNull ConfiguredSound of(java.lang.String soundName)
@NotNull public static @NotNull ConfiguredSound of(java.lang.String soundName, float volume)
@NotNull public static @NotNull ConfiguredSound of(java.lang.String soundName, float volume, float pitch)
public void setSound(@NotNull @NotNull org.bukkit.Sound sound)
public void setSound(@NotNull @NotNull org.bukkit.Sound sound, float volume)
public void setSound(@NotNull @NotNull org.bukkit.Sound sound, float volume, float pitch)
public void playTo(@NotNull @NotNull org.bukkit.entity.Player player)
public void playToAll()
public void playAt(org.bukkit.Location location)
public static cc.carm.lib.configuration.core.function.ConfigValueParser<java.lang.Object,SoundConfig> getSoundParser()
Copyright © 2024. All rights reserved.