public abstract class GuiContainer extends Gui
| Modifier and Type | Class and Description |
|---|---|
static class |
GuiContainer.ShiftClickBehavior |
| Modifier and Type | Field and Description |
|---|---|
ItemInstance |
holdingInst |
AbstractEntityPlayer |
player |
java.util.List<GuiContainer.ShiftClickBehavior> |
shiftClickBehaviors |
components, GRADIENT_COLOR, hasUnspecifiedBounds, height, HOVER_INFO_BACKGROUND, parent, width, x, y| Constructor and Description |
|---|
GuiContainer(AbstractEntityPlayer player,
int sizeX,
int sizeY) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canCloseWithInvKey() |
boolean |
doesPauseGame() |
void |
init(IGameInstance game) |
void |
onClosed(IGameInstance game) |
boolean |
onMouseAction(IGameInstance game,
int button,
float x,
float y) |
void |
render(IGameInstance game,
IAssetManager manager,
IGraphics g) |
getComponents, getHeight, getName, getWidth, getX, getY, hasGradient, isMouseOver, isMouseOverComponent, isMouseOverPrioritized, onKeyboardAction, onOpened, renderOverlay, 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, IGraphics g)
public boolean doesPauseGame()
doesPauseGame in class Gui