public class GuiScreenHorseInventory extends GuiContainer
| Modifier and Type | Field and Description |
|---|---|
private EntityHorse |
horseEntity
The EntityHorse whose inventory is currently being accessed.
|
private static ResourceLocation |
horseGuiTextures |
private IInventory |
horseInventory
The horse inventory bound to this GUI.
|
private float |
mousePosx
The mouse x-position recorded during the last rendered frame.
|
private float |
mousePosY
The mouse y-position recorded during the last renderered frame.
|
private IInventory |
playerInventory
The player inventory bound to this GUI.
|
dragSplitting, dragSplittingSlots, guiLeft, guiTop, inventoryBackground, inventorySlots, xSize, ySizeallowUserInput, buttonList, fontRendererObj, height, itemRender, labelList, mc, widthicons, optionsBackground, statIcons, zLevel| Constructor and Description |
|---|
GuiScreenHorseInventory(IInventory playerInv,
IInventory horseInv,
EntityHorse horse) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
drawGuiContainerBackgroundLayer(float partialTicks,
int mouseX,
int mouseY)
Args : renderPartialTicks, mouseX, mouseY
|
protected void |
drawGuiContainerForegroundLayer(int mouseX,
int mouseY)
Draw the foreground layer for the GuiContainer (everything in front of the items).
|
void |
drawScreen(int mouseX,
int mouseY,
float partialTicks)
Draws the screen and all the components in it.
|
checkHotbarKeys, doesGuiPauseGame, handleMouseClick, initGui, isPointInRegion, keyTyped, mouseClicked, mouseClickMove, mouseReleased, onGuiClosed, updateScreenactionPerformed, confirmClicked, drawBackground, drawCreativeTabHoveringText, drawDefaultBackground, drawHoveringText, drawWorldBackground, getClipboardString, handleComponentClick, handleComponentHover, handleInput, handleKeyboardInput, handleMouseInput, isAltKeyDown, isCtrlKeyDown, isKeyComboCtrlA, isKeyComboCtrlC, isKeyComboCtrlV, isKeyComboCtrlX, isShiftKeyDown, onResize, renderToolTip, sendChatMessage, sendChatMessage, setClipboardString, setText, setWorldAndResolutiondrawCenteredString, drawGradientRect, drawHorizontalLine, drawModalRectWithCustomSizedTexture, drawRect, drawScaledCustomSizeModalRect, drawString, drawTexturedModalRect, drawTexturedModalRect, drawTexturedModalRect, drawVerticalLineprivate static final ResourceLocation horseGuiTextures
private IInventory playerInventory
private IInventory horseInventory
private EntityHorse horseEntity
private float mousePosx
private float mousePosY
public GuiScreenHorseInventory(IInventory playerInv, IInventory horseInv, EntityHorse horse)
protected void drawGuiContainerForegroundLayer(int mouseX,
int mouseY)
drawGuiContainerForegroundLayer in class GuiContainerprotected void drawGuiContainerBackgroundLayer(float partialTicks,
int mouseX,
int mouseY)
drawGuiContainerBackgroundLayer in class GuiContainerpublic void drawScreen(int mouseX,
int mouseY,
float partialTicks)
drawScreen in class GuiContainer