Class LeftRightListSettingScreen<T>

java.lang.Object
net.minecraft.client.gui.AbstractParentElement
net.minecraft.client.gui.screen.Screen
meteordevelopment.meteorclient.gui.WidgetScreen
meteordevelopment.meteorclient.gui.WindowScreen
meteordevelopment.meteorclient.gui.screens.settings.LeftRightListSettingScreen<T>
All Implemented Interfaces:
net.minecraft.client.gui.Drawable, net.minecraft.client.gui.Element, net.minecraft.client.gui.navigation.Navigable, net.minecraft.client.gui.ParentElement
Direct Known Subclasses:
BlockListSettingScreen, EnchantmentListSettingScreen, ItemListSettingScreen, ModuleListSettingScreen, PacketBoolSettingScreen, ParticleTypeListSettingScreen, ScreenHandlerSettingScreen, SoundEventListSettingScreen, StatusEffectListSettingScreen, StorageBlockListSettingScreen

public abstract class LeftRightListSettingScreen<T> extends WindowScreen
  • Nested Class Summary

    Nested classes/interfaces inherited from class net.minecraft.client.gui.screen.Screen

    net.minecraft.client.gui.screen.Screen.SelectedElementNarrationData
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final Collection<T>
     
    protected final Setting<?>
     

    Fields inherited from class meteordevelopment.meteorclient.gui.WindowScreen

    window

    Fields inherited from class meteordevelopment.meteorclient.gui.WidgetScreen

    animProgress, enterAction, firstInit, locked, lockedAllowClose, parent, taskAfterRender, theme

    Fields inherited from class net.minecraft.client.gui.screen.Screen

    client, executor, height, OPTIONS_BACKGROUND_TEXTURE, textRenderer, title, width

    Fields inherited from interface net.minecraft.client.gui.Element

    MAX_DOUBLE_CLICK_INTERVAL
  • Constructor Summary

    Constructors
    Constructor
    Description
    LeftRightListSettingScreen(GuiTheme theme, String title, Setting<?> setting, Collection<T> collection, net.minecraft.registry.Registry<T> registry)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected T
     
    protected abstract String
    getValueName(T value)
     
    protected abstract WWidget
     
    protected boolean
    includeValue(T value)
     
    void
     
    protected boolean
    skipValue(T value)
     

    Methods inherited from class meteordevelopment.meteorclient.gui.WindowScreen

    add, clear

    Methods inherited from class net.minecraft.client.gui.screen.Screen

    addDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, applyNarratorModeChangeDelay, clearAndInit, clearChildren, filesDragged, findSelectedElementData, getMusic, getNarratedTitle, getNavigationFocus, getTitle, getTooltipFromItem, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hasUsageText, hide, children, init, initTabNavigation, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, narrateScreenIfNarrationEnabled, onDisplayed, remove, renderBackground, renderBackgroundTexture, renderWithTooltip, setInitialFocus, setTooltip, setTooltip, setTooltip, setTooltip, switchFocus, tick, updateNarrator, wrapScreenError

    Methods inherited from class net.minecraft.client.gui.AbstractParentElement

    getFocused, isDragging, setDragging, setFocused

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface net.minecraft.client.gui.navigation.Navigable

    getNavigationOrder

    Methods inherited from interface net.minecraft.client.gui.ParentElement

    focusOn, getFocusedPath, getNavigationPath, hoveredElement, isFocused, mouseDragged, setFocused
  • Field Details

    • setting

      protected final Setting<?> setting
    • collection

      protected final Collection<T> collection
  • Constructor Details

    • LeftRightListSettingScreen

      public LeftRightListSettingScreen(GuiTheme theme, String title, Setting<?> setting, Collection<T> collection, net.minecraft.registry.Registry<T> registry)
  • Method Details

    • initWidgets

      public void initWidgets()
      Specified by:
      initWidgets in class WidgetScreen
    • includeValue

      protected boolean includeValue(T value)
    • getValueWidget

      protected abstract WWidget getValueWidget(T value)
    • getValueName

      protected abstract String getValueName(T value)
    • skipValue

      protected boolean skipValue(T value)
    • getAdditionalValue

      protected T getAdditionalValue(T value)