Class IntegerEntry
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<Integer,net.minecraft.client.gui.components.EditBox>
johnsmith.configoverhauled.impl.client.gui.entry.AbstractTextEntry<Integer>
johnsmith.configoverhauled.impl.client.gui.entry.bounded.BoundedEntry<Integer>
johnsmith.configoverhauled.impl.client.gui.entry.bounded.IntegerEntry
- All Implemented Interfaces:
ConfigEntry,net.minecraft.client.gui.components.events.ContainerEventHandler,net.minecraft.client.gui.components.events.GuiEventListener,net.minecraft.client.gui.components.TabOrderedElement
-
Field Summary
Fields inherited from class johnsmith.configoverhauled.impl.client.gui.entry.OptionEntry
isLocked, labelComponent, minecraft, onValueChanged, parentScreen, property, resetButton, tooltip, widgetFields inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
DOUBLE_CLICK_THRESHOLD_MS -
Constructor Summary
ConstructorsConstructorDescriptionIntegerEntry(DefaultProperty.Integer property, ConfigScreen parentScreen, net.minecraft.client.Minecraft minecraft, Runnable onValueChanged) -
Method Summary
Modifier and TypeMethodDescriptionprotected net.minecraft.network.chat.Componentprotected Stringprotected booleanisPartialInput(String input) protected Integerprotected voidMethods inherited from class johnsmith.configoverhauled.impl.client.gui.entry.bounded.BoundedEntry
applyInput, getBounds, getBoundsTooltipText, getCurrentValueTooltipText, isWithinBounds, render, setupEditBoxMethods inherited from class johnsmith.configoverhauled.impl.client.gui.entry.AbstractTextEntry
createWidget, restoreCurrentValueMethods inherited from class johnsmith.configoverhauled.impl.client.gui.entry.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 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.components.events.ContainerEventHandler
charTyped, getChildAt, getCurrentFocusPath, isFocused, keyPressed, keyReleased, mouseDragged, mouseReleased, mouseScrolled, setFocusedMethods inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
getBorderForArrowNavigation, getRectangle, isMouseOver, mouseMovedMethods inherited from interface net.minecraft.client.gui.components.TabOrderedElement
getTabOrderGroup
-
Constructor Details
-
IntegerEntry
public IntegerEntry(DefaultProperty.Integer property, ConfigScreen parentScreen, net.minecraft.client.Minecraft minecraft, Runnable onValueChanged)
-
-
Method Details
-
parse
- Specified by:
parsein classBoundedEntry<Integer>- Throws:
NumberFormatException
-
getRegexFilter
- Specified by:
getRegexFilterin classBoundedEntry<Integer>
-
isPartialInput
- Specified by:
isPartialInputin classBoundedEntry<Integer>
-
updateWidgetValue
protected void updateWidgetValue()- Specified by:
updateWidgetValuein classOptionEntry<Integer,net.minecraft.client.gui.components.EditBox>
-
getDefaultValueTooltip
protected net.minecraft.network.chat.Component getDefaultValueTooltip()- Overrides:
getDefaultValueTooltipin classOptionEntry<Integer,net.minecraft.client.gui.components.EditBox>
-