Class BoxListPCScreen

java.lang.Object
net.minecraft.client.gui.components.events.AbstractContainerEventHandler
net.minecraft.client.gui.screens.Screen
com.pixelmonmod.pixelmon.client.gui.pc.BoxListScreen
com.pixelmonmod.pixelmon.client.gui.pc.BoxListPCScreen
All Implemented Interfaces:
HideMouse, PCToolbarHost, 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 BoxListPCScreen extends BoxListScreen implements PCToolbarHost
  • Field Details

  • Constructor Details

    • BoxListPCScreen

      public BoxListPCScreen(PCScreen pcScreen)
  • Method Details

    • init

      public void init()
      Overrides:
      init in class BoxListScreen
    • initToolbar

      public void initToolbar()
    • isPauseScreen

      public boolean isPauseScreen()
      Overrides:
      isPauseScreen in class net.minecraft.client.gui.screens.Screen
    • previousPage

      protected void previousPage(net.minecraft.client.gui.components.Button btn)
    • nextPage

      protected void nextPage(net.minecraft.client.gui.components.Button btn)
    • toggleBoxNameDisplay

      protected void toggleBoxNameDisplay(net.minecraft.client.gui.components.Button btn)
    • keyPressed

      public boolean keyPressed(int keyCode, int scanCode, int modifiers)
      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 BoxListScreen
    • removed

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

      public void updateWallpaper(net.minecraft.resources.ResourceLocation wp)
    • 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 net.minecraft.client.gui.screens.Screen
    • drawWindowBackground

      public static void drawWindowBackground(net.minecraft.client.gui.GuiGraphics graphics, int x, int y, int w, int h)
    • getPCColor

      public static Color getPCColor(net.minecraft.resources.ResourceLocation rl)
    • mouseClicked

      public boolean mouseClicked(double mouseX, double mouseY, int mouseButton)
      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 BoxListScreen
    • getToolbarAnchor

      public Point getToolbarAnchor()
      Specified by:
      getToolbarAnchor in interface PCToolbarHost
    • toggleBoxView

      public void toggleBoxView()
    • nextPCMode

      public void nextPCMode()
    • toggleSearch

      public void toggleSearch()
    • clearFilter

      public void clearFilter()
    • onToolbarClicked

      public void onToolbarClicked(net.minecraft.client.gui.components.Button btn, PCToolbar.ToolbarButtons type)
      Specified by:
      onToolbarClicked in interface PCToolbarHost