public class WidgetPhantomSlot.GuiElementPhantomSlot extends GuiElementSimple implements IInteractionElement
gui, name| Constructor and Description |
|---|
GuiElementPhantomSlot(BuildCraftGui gui,
IGuiArea area) |
| Modifier and Type | Method and Description |
|---|---|
void |
addToolTips(java.util.List<ToolTip> tooltips)
Called to add tooltips to the list of existing tool tips.
|
void |
drawForeground(float partialTicks) |
net.minecraft.item.ItemStack |
getStack() |
void |
onMouseClicked(int button)
This is called EVEN IF the mouse is not inside your width and height!
|
protected boolean |
shouldDrawHighlight() |
getDebugInfo, getHeight, getWidth, getX, getYclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitonKeyPress, onMouseDragged, onMouseReleasedaddHelpElements, drawBackground, getDebugInfo, getThisAndChildrenAt, tickasImmutable, contains, contains, contains, create, create, create, expand, expand, expand, expand, getCenter, getCenterTop, getCenterX, getCenterY, getEnd, getEndX, getEndY, getHeight, getPosition, getWidth, offset, offset, offset, offset, offset, offsetToOrigin, rectangleToString, resize, resizegetX, getYpublic GuiElementPhantomSlot(BuildCraftGui gui, IGuiArea area)
public void drawForeground(float partialTicks)
drawForeground in interface IGuiElementprotected boolean shouldDrawHighlight()
@Nonnull public net.minecraft.item.ItemStack getStack()
public void onMouseClicked(int button)
IInteractionElementonMouseClicked in interface IInteractionElementpublic void addToolTips(java.util.List<ToolTip> tooltips)
IGuiElementThis is called EVEN IF the mouse is not inside your width and height!
addToolTips in interface IGuiElementaddToolTips in interface ITooltipElement