Class ConfigScreenList

java.lang.Object
net.minecraft.client.gui.GuiComponent
net.minecraft.client.gui.components.events.AbstractContainerEventHandler
net.minecraft.client.gui.components.AbstractSelectionList<E>
net.minecraft.client.gui.components.ObjectSelectionList<ConfigScreenList.Entry>
com.simibubi.create.foundation.config.ui.ConfigScreenList
All Implemented Interfaces:
TickableGuiEventListener, net.minecraft.client.gui.components.events.ContainerEventHandler, net.minecraft.client.gui.components.events.GuiEventListener, net.minecraft.client.gui.components.Widget, net.minecraft.client.gui.narration.NarratableEntry, net.minecraft.client.gui.narration.NarrationSupplier

public class ConfigScreenList extends net.minecraft.client.gui.components.ObjectSelectionList<ConfigScreenList.Entry> implements TickableGuiEventListener
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     
    static class 
     

    Nested classes/interfaces inherited from class net.minecraft.client.gui.components.AbstractSelectionList

    net.minecraft.client.gui.components.AbstractSelectionList.SelectionDirection

    Nested classes/interfaces inherited from interface net.minecraft.client.gui.narration.NarratableEntry

    net.minecraft.client.gui.narration.NarratableEntry.NarrationPriority
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static net.minecraft.client.gui.components.EditBox
     

    Fields inherited from class net.minecraft.client.gui.components.AbstractSelectionList

    centerListVertically, headerHeight, height, itemHeight, minecraft, width, x0, x1, y0, y1

    Fields inherited from class net.minecraft.client.gui.GuiComponent

    BACKGROUND_LOCATION, GUI_ICONS_LOCATION, STATS_ICON_LOCATION

    Fields inherited from interface net.minecraft.client.gui.components.events.GuiEventListener

    DOUBLE_CLICK_THRESHOLD_MS
  • Constructor Summary

    Constructors
    Constructor
    Description
    ConfigScreenList(net.minecraft.client.Minecraft client, int width, int height, int top, int bottom, int elementHeight)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    bumpCog(float force)
     
    int
     
    protected int
     
    boolean
    mouseClicked(double x, double y, int button)
     
    void
    render(com.mojang.blaze3d.vertex.PoseStack ms, int mouseX, int mouseY, float partialTicks)
     
    protected void
    renderList(com.mojang.blaze3d.vertex.PoseStack p_238478_1_, int p_238478_2_, int p_238478_3_, int p_238478_4_, int p_238478_5_, float p_238478_6_)
     
    boolean
    search(String query)
     
    void
     

    Methods inherited from class net.minecraft.client.gui.components.ObjectSelectionList

    changeFocus, updateNarration

    Methods inherited from class net.minecraft.client.gui.components.AbstractSelectionList

    addEntry, centerScrollOn, children, clearEntries, clickedHeader, ensureVisible, getBottom, getEntry, getEntryAtPosition, getFocused, getHeight, getHovered, getItemCount, getLeft, getMaxPosition, getMaxScroll, getRight, getRowLeft, getRowRight, getRowTop, getScrollAmount, getScrollBottom, getSelected, getTop, getWidth, isFocused, isMouseOver, isSelectedItem, keyPressed, mouseDragged, mouseReleased, mouseScrolled, moveSelection, moveSelection, narrateListElementPosition, narrationPriority, refreshSelection, remove, removeEntry, renderBackground, renderDecorations, renderHeader, replaceEntries, setLeftPos, setRenderBackground, setRenderHeader, setRenderSelection, setRenderTopAndBottom, setScrollAmount, setSelected, updateScrollingState, updateSize

    Methods inherited from class net.minecraft.client.gui.components.events.AbstractContainerEventHandler

    isDragging, setDragging, setFocused

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

    blit, blit, blit, blit, blit, blitOutlineBlack, drawCenteredString, drawCenteredString, drawCenteredString, drawString, drawString, drawString, fill, fillGradient, fillGradient, fillGradient, getBlitOffset, hLine, setBlitOffset, vLine

    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.components.events.ContainerEventHandler

    charTyped, getChildAt, keyReleased, magicalSpecialHackyFocus, setInitialFocus

    Methods inherited from interface net.minecraft.client.gui.components.events.GuiEventListener

    isMouseOver, mouseMoved

    Methods inherited from interface net.minecraft.client.gui.narration.NarratableEntry

    isActive
  • Field Details

    • currentText

      public static net.minecraft.client.gui.components.EditBox currentText
  • Constructor Details

    • ConfigScreenList

      public ConfigScreenList(net.minecraft.client.Minecraft client, int width, int height, int top, int bottom, int elementHeight)
  • Method Details

    • render

      public void render(com.mojang.blaze3d.vertex.PoseStack ms, int mouseX, int mouseY, float partialTicks)
      Specified by:
      render in interface net.minecraft.client.gui.components.Widget
      Overrides:
      render in class net.minecraft.client.gui.components.AbstractSelectionList<ConfigScreenList.Entry>
    • renderList

      protected void renderList(com.mojang.blaze3d.vertex.PoseStack p_238478_1_, int p_238478_2_, int p_238478_3_, int p_238478_4_, int p_238478_5_, float p_238478_6_)
      Overrides:
      renderList in class net.minecraft.client.gui.components.AbstractSelectionList<ConfigScreenList.Entry>
    • mouseClicked

      public boolean mouseClicked(double x, double y, int button)
      Specified by:
      mouseClicked in interface net.minecraft.client.gui.components.events.ContainerEventHandler
      Specified by:
      mouseClicked in interface net.minecraft.client.gui.components.events.GuiEventListener
      Overrides:
      mouseClicked in class net.minecraft.client.gui.components.AbstractSelectionList<ConfigScreenList.Entry>
    • getRowWidth

      public int getRowWidth()
      Overrides:
      getRowWidth in class net.minecraft.client.gui.components.AbstractSelectionList<ConfigScreenList.Entry>
    • getScrollbarPosition

      protected int getScrollbarPosition()
      Overrides:
      getScrollbarPosition in class net.minecraft.client.gui.components.AbstractSelectionList<ConfigScreenList.Entry>
    • tick

      public void tick()
      Specified by:
      tick in interface TickableGuiEventListener
    • search

      public boolean search(String query)
    • bumpCog

      public void bumpCog(float force)