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 Type
    Method
    Description
    boolean
    Evaluates if the current UI state differs from the property's defaultValue().
    boolean
    Evaluates if the widget matches the current search bar query.
    void
    Restores 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, shouldTakeFocusAfterInteraction

    Methods inherited from interface net.minecraft.client.gui.components.TabOrderedElement

    getTabOrderGroup
  • Method Details

    • matchesSearch

      boolean matchesSearch(String query)
      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().