Uses of Interface
net.minecraft.client.option.SimpleOption.ValueTextGetter
-
Uses of SimpleOption.ValueTextGetter in net.minecraft.client.option
Modifier and TypeMethodDescriptionstatic <T extends TranslatableOption>
SimpleOption.ValueTextGetter<T>SimpleOption.enumValueText()
Returns the getter for thevalueTextGetter
parameter of the constructor to use the value's text as the option's rendered text.ModifierConstructorDescriptionSimpleOption
(String key, SimpleOption.TooltipFactoryGetter<T> tooltipFactoryGetter, SimpleOption.ValueTextGetter<T> valueTextGetter, SimpleOption.Callbacks<T> callbacks, com.mojang.serialization.Codec<T> codec, T defaultValue, Consumer<T> changeCallback) SimpleOption
(String key, SimpleOption.TooltipFactoryGetter<T> tooltipFactoryGetter, SimpleOption.ValueTextGetter<T> valueTextGetter, SimpleOption.Callbacks<T> callbacks, T defaultValue, Consumer<T> changeCallback)