java.lang.Object
org.cyclops.evilcraft.core.client.gui.container.WidgetTab
Direct Known Subclasses:
WidgetUpgradeTab

public abstract class WidgetTab extends Object
Simple tab gui element.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected net.minecraft.client.gui.screens.inventory.AbstractContainerScreen
     
    protected int
     
    protected int
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    WidgetTab(int width, int height, int posX, int posY, int u, int v, net.minecraft.client.gui.screens.inventory.AbstractContainerScreen gui)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    drawBackground(net.minecraft.client.gui.GuiGraphics guiGraphics, int x, int y)
    Draw the tab.
    protected abstract net.minecraft.resources.ResourceLocation
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • posX

      protected int posX
    • posY

      protected int posY
    • gui

      protected net.minecraft.client.gui.screens.inventory.AbstractContainerScreen gui
  • Constructor Details

    • WidgetTab

      public WidgetTab(int width, int height, int posX, int posY, int u, int v, net.minecraft.client.gui.screens.inventory.AbstractContainerScreen gui)
  • Method Details

    • getResourceLocation

      protected abstract net.minecraft.resources.ResourceLocation getResourceLocation()
    • drawBackground

      public void drawBackground(net.minecraft.client.gui.GuiGraphics guiGraphics, int x, int y)
      Draw the tab.
      Parameters:
      guiGraphics - The matrix stack.
      x - Origin X.
      y - Origin Y.