public class WidgetPhantomSlot.GuiElementPhantomSlot<G extends GuiBC8<?>> extends GuiElementSimple<G> implements IInteractionElement
gui, name
Constructor and Description |
---|
GuiElementPhantomSlot(G 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, getY
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
onMouseDragged, onMouseReleased
addHelpElements, drawBackground, getDebugInfo, getThisAndChildrenAt, tick
asImmutable, 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, resize
getX, getY
public void drawForeground(float partialTicks)
drawForeground
in interface IGuiElement
protected boolean shouldDrawHighlight()
@Nonnull public net.minecraft.item.ItemStack getStack()
public void onMouseClicked(int button)
IInteractionElement
onMouseClicked
in interface IInteractionElement
public void addToolTips(java.util.List<ToolTip> tooltips)
IGuiElement
This is called EVEN IF the mouse is not inside your width and height!
addToolTips
in interface IGuiElement
addToolTips
in interface ITooltipElement