public abstract class GuiContainer extends Gui
| Modifier and Type | Class | Description |
|---|---|---|
static class |
GuiContainer.ShiftClickBehavior |
| Modifier and Type | Field | Description |
|---|---|---|
ItemInstance |
holdingInst |
|
AbstractEntityPlayer |
player |
|
java.util.List<GuiContainer.ShiftClickBehavior> |
shiftClickBehaviors |
components, GRADIENT_COLOR, hasUnspecifiedBounds, height, HOVER_INFO_BACKGROUND, parent, width, x, y| Constructor | Description |
|---|---|
GuiContainer(AbstractEntityPlayer player,
int sizeX,
int sizeY) |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
canCloseWithInvKey() |
|
boolean |
doesPauseGame() |
|
int |
getSlotOffsetX() |
|
int |
getSlotOffsetY() |
|
void |
init(IGameInstance game) |
|
void |
onClosed(IGameInstance game) |
|
boolean |
onMouseAction(IGameInstance game,
int button,
float x,
float y) |
|
void |
render(IGameInstance game,
IAssetManager manager,
IRenderer g) |
getComponents, getHeight, getName, getWidth, getX, getY, hasGradient, isMouseOver, isMouseOverComponent, isMouseOverPrioritized, onCharInput, onKeyPressed, onOpened, renderOverlay, shouldDoFingerCursor, sortComponents, toString, tryEscape, update, updateDimensionspublic final java.util.List<GuiContainer.ShiftClickBehavior> shiftClickBehaviors
public final AbstractEntityPlayer player
public ItemInstance holdingInst
public GuiContainer(AbstractEntityPlayer player, int sizeX, int sizeY)
public void onClosed(IGameInstance game)
public boolean onMouseAction(IGameInstance game, int button, float x, float y)
onMouseAction in class Guipublic boolean canCloseWithInvKey()
canCloseWithInvKey in class Guipublic void init(IGameInstance game)
public void render(IGameInstance game, IAssetManager manager, IRenderer g)
public boolean doesPauseGame()
doesPauseGame in class Guipublic int getSlotOffsetX()
public int getSlotOffsetY()