Package net.tracystacktrace.stackem.gui
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
FieldsFields inherited from class net.minecraft.client.gui.GuiSlot
amountScrolled, bottom, headerPadding, left, mouseX, mouseY, right, screenHeight, scrollbarOffset, slotHeight, slotOffset, slotWidth, topFields inherited from class net.minecraft.client.gui.Gui
zLevelFields 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 -
Method Summary
Modifier and TypeMethodDescriptionbooleanprotected voiddrawSlot(net.minecraft.client.Minecraft minecraft, int index, float x, float y, int iconHeight, net.minecraft.client.renderer.world.Tessellator tessellator) protected voidelementClicked(int index, boolean doubleClick) protected intprotected intgetSize()protected booleanisSelected(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, setShowSelectionBoxMethods 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
-
Field Details
-
parentScreen
-
selectedIndex
public int selectedIndex
-
-
Constructor Details
-
GuiTextureStackSlot
-
-
Method Details
-
elementClicked
protected void elementClicked(int index, boolean doubleClick) - Specified by:
elementClickedin classnet.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:
drawSlotin classnet.minecraft.client.gui.GuiSlot
-
allowTransparency
public boolean allowTransparency()- Overrides:
allowTransparencyin classnet.minecraft.client.gui.GuiSlot
-
getSize
protected int getSize()- Specified by:
getSizein classnet.minecraft.client.gui.GuiSlot
-
isSelected
protected boolean isSelected(int index) - Specified by:
isSelectedin classnet.minecraft.client.gui.GuiSlot
-
getContentHeight
protected int getContentHeight()- Overrides:
getContentHeightin classnet.minecraft.client.gui.GuiSlot
-