Interface ClientConfig.Builder
- All Known Implementing Classes:
ClientConfigImpl.BuilderImpl
- Enclosing interface:
- ClientConfig
public static interface ClientConfig.Builder
-
Method Summary
Modifier and TypeMethodDescriptionbuild()init(@NotNull Consumer<FrozenConfigScreen> initializer) option(T value, @NotNull OptionType type, @NotNull net.minecraft.network.chat.Component text, @NotNull Optional<net.minecraft.network.chat.Component> tooltip, Option.Save<T> onSave) option(T value, @NotNull OptionType type, @NotNull net.minecraft.network.chat.Component text, Option.Save<T> onSave) title(@NotNull net.minecraft.network.chat.Component title)
-
Method Details
-
title
-
option
<T> ClientConfig.Builder option(@NotNull T value, @NotNull @NotNull OptionType type, @NotNull @NotNull net.minecraft.network.chat.Component text, @NotNull Option.Save<T> onSave) -
option
<T> ClientConfig.Builder option(@NotNull T value, @NotNull @NotNull OptionType type, @NotNull @NotNull net.minecraft.network.chat.Component text, @NotNull @NotNull Optional<net.minecraft.network.chat.Component> tooltip, @NotNull Option.Save<T> onSave) -
save
-
init
-
build
ClientConfig build()
-