Class GuiTextureStackSlot

java.lang.Object
net.minecraft.client.gui.Gui
net.minecraft.client.gui.GuiElement
net.minecraft.client.gui.GuiSlot
net.tracystacktrace.stackem.gui.GuiTextureStackSlot
All Implemented Interfaces:
net.minecraft.common.util.ChatColors

public class GuiTextureStackSlot extends net.minecraft.client.gui.GuiSlot
  • Nested Class Summary

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

    net.minecraft.client.gui.Gui.NinesliceType
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected GuiTextureStack
     
    int
     

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

    amountScrolled, bottom, headerPadding, left, mouseX, mouseY, right, screenHeight, scrollbarOffset, slotHeight, slotOffset, slotWidth, top

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

    zLevel

    Fields inherited from interface net.minecraft.common.util.ChatColors

    AQUA, BLACK, BLUE, BOLD, COLOR_CHAR, COLOR_CHAR_STRING, DARK_AQUA, DARK_BLUE, DARK_GRAY, DARK_GREEN, DARK_PURPLE, DARK_RED, FORMAT_MARKER, GOLD, GRAY, GREEN, ITALIC, LIGHT_PURPLE, OBFUSCATED, PASTEL_YELLOW, RAINBOW, RED, RESET, STRIKETHROUGH, UNDERLINE, WHITE, YELLOW
  • Constructor Summary

    Constructors
    Constructor
    Description
    GuiTextureStackSlot(GuiTextureStack parentScreen, int width, int height)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    protected void
    drawSlot(net.minecraft.client.Minecraft minecraft, int index, float x, float y, int iconHeight, net.minecraft.client.renderer.world.Tessellator tessellator)
     
    protected void
    elementClicked(int index, boolean doubleClick)
     
    protected int
     
    protected int
     
    protected boolean
    isSelected(int index)
     

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

    actionPerformed, allowScrolling, bindAmountScrolled, clickedHeader, drawBackground, drawElement, drawListHeader, getSlotHeight, getSlotIndexFromScreenCoords, mouseDragged, mouseHoveredOver, mousePressed, mouseReleased, registerScrollButtons, renderDecorations, renderOverlayBackground, renderOverlayShadows, scrollBy, scrollToInbound, selectNextElementDown, selectNextElementUp, setDimensions, setHasListHeader, setShowSelectionBox

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

    drawCenteredString, drawGradientRect, drawHorizontalLine, drawOverlayBackground, drawRect, drawString, drawStringWithBg, drawTexturedModalRect, drawTexturedModalRect, drawTexturedModalRect, drawTexturedModalRect, drawTextureNineslice, drawTooltip, drawTooltip, drawTooltip, drawVerticalLine, renderIcon, renderIcon, updateScreen

    Methods inherited from class java.lang.Object

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

    • parentScreen

      protected GuiTextureStack parentScreen
    • selectedIndex

      public int selectedIndex
  • Constructor Details

    • GuiTextureStackSlot

      public GuiTextureStackSlot(GuiTextureStack parentScreen, int width, int height)
  • Method Details

    • elementClicked

      protected void elementClicked(int index, boolean doubleClick)
      Specified by:
      elementClicked in class net.minecraft.client.gui.GuiSlot
    • drawSlot

      protected void drawSlot(net.minecraft.client.Minecraft minecraft, int index, float x, float y, int iconHeight, net.minecraft.client.renderer.world.Tessellator tessellator)
      Specified by:
      drawSlot in class net.minecraft.client.gui.GuiSlot
    • allowTransparency

      public boolean allowTransparency()
      Overrides:
      allowTransparency in class net.minecraft.client.gui.GuiSlot
    • getSize

      protected int getSize()
      Specified by:
      getSize in class net.minecraft.client.gui.GuiSlot
    • isSelected

      protected boolean isSelected(int index)
      Specified by:
      isSelected in class net.minecraft.client.gui.GuiSlot
    • getContentHeight

      protected int getContentHeight()
      Overrides:
      getContentHeight in class net.minecraft.client.gui.GuiSlot