Package net.minecraft.client.options
Class CyclingOption<T>
java.lang.Object
net.minecraft.client.options.Option
net.minecraft.client.options.CyclingOption<T>
@Environment(CLIENT) public class CyclingOption<T> extends Option
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCyclingOption.class_5675<T> -
Field Summary
Fields Modifier and Type Field Description private Function<GameOptions,T>field_27953private Supplier<class_5676.class_5677<T>>field_27954private Function<MinecraftClient,class_5676.class_5679<T>>field_27955private CyclingOption.class_5675<T>setterFields inherited from class net.minecraft.client.options.Option
AO, ATTACK_INDICATOR, AUTO_JUMP, AUTO_SUGGESTIONS, BIOME_BLEND_RADIUS, CHAT_COLOR, CHAT_DELAY_INSTANT, CHAT_HEIGHT_FOCUSED, CHAT_LINE_SPACING, CHAT_LINKS, CHAT_LINKS_PROMPT, CHAT_OPACITY, CHAT_SCALE, CHAT_WIDTH, CLOUDS, DISCRETE_MOUSE_SCROLL, DISTORTION_EFFECT_SCALE, ENTITY_DISTANCE_SCALING, ENTITY_SHADOWS, field_26924, FORCE_UNICODE_FONT, FOV, FOV_EFFECT_SCALE, FRAMERATE_LIMIT, FULLSCREEN, GAMMA, GRAPHICS, GUI_SCALE, INVERT_MOUSE, MAIN_HAND, MIPMAP_LEVELS, MOUSE_WHEEL_SENSITIVITY, NARRATOR, PARTICLES, RAW_MOUSE_INPUT, REALMS_NOTIFICATIONS, REDUCED_DEBUG_INFO, RENDER_DISTANCE, SATURATION, SENSITIVITY, SNEAK_TOGGLED, SNOOPER, SPRINT_TOGGLED, SUBTITLES, TEXT_BACKGROUND, TEXT_BACKGROUND_OPACITY, TOUCHSCREEN, VIEW_BOBBING, VISIBILITY, VSYNC -
Constructor Summary
Constructors Modifier Constructor Description privateCyclingOption(String string, Function<GameOptions,T> function, CyclingOption.class_5675<T> class_5675, Supplier<class_5676.class_5677<T>> supplier) -
Method Summary
Methods inherited from class net.minecraft.client.options.Option
getDisplayPrefix, getGenericLabel, getGenericLabel, getPercentAdditionLabel, getPercentLabel, getPixelLabel
-
Field Details
-
setter
-
field_27953
-
field_27954
-
field_27955
-
-
Constructor Details
-
CyclingOption
private CyclingOption(String string, Function<GameOptions,T> function, CyclingOption.class_5675<T> class_5675, Supplier<class_5676.class_5677<T>> supplier)
-
-
Method Details
-
method_32523
public static <T> CyclingOption<T> method_32523(String string, Supplier<List<T>> supplier, Function<T,Text> function, Function<GameOptions,T> function2, CyclingOption.class_5675<T> class_5675) -
method_32521
public static <T> CyclingOption<T> method_32521(String string, List<T> list, List<T> list2, BooleanSupplier booleanSupplier, Function<T,Text> function, Function<GameOptions,T> function2, CyclingOption.class_5675<T> class_5675) -
method_32526
public static <T> CyclingOption<T> method_32526(String string, T[] t, Function<T,Text> function, Function<GameOptions,T> function2, CyclingOption.class_5675<T> class_5675) -
method_32525
public static CyclingOption<Boolean> method_32525(String string, Text text, Text text2, Function<GameOptions,Boolean> function, CyclingOption.class_5675<Boolean> class_5675) -
method_32522
public static CyclingOption<Boolean> method_32522(String string, Function<GameOptions,Boolean> function, CyclingOption.class_5675<Boolean> class_5675) -
method_32524
public static CyclingOption<Boolean> method_32524(String string, Text text, Function<GameOptions,Boolean> function, CyclingOption.class_5675<Boolean> class_5675) -
method_32528
-
createButton
- Specified by:
createButtonin classOption
-