Uses of Class
net.minecraft.client.option.SimpleOption
Package
Description
-
Uses of SimpleOption in net.minecraft.client.gui.screen.option
Modifier and TypeFieldDescriptionprivate final @Nullable SimpleOption<com.mojang.datafixers.util.Unit>
OnlineOptionsScreen.difficulty
protected final SimpleOption<?>[]
SimpleOptionsScreen.options
Modifier and TypeMethodDescriptionprivate static SimpleOption<?>[]
AccessibilityOptionsScreen.getOptions
(GameOptions gameOptions) private static SimpleOption<?>[]
MouseOptionsScreen.getOptions
(GameOptions gameOptions) private static SimpleOption<?>[]
SoundOptionsScreen.getOptions
(GameOptions gameOptions) private static SimpleOption<?>[]
VideoOptionsScreen.getOptions
(GameOptions gameOptions) private SimpleOption<?>[]
SoundOptionsScreen.getVolumeOptions()
ModifierConstructorDescriptionprivate
OnlineOptionsScreen
(Screen parent, GameOptions gameOptions, SimpleOption<?>[] options, @Nullable SimpleOption<com.mojang.datafixers.util.Unit> difficulty) SimpleOptionsScreen
(Screen parent, GameOptions gameOptions, Text title, SimpleOption<?>[] options) -
Uses of SimpleOption in net.minecraft.client.gui.widget
Modifier and TypeFieldDescription(package private) final Map<SimpleOption<?>,
ClickableWidget> OptionListWidget.WidgetEntry.optionsToWidgets
Modifier and TypeMethodDescriptionvoid
OptionListWidget.addAll
(SimpleOption<?>[] options) void
OptionListWidget.addOptionEntry
(SimpleOption<?> firstOption, @Nullable SimpleOption<?> secondOption) int
OptionListWidget.addSingleOptionEntry
(SimpleOption<?> option) static OptionListWidget.WidgetEntry
OptionListWidget.WidgetEntry.create
(GameOptions options, int width, SimpleOption<?> option) static OptionListWidget.WidgetEntry
OptionListWidget.WidgetEntry.create
(GameOptions options, int width, SimpleOption<?> firstOption, @Nullable SimpleOption<?> secondOption) @Nullable ClickableWidget
OptionListWidget.getWidgetFor
(SimpleOption<?> option) ModifierConstructorDescriptionprivate
WidgetEntry
(Map<SimpleOption<?>, ClickableWidget> optionsToWidgets) -
Uses of SimpleOption in net.minecraft.client.option
Modifier and TypeFieldDescriptionprivate final SimpleOption<Boolean>
GameOptions.allowServerListing
private final SimpleOption<Boolean>
GameOptions.ao
private final SimpleOption<AttackIndicator>
GameOptions.attackIndicator
private final SimpleOption<Boolean>
GameOptions.autoJump
private final SimpleOption<Boolean>
GameOptions.autoSuggestions
private final SimpleOption<Boolean>
GameOptions.backgroundForChatOnly
private final SimpleOption<Integer>
GameOptions.biomeBlendRadius
private final SimpleOption<Boolean>
GameOptions.bobView
private final SimpleOption<Boolean>
GameOptions.chatColors
private final SimpleOption<Double>
GameOptions.chatDelay
private final SimpleOption<Double>
GameOptions.chatHeightFocused
private final SimpleOption<Double>
GameOptions.chatHeightUnfocused
private final SimpleOption<Double>
GameOptions.chatLineSpacing
private final SimpleOption<Boolean>
GameOptions.chatLinks
private final SimpleOption<Boolean>
GameOptions.chatLinksPrompt
private final SimpleOption<Double>
GameOptions.chatOpacity
private final SimpleOption<Double>
GameOptions.chatScale
private final SimpleOption<ChatVisibility>
GameOptions.chatVisibility
private final SimpleOption<Double>
GameOptions.chatWidth
private final SimpleOption<ChunkBuilderMode>
GameOptions.chunkBuilderMode
private final SimpleOption<CloudRenderMode>
GameOptions.cloudRenderMode
private final SimpleOption<Double>
GameOptions.damageTiltStrength
private final SimpleOption<Double>
GameOptions.darknessEffectScale
private final SimpleOption<Boolean>
GameOptions.directionalAudio
private final SimpleOption<Boolean>
GameOptions.discreteMouseScroll
private final SimpleOption<Double>
GameOptions.distortionEffectScale
private final SimpleOption<Boolean>
GameOptions.enableVsync
private final SimpleOption<Double>
GameOptions.entityDistanceScaling
private final SimpleOption<Boolean>
GameOptions.entityShadows
private final SimpleOption<Boolean>
GameOptions.forceUnicodeFont
private final SimpleOption<Integer>
GameOptions.fov
private final SimpleOption<Double>
GameOptions.fovEffectScale
private final SimpleOption<Boolean>
GameOptions.fullscreen
private final SimpleOption<Double>
GameOptions.gamma
private final SimpleOption<Double>
GameOptions.glintSpeed
private final SimpleOption<Double>
GameOptions.glintStrength
private final SimpleOption<GraphicsMode>
GameOptions.graphicsMode
private final SimpleOption<Integer>
GameOptions.guiScale
private final SimpleOption<Boolean>
GameOptions.hideLightningFlashes
private final SimpleOption<Boolean>
GameOptions.hideMatchedNames
private final SimpleOption<Boolean>
GameOptions.highContrast
private final SimpleOption<Boolean>
GameOptions.invertYMouse
private final SimpleOption<Arm>
GameOptions.mainArm
private final SimpleOption<Integer>
GameOptions.maxFps
private final SimpleOption<Integer>
GameOptions.mipmapLevels
private final SimpleOption<Boolean>
GameOptions.monochromeLogo
private final SimpleOption<Double>
GameOptions.mouseSensitivity
private final SimpleOption<Double>
GameOptions.mouseWheelSensitivity
private final SimpleOption<NarratorMode>
GameOptions.narrator
private final SimpleOption<Boolean>
GameOptions.narratorHotkey
private final SimpleOption<Double>
GameOptions.notificationDisplayTime
private final SimpleOption<Boolean>
GameOptions.onlyShowSecureChat
private final SimpleOption<Boolean>
GameOptions.operatorItemsTab
private final SimpleOption<N>
SimpleOption.OptionSliderWidgetImpl.option
private final SimpleOption<Double>
GameOptions.panoramaSpeed
private final SimpleOption<ParticlesMode>
GameOptions.particles
private final SimpleOption<Boolean>
GameOptions.rawMouseInput
private final SimpleOption<Boolean>
GameOptions.realmsNotifications
private final SimpleOption<Boolean>
GameOptions.reducedDebugInfo
private final SimpleOption<Boolean>
GameOptions.showAutosaveIndicator
private final SimpleOption<Boolean>
GameOptions.showSubtitles
private final SimpleOption<Integer>
GameOptions.simulationDistance
private final SimpleOption<Boolean>
GameOptions.sneakToggled
private final SimpleOption<String>
GameOptions.soundDevice
private final SimpleOption<Boolean>
GameOptions.sprintToggled
private final SimpleOption<Boolean>
GameOptions.telemetryOptInExtra
private final SimpleOption<Double>
GameOptions.textBackgroundOpacity
private final SimpleOption<Boolean>
GameOptions.touchscreen
private final SimpleOption<Integer>
GameOptions.viewDistance
Modifier and TypeFieldDescriptionprivate final Map<SoundCategory,
SimpleOption<Double>> GameOptions.soundVolumeLevels
Modifier and TypeMethodDescriptionprivate SimpleOption<Double>
GameOptions.createSoundVolumeOption
(String key, SoundCategory category) GameOptions.getAllowServerListing()
GameOptions.getAo()
GameOptions.getAttackIndicator()
GameOptions.getAutoJump()
GameOptions.getAutoSuggestions()
GameOptions.getBackgroundForChatOnly()
GameOptions.getBiomeBlendRadius()
GameOptions.getBobView()
GameOptions.getChatColors()
GameOptions.getChatDelay()
GameOptions.getChatHeightFocused()
GameOptions.getChatHeightUnfocused()
GameOptions.getChatLineSpacing()
GameOptions.getChatLinks()
GameOptions.getChatLinksPrompt()
GameOptions.getChatOpacity()
GameOptions.getChatScale()
GameOptions.getChatVisibility()
GameOptions.getChatWidth()
GameOptions.getChunkBuilderMode()
GameOptions.getCloudRenderMode()
GameOptions.getDamageTiltStrength()
GameOptions.getDarknessEffectScale()
GameOptions.getDirectionalAudio()
GameOptions.getDiscreteMouseScroll()
GameOptions.getDistortionEffectScale()
GameOptions.getEnableVsync()
GameOptions.getEntityDistanceScaling()
GameOptions.getEntityShadows()
GameOptions.getForceUnicodeFont()
GameOptions.getFov()
GameOptions.getFovEffectScale()
GameOptions.getFullscreen()
GameOptions.getGamma()
GameOptions.getGlintSpeed()
GameOptions.getGlintStrength()
GameOptions.getGraphicsMode()
GameOptions.getGuiScale()
GameOptions.getHideLightningFlashes()
GameOptions.getHideMatchedNames()
GameOptions.getHighContrast()
GameOptions.getInvertYMouse()
GameOptions.getMainArm()
GameOptions.getMaxFps()
GameOptions.getMipmapLevels()
GameOptions.getMonochromeLogo()
GameOptions.getMouseSensitivity()
GameOptions.getMouseWheelSensitivity()
GameOptions.getNarrator()
GameOptions.getNarratorHotkey()
GameOptions.getNotificationDisplayTime()
GameOptions.getOnlyShowSecureChat()
GameOptions.getOperatorItemsTab()
GameOptions.getPanoramaSpeed()
GameOptions.getParticles()
GameOptions.getRawMouseInput()
GameOptions.getRealmsNotifications()
GameOptions.getReducedDebugInfo()
GameOptions.getShowAutosaveIndicator()
GameOptions.getShowSubtitles()
GameOptions.getSimulationDistance()
GameOptions.getSneakToggled()
GameOptions.getSoundDevice()
final SimpleOption<Double>
GameOptions.getSoundVolumeOption
(SoundCategory category) GameOptions.getSprintToggled()
GameOptions.getTelemetryOptInExtra()
GameOptions.getTextBackgroundOpacity()
GameOptions.getTouchscreen()
GameOptions.getViewDistance()
static SimpleOption<Boolean>
Creates a boolean option.static SimpleOption<Boolean>
Creates a boolean option.static SimpleOption<Boolean>
SimpleOption.ofBoolean
(String key, SimpleOption.TooltipFactory<Boolean> tooltipFactory, boolean defaultValue) Creates a boolean option.static SimpleOption<Boolean>
SimpleOption.ofBoolean
(String key, SimpleOption.TooltipFactory<Boolean> tooltipFactory, boolean defaultValue, Consumer<Boolean> changeCallback) Creates a boolean option.static SimpleOption<Boolean>
SimpleOption.ofBoolean
(String key, SimpleOption.TooltipFactory<Boolean> tooltipFactory, SimpleOption.ValueTextGetter<Boolean> valueTextGetter, boolean defaultValue, Consumer<Boolean> changeCallback) Modifier and TypeMethodDescriptionSimpleOption.Callbacks.getWidgetCreator
(SimpleOption.TooltipFactory<T> tooltipFactory, GameOptions gameOptions, int x, int y, int width, Consumer<T> changeCallback) Returns the widget creator.default Function<SimpleOption<T>,
ClickableWidget> SimpleOption.CyclingCallbacks.getWidgetCreator
(SimpleOption.TooltipFactory<T> tooltipFactory, GameOptions gameOptions, int x, int y, int width, Consumer<T> changeCallback) Returns the widget creator.default Function<SimpleOption<T>,
ClickableWidget> SimpleOption.SliderCallbacks.getWidgetCreator
(SimpleOption.TooltipFactory<T> tooltipFactory, GameOptions gameOptions, int x, int y, int width, Consumer<T> changeCallback) Returns the widget creator.default Function<SimpleOption<T>,
ClickableWidget> SimpleOption.TypeChangeableCallbacks.getWidgetCreator
(SimpleOption.TooltipFactory<T> tooltipFactory, GameOptions gameOptions, int x, int y, int width, Consumer<T> changeCallback) Returns the widget creator.Modifier and TypeMethodDescription<T> void
GameOptions.Visitor.accept
(String key, SimpleOption<T> option) void
SimpleOption.CyclingCallbacks.ValueSetter.set
(SimpleOption<T> option, T value) ModifierConstructorDescription(package private)
OptionSliderWidgetImpl
(GameOptions options, int x, int y, int width, int height, SimpleOption<N> option, SimpleOption.SliderCallbacks<N> callbacks, SimpleOption.TooltipFactory<N> tooltipFactory, Consumer<N> changeCallback)