public class TitleConfigBuilder extends AbstractCraftBuilder<TitleConfig,TitleConfigBuilder>
限定符和类型 | 字段和说明 |
---|---|
protected @Range(from=0L,to=2147483647L) int |
fadeIn |
protected @Range(from=0L,to=2147483647L) int |
fadeOut |
protected @NotNull java.util.function.Function<java.lang.String,java.lang.String> |
paramFormatter |
protected @NotNull java.lang.String[] |
params |
protected ConfiguredTitle.TitleConsumer |
sendConsumer |
protected @Range(from=0L,to=2147483647L) int |
stay |
构造器和说明 |
---|
TitleConfigBuilder() |
限定符和类型 | 方法和说明 |
---|---|
@NotNull ConfiguredTitle |
build() |
@NotNull TitleConfigBuilder |
defaults(@Nullable java.lang.String line1,
@Nullable java.lang.String line2) |
TitleConfigBuilder |
fadeIn(@Range(from=0L,to=2147483647L) int fadeIn) |
TitleConfigBuilder |
fadeOut(@Range(from=0L,to=2147483647L) int fadeOut) |
TitleConfigBuilder |
formatParam(java.util.function.UnaryOperator<java.lang.String> paramFormatter) |
protected @NotNull TitleConfigBuilder |
getThis() |
TitleConfigBuilder |
params(@NotNull java.util.List<java.lang.String> params) |
TitleConfigBuilder |
params(java.lang.String... params) |
TitleConfigBuilder |
stay(@Range(from=0L,to=2147483647L) int stay) |
@NotNull TitleConfigBuilder |
whenSend(ConfiguredTitle.TitleConsumer consumer) |
@NotNull protected @NotNull java.lang.String[] params
protected @Range(from=0L,to=2147483647L) int fadeIn
protected @Range(from=0L,to=2147483647L) int stay
protected @Range(from=0L,to=2147483647L) int fadeOut
@NotNull protected ConfiguredTitle.TitleConsumer sendConsumer
@NotNull protected @NotNull java.util.function.Function<java.lang.String,java.lang.String> paramFormatter
@NotNull public @NotNull TitleConfigBuilder defaults(@Nullable @Nullable java.lang.String line1, @Nullable @Nullable java.lang.String line2)
@NotNull public @NotNull TitleConfigBuilder whenSend(@NotNull ConfiguredTitle.TitleConsumer consumer)
public TitleConfigBuilder params(java.lang.String... params)
public TitleConfigBuilder params(@NotNull @NotNull java.util.List<java.lang.String> params)
public TitleConfigBuilder fadeIn(@Range(from=0L,to=2147483647L) int fadeIn)
public TitleConfigBuilder stay(@Range(from=0L,to=2147483647L) int stay)
public TitleConfigBuilder fadeOut(@Range(from=0L,to=2147483647L) int fadeOut)
public TitleConfigBuilder formatParam(java.util.function.UnaryOperator<java.lang.String> paramFormatter)
@NotNull protected @NotNull TitleConfigBuilder getThis()
getThis
在类中 cc.carm.lib.configuration.core.builder.AbstractConfigBuilder<TitleConfig,TitleConfigBuilder,CraftConfigProvider>
@NotNull public @NotNull ConfiguredTitle build()
build
在类中 cc.carm.lib.configuration.core.builder.AbstractConfigBuilder<TitleConfig,TitleConfigBuilder,CraftConfigProvider>
Copyright © 2024. All rights reserved.