Class AdvancedPCSearchScreen

java.lang.Object
net.minecraft.client.gui.components.events.AbstractContainerEventHandler
net.minecraft.client.gui.screens.Screen
com.pixelmonmod.pixelmon.client.gui.widgets.DropDownScreen
com.pixelmonmod.pixelmon.client.gui.pc.AdvancedPCSearchScreen
All Implemented Interfaces:
net.minecraft.client.gui.components.events.ContainerEventHandler, net.minecraft.client.gui.components.events.GuiEventListener, net.minecraft.client.gui.components.Renderable, net.minecraft.client.gui.components.TabOrderedElement

public class AdvancedPCSearchScreen extends DropDownScreen
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    protected static class 
     
    protected static class 
     

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

    net.minecraft.client.gui.screens.Screen.NarratableSearchResult
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
     

    Fields inherited from class com.pixelmonmod.pixelmon.client.gui.widgets.DropDownScreen

    dropDownManager, guiLeft, guiTop, xSize, ySize

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

    BACKGROUND_LOCATION, children, font, height, minecraft, renderables, screenExecutor, title, width

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

    DOUBLE_CLICK_THRESHOLD_MS
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    Save values of input fields between screen resizes
    void
     
    protected void
    confirmFilter(net.minecraft.client.gui.components.Button button)
     
    protected void
    confirmSearch(net.minecraft.client.gui.components.Button button)
     
    protected void
    drawBackgroundUnderMenus(net.minecraft.client.gui.GuiGraphics graphics, float partialTicks, int mouseX, int mouseY)
    Draws the screen background under the drop-down menus.
     
     
    boolean
     
    void
     
    protected void
    initAbility(int xPos, int yPos)
     
    protected void
    initCompatibleMove(int xPos, int yPos)
     
    protected void
    initEggGroup(int xPos, int yPos)
     
    protected void
    initGender(int xPos, int yPos)
     
    protected void
    initGeneration(int xPos, int yPos)
     
    protected void
    initGrowth(int xPos, int yPos)
     
    protected void
    initHeldItem(int xPos, int yPos)
     
    protected void
    initKnownMove(int xPos, int yPos)
     
    protected void
    initNature(int xPos, int yPos)
     
    protected void
    initSpecies(int xPos, int yPos)
     
    protected void
    initTypes(int xPos, int yPos)
     
    boolean
    keyPressed(int p_231046_1_, int p_231046_2_, int p_231046_3_)
     
    void
     
    void
    render(net.minecraft.client.gui.GuiGraphics graphics, int mouseX, int mouseY, float partialTicks)
     

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

    added, addEventWidget, addRenderableOnly, addRenderableWidget, addWidget, afterKeyboardAction, afterMouseAction, afterMouseMove, changeFocus, children, clearFocus, clearWidgets, confirmLink, createArrowEvent, createTabEvent, findNarratableWidget, getBackgroundMusic, getMinecraft, getNarrationMessage, getRectangle, getTitle, getTooltipFromItem, getUsageNarration, handleComponentClicked, handleDelayedNarration, hasAltDown, hasControlDown, hasShiftDown, hideWidgets, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, narrationEnabled, onClose, onFilesDrop, openLink, rebuildWidgets, removeWidget, renderBackground, renderDirtBackground, renderTransparentBackground, renderWithTooltip, repositionElements, resize, runNarration, scheduleNarration, setInitialFocus, setTooltipForNextRenderPass, setTooltipForNextRenderPass, setTooltipForNextRenderPass, setTooltipForNextRenderPass, shouldCloseOnEsc, shouldNarrateNavigation, shouldRunNarration, suppressNarration, tick, triggerImmediateNarration, updateNarratedWidget, updateNarrationState, wrapScreenError

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

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

    charTyped, getChildAt, getCurrentFocusPath, isFocused, keyReleased, magicalSpecialHackyFocus, mouseReleased, nextFocusPath, setFocused

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

    mouseMoved

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

    getTabOrderGroup
  • Field Details

  • Constructor Details

    • AdvancedPCSearchScreen

      public AdvancedPCSearchScreen(PCScreen pcScreen)
  • Method Details

    • init

      public void init()
      Overrides:
      init in class DropDownScreen
    • render

      public void render(net.minecraft.client.gui.GuiGraphics graphics, int mouseX, int mouseY, float partialTicks)
      Specified by:
      render in interface net.minecraft.client.gui.components.Renderable
      Overrides:
      render in class DropDownScreen
    • removed

      public void removed()
      Overrides:
      removed in class net.minecraft.client.gui.screens.Screen
    • cacheValues

      protected void cacheValues()
      Save values of input fields between screen resizes
    • initSpecies

      protected void initSpecies(int xPos, int yPos)
    • initTypes

      protected void initTypes(int xPos, int yPos)
    • initKnownMove

      protected void initKnownMove(int xPos, int yPos)
    • initCompatibleMove

      protected void initCompatibleMove(int xPos, int yPos)
    • initGender

      protected void initGender(int xPos, int yPos)
    • initAbility

      protected void initAbility(int xPos, int yPos)
    • initNature

      protected void initNature(int xPos, int yPos)
    • initGrowth

      protected void initGrowth(int xPos, int yPos)
    • initHeldItem

      protected void initHeldItem(int xPos, int yPos)
    • initEggGroup

      protected void initEggGroup(int xPos, int yPos)
    • initGeneration

      protected void initGeneration(int xPos, int yPos)
    • keyPressed

      public boolean keyPressed(int p_231046_1_, int p_231046_2_, int p_231046_3_)
      Specified by:
      keyPressed in interface net.minecraft.client.gui.components.events.ContainerEventHandler
      Specified by:
      keyPressed in interface net.minecraft.client.gui.components.events.GuiEventListener
      Overrides:
      keyPressed in class net.minecraft.client.gui.screens.Screen
    • drawBackgroundUnderMenus

      protected void drawBackgroundUnderMenus(net.minecraft.client.gui.GuiGraphics graphics, float partialTicks, int mouseX, int mouseY)
      Description copied from class: DropDownScreen
      Draws the screen background under the drop-down menus. Disables mouse hovering if over a menu.
      Specified by:
      drawBackgroundUnderMenus in class DropDownScreen
      partialTicks - The current number of partial ticks.
      mouseX - The x coordinate of the mouse.
      mouseY - The y coordinate of the mouse.
    • clear

      public void clear()
    • confirmSearch

      protected void confirmSearch(net.minecraft.client.gui.components.Button button)
    • confirmFilter

      protected void confirmFilter(net.minecraft.client.gui.components.Button button)
    • hasValues

      public boolean hasValues()
    • getQuerys

      public String[] getQuerys()
    • getStringQuery

      public String getStringQuery()