Class DoubleEntry
java.lang.Object
net.minecraft.client.gui.components.ContainerObjectSelectionList.Entry<AbstractConfigEntry>
johnsmith.configoverhauled.api.client.gui.entry.AbstractConfigEntry
johnsmith.configoverhauled.impl.client.gui.entry.OptionEntry<Double, net.minecraft.client.gui.components.EditBox>
johnsmith.configoverhauled.impl.client.gui.entry.AbstractTextEntry<Double>
johnsmith.configoverhauled.impl.client.gui.entry.bounded.BoundedEntry<Double>
johnsmith.configoverhauled.impl.client.gui.entry.bounded.DoubleEntry
- All Implemented Interfaces:
ConfigEntry, net.minecraft.client.gui.components.events.ContainerEventHandler, net.minecraft.client.gui.components.events.GuiEventListener, net.minecraft.client.gui.components.TabOrderedElement, net.minecraft.client.gui.layouts.LayoutElement
-
Field Summary
Fields inherited from class OptionEntry
isLocked, labelComponent, minecraft, onValueChanged, parentScreen, property, resetButton, tooltip, widget -
Constructor Summary
ConstructorsConstructorDescriptionDoubleEntry(DefaultProperty.Bounded<Double> type, ConfigScreen parentScreen, net.minecraft.client.Minecraft minecraft, Runnable onValueChanged) -
Method Summary
Modifier and TypeMethodDescriptionprotected net.minecraft.network.chat.Componentprotected net.minecraft.network.chat.Componentprotected Stringprotected booleanisPartialInput(String input) protected Doubleprotected voidMethods inherited from class BoundedEntry
applyInput, extractContent, getBounds, getBoundsTooltipText, isWithinBounds, setupEditBoxMethods inherited from class AbstractTextEntry
createWidget, restoreCurrentValueMethods inherited from class OptionEntry
canReset, children, isDefault, isModified, matchesSearch, narratables, resetToDefault, setValue, updateResetButtonMethods inherited from class net.minecraft.client.gui.components.ContainerObjectSelectionList.Entry
focusPathAtIndex, getFocused, isDragging, mouseClicked, nextFocusPath, setDragging, setFocusedMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.components.events.ContainerEventHandler
charTyped, getBorderForArrowNavigation, getChildAt, getCurrentFocusPath, isFocused, keyPressed, keyReleased, mouseDragged, mouseReleased, mouseScrolled, preeditUpdated, setFocusedMethods inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
getRectangle, isMouseOver, mouseMoved, shouldTakeFocusAfterInteractionMethods inherited from interface net.minecraft.client.gui.layouts.LayoutElement
setPositionMethods inherited from interface net.minecraft.client.gui.components.TabOrderedElement
getTabOrderGroup
-
Constructor Details
-
DoubleEntry
public DoubleEntry(DefaultProperty.Bounded<Double> type, ConfigScreen parentScreen, net.minecraft.client.Minecraft minecraft, Runnable onValueChanged)
-
-
Method Details
-
parse
- Specified by:
parsein classBoundedEntry<Double>- Throws:
NumberFormatException
-
getRegexFilter
- Specified by:
getRegexFilterin classBoundedEntry<Double>
-
isPartialInput
- Specified by:
isPartialInputin classBoundedEntry<Double>
-
updateWidgetValue
protected void updateWidgetValue()- Specified by:
updateWidgetValuein classOptionEntry<Double, net.minecraft.client.gui.components.EditBox>
-
getCurrentValueTooltipText
protected net.minecraft.network.chat.Component getCurrentValueTooltipText()- Overrides:
getCurrentValueTooltipTextin classBoundedEntry<Double>
-
getDefaultValueTooltip
protected net.minecraft.network.chat.Component getDefaultValueTooltip()- Overrides:
getDefaultValueTooltipin classOptionEntry<Double, net.minecraft.client.gui.components.EditBox>
-