Class AbstractConfigScreen

java.lang.Object
net.minecraft.client.gui.AbstractParentElement
net.minecraft.client.gui.screen.Screen
net.rodofire.easierworldcreator.client.hud.screen.BackgroundScreen
net.rodofire.easierworldcreator.config.client.AbstractConfigScreen
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:
DefaultConfigScreen

public abstract class AbstractConfigScreen extends BackgroundScreen
  • 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 org.spongepowered.include.com.google.common.collect.BiMap<String,Integer>
     
    protected final String
     
    protected int
     

    Fields inherited from class net.rodofire.easierworldcreator.client.hud.screen.BackgroundScreen

    TEXTURE

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

    client, executor, FOOTER_SEPARATOR_TEXTURE, HEADER_SEPARATOR_TEXTURE, height, INWORLD_FOOTER_SEPARATOR_TEXTURE, INWORLD_HEADER_SEPARATOR_TEXTURE, MENU_BACKGROUND_TEXTURE, narratorToggleButton, PANORAMA_RENDERER, ROTATING_PANORAMA_RENDERER, textRenderer, title, width

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

    MAX_DOUBLE_CLICK_INTERVAL
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
     
    AbstractConfigScreen(net.minecraft.util.Identifier background, int backgroundWidth, int backgroundHeight, int backgroundShaderColor, ModClientConfig config, String modId)
     
     
    AbstractConfigScreen(net.minecraft.util.Identifier background, int backgroundWidth, int backgroundHeight, ModClientConfig config, String modId)
     
    protected
     
  • Method Summary

    Modifier and Type
    Method
    Description
    addInfoButton(int startX, int yOffset, T obj)
     
    addResetButton(int startX, int yOffset, T obj)
     
    protected boolean
     
    void
    cycleEnum(EnumConfigObject configObject, net.minecraft.client.gui.widget.ButtonWidget button)
     
     
    protected boolean
     
    protected void
     
    protected abstract void
    init(ConfigCategory category)
     
    protected void
     
    protected boolean
     
    protected void
    toggleBoolean(BooleanConfigObject configObject, net.minecraft.client.gui.widget.ButtonWidget button)
     
    protected void
     

    Methods inherited from class net.rodofire.easierworldcreator.client.hud.screen.BackgroundScreen

    render, renderBackground, renderBackgroundTexture, renderDarkRectangle, renderOverBackground

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

    addCrashReportSection, addDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, applyBlur, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, blur, children, clearAndInit, clearChildren, clearTooltip, close, findSelectedElementData, getMusic, getNarratedTitle, getNavigationFocus, getTextRenderer, getTitle, getTooltipFromItem, getUsageNarrationText, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hasUsageText, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, keyPressed, narrateScreenIfNarrationEnabled, onDisplayed, onFilesDropped, refreshNarrator, refreshWidgetPositions, remove, removed, renderBackgroundTexture, renderDarkening, renderDarkening, renderInGameBackground, renderPanoramaBackground, renderWithTooltip, resize, setInitialFocus, setInitialFocus, setTooltip, setTooltip, setTooltip, setTooltip, shouldCloseOnEsc, shouldHideStatusEffectHud, shouldPause, switchFocus, tick, updateNarrator

    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.Element

    getBorder, mouseMoved

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

    getNavigationOrder

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

    charTyped, getFocusedPath, getNavigationPath, hoveredElement, isFocused, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setFocused
  • Field Details

    • selected

      protected int selected
    • modId

      protected final String modId
    • indexes

      protected final org.spongepowered.include.com.google.common.collect.BiMap<String,Integer> indexes
  • Constructor Details

    • AbstractConfigScreen

      protected AbstractConfigScreen(ModClientConfig config, String modId)
    • AbstractConfigScreen

      public AbstractConfigScreen(net.minecraft.util.Identifier background, int backgroundWidth, int backgroundHeight, ModClientConfig config, String modId)
    • AbstractConfigScreen

      public AbstractConfigScreen(net.minecraft.util.Identifier background, int backgroundWidth, int backgroundHeight, int backgroundShaderColor, ModClientConfig config, String modId)
  • Method Details