Interface ConfigEntry
- All Superinterfaces:
net.minecraft.client.gui.components.events.GuiEventListener, net.minecraft.client.gui.components.TabOrderedElement
- All Known Implementing Classes:
AbstractRegistryEntry, AbstractTextEntry, ARGBColorEntry, BlockEntry, BlockListEntry, BooleanEntry, BoundedEntry, ColorEntry, DoubleEntry, EnumEntry, FloatEntry, IntegerEntry, ItemEntry, ItemListEntry, ListEntry, LongEntry, OptionEntry, RegistryEntry, RegistryListEntry, RGBColorEntry, StringEntry
public interface ConfigEntry
extends net.minecraft.client.gui.components.events.GuiEventListener
-
Method Summary
Modifier and TypeMethodDescriptionbooleanEvaluates if the current UI state differs from the property's defaultValue().booleanmatchesSearch(String query) Evaluates if the widget matches the current search bar query.voidRestores the bound property to its defaultValue() and updates the UI state.Methods inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
charTyped, getBorderForArrowNavigation, getCurrentFocusPath, getRectangle, isFocused, isMouseOver, keyPressed, keyReleased, mouseClicked, mouseDragged, mouseMoved, mouseReleased, mouseScrolled, nextFocusPath, preeditUpdated, setFocused, shouldTakeFocusAfterInteractionMethods inherited from interface net.minecraft.client.gui.components.TabOrderedElement
getTabOrderGroup
-
Method Details
-
matchesSearch
Evaluates if the widget matches the current search bar query. -
resetToDefault
void resetToDefault()Restores the bound property to its defaultValue() and updates the UI state. -
isModified
boolean isModified()Evaluates if the current UI state differs from the property's defaultValue().
-