类 CycleTextureButton.Builder<T>
java.lang.Object
committee.nova.mods.avaritia.api.client.screen.component.CycleTextureButton.Builder<T>
- 封闭类:
- CycleTextureButton<T>
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明bounds(int x, int y, int width, int height) create(net.minecraft.resources.ResourceLocation resourceLocation, net.minecraft.network.chat.Component name) create(net.minecraft.resources.ResourceLocation resourceLocation, net.minecraft.network.chat.Component name, CycleTextureButton.OnValueChange<T> onValueChange) offset(int x, int y) texStart(int x, int y) textureSize(int width, int height) withCustomNarration(Function<CycleTextureButton<T>, net.minecraft.network.chat.MutableComponent> narrationProvider) withInitialValue(T initialValue) withTooltip(net.minecraft.client.OptionInstance.TooltipSupplier<T> tooltipSupplier) withValues(Collection<T> values) withValues(BooleanSupplier altListSelector, List<T> defaultList, List<T> selectedList) withValues(List<T> defaultList, List<T> selectedList) final CycleTextureButton.Builder<T>withValues(T... values) xDiffTex(int xDiffTex) yDiffTex(int yDiffTex)
-
构造器详细资料
-
Builder
-
-
方法详细资料
-
withValues
-
withValues
-
withValues
-
withValues
public CycleTextureButton.Builder<T> withValues(BooleanSupplier altListSelector, List<T> defaultList, List<T> selectedList) -
withValues
-
withTooltip
public CycleTextureButton.Builder<T> withTooltip(net.minecraft.client.OptionInstance.TooltipSupplier<T> tooltipSupplier) -
withInitialValue
-
withCustomNarration
public CycleTextureButton.Builder<T> withCustomNarration(Function<CycleTextureButton<T>, net.minecraft.network.chat.MutableComponent> narrationProvider) -
displayOnlyValue
-
bounds
-
texStart
-
offset
-
xDiffTex
-
yDiffTex
-
textureSize
-
create
public CycleTextureButton<T> create(net.minecraft.resources.ResourceLocation resourceLocation, net.minecraft.network.chat.Component name) -
create
public CycleTextureButton<T> create(net.minecraft.resources.ResourceLocation resourceLocation, net.minecraft.network.chat.Component name, CycleTextureButton.OnValueChange<T> onValueChange)
-