public class GuiContainerCreative extends InventoryEffectRenderer
Modifier and Type | Class and Description |
---|---|
static class |
GuiContainerCreative.ContainerCreative |
hasActivePotionEffects
dragSplitting, dragSplittingSlots, guiLeft, guiTop, INVENTORY_BACKGROUND, inventorySlots, xSize, ySize
allowUserInput, buttonList, fontRenderer, height, itemRender, keyHandled, labelList, mc, mouseHandled, selectedButton, width
ICONS, OPTIONS_BACKGROUND, STAT_ICONS, zLevel
Constructor and Description |
---|
GuiContainerCreative(EntityPlayer player) |
Modifier and Type | Method and Description |
---|---|
protected void |
actionPerformed(GuiButton button) |
protected void |
drawGuiContainerBackgroundLayer(float partialTicks,
int mouseX,
int mouseY) |
protected void |
drawGuiContainerForegroundLayer(int mouseX,
int mouseY) |
void |
drawScreen(int mouseX,
int mouseY,
float partialTicks) |
protected void |
drawTab(CreativeTabs tab) |
int |
getSelectedTabIndex() |
static void |
handleHotbarSnapshots(Minecraft p_192044_0_,
int p_192044_1_,
boolean p_192044_2_,
boolean p_192044_3_) |
protected void |
handleMouseClick(Slot slotIn,
int slotId,
int mouseButton,
ClickType type) |
void |
handleMouseInput() |
void |
initGui() |
protected boolean |
isMouseOverTab(CreativeTabs tab,
int mouseX,
int mouseY) |
protected void |
keyTyped(char typedChar,
int keyCode) |
protected void |
mouseClicked(int mouseX,
int mouseY,
int mouseButton) |
protected void |
mouseReleased(int mouseX,
int mouseY,
int state) |
void |
onGuiClosed() |
protected boolean |
renderCreativeInventoryHoveringText(CreativeTabs tab,
int mouseX,
int mouseY) |
protected void |
renderToolTip(ItemStack stack,
int x,
int y) |
protected void |
updateActivePotionEffects() |
void |
updateScreen() |
checkHotbarKeys, doesGuiPauseGame, getGuiLeft, getGuiTop, getSlotUnderMouse, getXSize, getYSize, hasClickedOutside, isPointInRegion, mouseClickMove, renderHoveredToolTip
addButton, confirmClicked, drawBackground, drawDefaultBackground, drawHoveringText, drawHoveringText, drawHoveringText, drawWorldBackground, getClipboardString, getItemToolTip, handleComponentClick, handleComponentHover, handleInput, handleKeyboardInput, isAltKeyDown, isCtrlKeyDown, isFocused, isKeyComboCtrlA, isKeyComboCtrlC, isKeyComboCtrlV, isKeyComboCtrlX, isShiftKeyDown, onResize, sendChatMessage, sendChatMessage, setClipboardString, setFocused, setGuiSize, setText, setWorldAndResolution
drawCenteredString, drawGradientRect, drawHorizontalLine, drawModalRectWithCustomSizedTexture, drawRect, drawScaledCustomSizeModalRect, drawString, drawTexturedModalRect, drawTexturedModalRect, drawTexturedModalRect, drawVerticalLine
public GuiContainerCreative(EntityPlayer player)
public void updateScreen()
updateScreen
in class GuiContainer
protected void handleMouseClick(@Nullable Slot slotIn, int slotId, int mouseButton, ClickType type)
handleMouseClick
in class GuiContainer
protected void updateActivePotionEffects()
updateActivePotionEffects
in class InventoryEffectRenderer
public void initGui()
initGui
in class InventoryEffectRenderer
public void onGuiClosed()
onGuiClosed
in class GuiContainer
protected void keyTyped(char typedChar, int keyCode) throws java.io.IOException
keyTyped
in class GuiContainer
java.io.IOException
protected void drawGuiContainerForegroundLayer(int mouseX, int mouseY)
drawGuiContainerForegroundLayer
in class GuiContainer
protected void mouseClicked(int mouseX, int mouseY, int mouseButton) throws java.io.IOException
mouseClicked
in class GuiContainer
java.io.IOException
protected void mouseReleased(int mouseX, int mouseY, int state)
mouseReleased
in class GuiContainer
public void handleMouseInput() throws java.io.IOException
handleMouseInput
in class GuiScreen
java.io.IOException
public void drawScreen(int mouseX, int mouseY, float partialTicks)
drawScreen
in class InventoryEffectRenderer
protected void renderToolTip(ItemStack stack, int x, int y)
renderToolTip
in class GuiScreen
protected void drawGuiContainerBackgroundLayer(float partialTicks, int mouseX, int mouseY)
drawGuiContainerBackgroundLayer
in class GuiContainer
protected boolean isMouseOverTab(CreativeTabs tab, int mouseX, int mouseY)
protected boolean renderCreativeInventoryHoveringText(CreativeTabs tab, int mouseX, int mouseY)
protected void drawTab(CreativeTabs tab)
protected void actionPerformed(GuiButton button) throws java.io.IOException
actionPerformed
in class GuiScreen
java.io.IOException
public int getSelectedTabIndex()
public static void handleHotbarSnapshots(Minecraft p_192044_0_, int p_192044_1_, boolean p_192044_2_, boolean p_192044_3_)