public class NotifyConfigBuilder extends cc.carm.lib.configuration.core.builder.CommonConfigBuilder<java.util.List<NotifyConfig>,NotifyConfigBuilder>
限定符和类型 | 字段和说明 |
---|---|
protected @NotNull java.util.List<NotifyConfig> |
notifications |
protected @NotNull java.util.function.Function<java.lang.String,java.lang.String> |
paramFormatter |
protected @NotNull java.lang.String[] |
params |
构造器和说明 |
---|
NotifyConfigBuilder() |
限定符和类型 | 方法和说明 |
---|---|
@NotNull ConfiguredNotify |
build() |
NotifyConfigBuilder |
defaultActionBar(@NotNull java.lang.String message) |
NotifyConfigBuilder |
defaultMessages(@NotNull java.util.List<java.lang.String> messages) |
NotifyConfigBuilder |
defaultMessages(java.lang.String... messages) |
NotifyConfigBuilder |
defaultSound(@NotNull org.bukkit.Sound sound) |
NotifyConfigBuilder |
defaultSound(@NotNull org.bukkit.Sound sound,
float volume) |
NotifyConfigBuilder |
defaultSound(@NotNull org.bukkit.Sound sound,
float volume,
float pitch) |
NotifyConfigBuilder |
defaultSound(@NotNull java.lang.String soundName) |
NotifyConfigBuilder |
defaultSound(@NotNull java.lang.String soundName,
float volume) |
NotifyConfigBuilder |
defaultSound(@NotNull java.lang.String soundName,
float volume,
float pitch) |
NotifyConfigBuilder |
defaultTitle(@Nullable java.lang.String line1,
@Nullable java.lang.String line2) |
NotifyConfigBuilder |
defaultTitle(@Nullable java.lang.String line1,
@Nullable java.lang.String line2,
@Range(from=0L,to=2147483647L) int fadeIn,
@Range(from=0L,to=2147483647L) int stay,
@Range(from=0L,to=2147483647L) int fadeOut) |
NotifyConfigBuilder |
formatParam(java.util.function.UnaryOperator<java.lang.String> paramFormatter) |
protected @NotNull NotifyConfigBuilder |
getThis() |
NotifyConfigBuilder |
params(@NotNull java.util.List<java.lang.String> params) |
NotifyConfigBuilder |
params(java.lang.String... params) |
@NotNull protected final @NotNull java.util.List<NotifyConfig> notifications
@NotNull protected @NotNull java.lang.String[] params
@NotNull protected @NotNull java.util.function.Function<java.lang.String,java.lang.String> paramFormatter
public NotifyConfigBuilder defaultMessages(@NotNull java.lang.String... messages)
public NotifyConfigBuilder defaultMessages(@NotNull @NotNull java.util.List<java.lang.String> messages)
public NotifyConfigBuilder defaultActionBar(@NotNull @NotNull java.lang.String message)
public NotifyConfigBuilder defaultSound(@NotNull @NotNull org.bukkit.Sound sound, float volume, float pitch)
public NotifyConfigBuilder defaultSound(@NotNull @NotNull org.bukkit.Sound sound, float volume)
public NotifyConfigBuilder defaultSound(@NotNull @NotNull org.bukkit.Sound sound)
public NotifyConfigBuilder defaultSound(@NotNull @NotNull java.lang.String soundName, float volume, float pitch)
public NotifyConfigBuilder defaultSound(@NotNull @NotNull java.lang.String soundName, float volume)
public NotifyConfigBuilder defaultSound(@NotNull @NotNull java.lang.String soundName)
public NotifyConfigBuilder defaultTitle(@Nullable @Nullable java.lang.String line1, @Nullable @Nullable java.lang.String line2, @Range(from=0L,to=2147483647L) int fadeIn, @Range(from=0L,to=2147483647L) int stay, @Range(from=0L,to=2147483647L) int fadeOut)
public NotifyConfigBuilder defaultTitle(@Nullable @Nullable java.lang.String line1, @Nullable @Nullable java.lang.String line2)
public NotifyConfigBuilder params(java.lang.String... params)
public NotifyConfigBuilder params(@NotNull @NotNull java.util.List<java.lang.String> params)
public NotifyConfigBuilder formatParam(java.util.function.UnaryOperator<java.lang.String> paramFormatter)
@NotNull protected @NotNull NotifyConfigBuilder getThis()
getThis
在类中 cc.carm.lib.configuration.core.builder.AbstractConfigBuilder<java.util.List<NotifyConfig>,NotifyConfigBuilder,cc.carm.lib.configuration.core.source.ConfigurationProvider<?>>
@NotNull public @NotNull ConfiguredNotify build()
build
在类中 cc.carm.lib.configuration.core.builder.AbstractConfigBuilder<java.util.List<NotifyConfig>,NotifyConfigBuilder,cc.carm.lib.configuration.core.source.ConfigurationProvider<?>>
Copyright © 2024. All rights reserved.