public class GuiContainerCreative extends InventoryEffectRenderer
| Modifier and Type | Class and Description |
|---|---|
static class |
GuiContainerCreative.ContainerCreative |
hasActivePotionEffectsdragSplitting, dragSplittingSlots, guiLeft, guiTop, INVENTORY_BACKGROUND, inventorySlots, xSize, ySizeallowUserInput, buttonList, fontRenderer, height, itemRender, keyHandled, labelList, mc, mouseHandled, selectedButton, widthICONS, 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, renderHoveredToolTipaddButton, 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, setWorldAndResolutiondrawCenteredString, drawGradientRect, drawHorizontalLine, drawModalRectWithCustomSizedTexture, drawRect, drawScaledCustomSizeModalRect, drawString, drawTexturedModalRect, drawTexturedModalRect, drawTexturedModalRect, drawVerticalLinepublic GuiContainerCreative(EntityPlayer player)
public void updateScreen()
updateScreen in class GuiContainerprotected void handleMouseClick(@Nullable
Slot slotIn,
int slotId,
int mouseButton,
ClickType type)
handleMouseClick in class GuiContainerprotected void updateActivePotionEffects()
updateActivePotionEffects in class InventoryEffectRendererpublic void initGui()
initGui in class InventoryEffectRendererpublic void onGuiClosed()
onGuiClosed in class GuiContainerprotected void keyTyped(char typedChar,
int keyCode)
throws java.io.IOException
keyTyped in class GuiContainerjava.io.IOExceptionprotected void drawGuiContainerForegroundLayer(int mouseX,
int mouseY)
drawGuiContainerForegroundLayer in class GuiContainerprotected void mouseClicked(int mouseX,
int mouseY,
int mouseButton)
throws java.io.IOException
mouseClicked in class GuiContainerjava.io.IOExceptionprotected void mouseReleased(int mouseX,
int mouseY,
int state)
mouseReleased in class GuiContainerpublic void handleMouseInput()
throws java.io.IOException
handleMouseInput in class GuiScreenjava.io.IOExceptionpublic void drawScreen(int mouseX,
int mouseY,
float partialTicks)
drawScreen in class InventoryEffectRendererprotected void renderToolTip(ItemStack stack, int x, int y)
renderToolTip in class GuiScreenprotected void drawGuiContainerBackgroundLayer(float partialTicks,
int mouseX,
int mouseY)
drawGuiContainerBackgroundLayer in class GuiContainerprotected 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 GuiScreenjava.io.IOExceptionpublic int getSelectedTabIndex()
public static void handleHotbarSnapshots(Minecraft p_192044_0_, int p_192044_1_, boolean p_192044_2_, boolean p_192044_3_)