public class GuiContainerCreative extends InventoryEffectRenderer
| Modifier and Type | Class and Description |
|---|---|
static class |
GuiContainerCreative.ContainerCreative |
hasActivePotionEffectsdragSplitting, dragSplittingSlots, guiLeft, guiTop, hoveredSlot, INVENTORY_BACKGROUND, inventorySlots, slotColor, xSize, ySizeallowUserInput, buttons, children, fontRenderer, height, itemRender, labels, mc, widthICONS, OPTIONS_BACKGROUND, STAT_ICONS, zLevel| Constructor and Description |
|---|
GuiContainerCreative(EntityPlayer player) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
charTyped(char p_charTyped_1_,
int p_charTyped_2_) |
protected void |
drawGuiContainerBackgroundLayer(float partialTicks,
int mouseX,
int mouseY) |
protected void |
drawGuiContainerForegroundLayer(int mouseX,
int mouseY) |
protected void |
drawTab(ItemGroup tab) |
protected boolean |
func_195361_a(double p_195361_1_,
double p_195361_3_,
int p_195361_5_,
int p_195361_6_,
int p_195361_7_) |
protected boolean |
func_195375_a(ItemGroup p_195375_1_,
double p_195375_2_,
double p_195375_4_) |
protected boolean |
func_195376_a(double p_195376_1_,
double p_195376_3_) |
int |
getSelectedTabIndex() |
static void |
handleHotbarSnapshots(Minecraft client,
int index,
boolean load,
boolean save) |
protected void |
handleMouseClick(Slot slotIn,
int slotId,
int mouseButton,
ClickType type) |
protected void |
initGui() |
boolean |
keyPressed(int p_keyPressed_1_,
int p_keyPressed_2_,
int p_keyPressed_3_) |
boolean |
keyReleased(int p_keyReleased_1_,
int p_keyReleased_2_,
int p_keyReleased_3_) |
boolean |
mouseClicked(double p_mouseClicked_1_,
double p_mouseClicked_3_,
int p_mouseClicked_5_) |
boolean |
mouseDragged(double p_mouseDragged_1_,
double p_mouseDragged_3_,
int p_mouseDragged_5_,
double p_mouseDragged_6_,
double p_mouseDragged_8_) |
boolean |
mouseReleased(double p_mouseReleased_1_,
double p_mouseReleased_3_,
int p_mouseReleased_5_) |
boolean |
mouseScrolled(double p_mouseScrolled_1_) |
void |
onGuiClosed() |
void |
onResize(Minecraft mcIn,
int w,
int h) |
void |
render(int mouseX,
int mouseY,
float partialTicks) |
protected boolean |
renderCreativeInventoryHoveringText(ItemGroup tab,
int mouseX,
int mouseY) |
protected void |
renderToolTip(ItemStack stack,
int x,
int y) |
void |
tick() |
protected void |
updateActivePotionEffects() |
allowCloseWithEscape, doesGuiPauseGame, func_195363_d, getGuiLeft, getGuiTop, getSlotColor, getSlotUnderMouse, getXSize, getYSize, isPointInRegion, renderHoveredToolTipaddButton, close, confirmResult, drawBackground, drawDefaultBackground, drawHoveringText, drawHoveringText, drawHoveringText, drawWorldBackground, getChildren, getItemToolTip, handleComponentClick, handleComponentHover, isAltKeyDown, isCtrlKeyDown, isKeyComboCtrlA, isKeyComboCtrlC, isKeyComboCtrlV, isKeyComboCtrlX, isShiftKeyDown, runOrMakeCrashReport, sendChatMessage, sendChatMessage, setText, setWorldAndResolutionfocusNext, focusOn, getFocused, setDragging, setFocuseddrawCenteredString, drawGradientRect, drawHorizontalLine, drawModalRectWithCustomSizedTexture, drawRect, drawScaledCustomSizeModalRect, drawString, drawTexturedModalRect, drawTexturedModalRect, drawTexturedModalRect, drawVerticalLineclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcanFocus, focusChangedpublic GuiContainerCreative(EntityPlayer player)
public void tick()
tick in class GuiContainerprotected void handleMouseClick(@Nullable
Slot slotIn,
int slotId,
int mouseButton,
ClickType type)
handleMouseClick in class GuiContainerprotected void updateActivePotionEffects()
updateActivePotionEffects in class InventoryEffectRendererprotected void initGui()
initGui in class InventoryEffectRendererpublic void onGuiClosed()
onGuiClosed in class GuiContainerpublic boolean charTyped(char p_charTyped_1_,
int p_charTyped_2_)
public boolean keyPressed(int p_keyPressed_1_,
int p_keyPressed_2_,
int p_keyPressed_3_)
keyPressed in interface IGuiEventListenerkeyPressed in interface IGuiEventListenerDeferredkeyPressed in class GuiContainerpublic boolean keyReleased(int p_keyReleased_1_,
int p_keyReleased_2_,
int p_keyReleased_3_)
protected void drawGuiContainerForegroundLayer(int mouseX,
int mouseY)
drawGuiContainerForegroundLayer in class GuiContainerpublic boolean mouseClicked(double p_mouseClicked_1_,
double p_mouseClicked_3_,
int p_mouseClicked_5_)
mouseClicked in interface IGuiEventListenermouseClicked in interface IGuiEventListenerDeferredmouseClicked in class GuiContainerpublic boolean mouseReleased(double p_mouseReleased_1_,
double p_mouseReleased_3_,
int p_mouseReleased_5_)
mouseReleased in interface IGuiEventListenermouseReleased in interface IGuiEventListenerDeferredmouseReleased in class GuiContainerpublic boolean mouseScrolled(double p_mouseScrolled_1_)
protected boolean func_195361_a(double p_195361_1_,
double p_195361_3_,
int p_195361_5_,
int p_195361_6_,
int p_195361_7_)
func_195361_a in class GuiContainerprotected boolean func_195376_a(double p_195376_1_,
double p_195376_3_)
public boolean mouseDragged(double p_mouseDragged_1_,
double p_mouseDragged_3_,
int p_mouseDragged_5_,
double p_mouseDragged_6_,
double p_mouseDragged_8_)
mouseDragged in interface IGuiEventListenermouseDragged in interface IGuiEventListenerDeferredmouseDragged in class GuiContainerpublic void render(int mouseX,
int mouseY,
float partialTicks)
render 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 func_195375_a(ItemGroup p_195375_1_, double p_195375_2_, double p_195375_4_)
protected boolean renderCreativeInventoryHoveringText(ItemGroup tab, int mouseX, int mouseY)
protected void drawTab(ItemGroup tab)
public int getSelectedTabIndex()
public static void handleHotbarSnapshots(Minecraft client, int index, boolean load, boolean save)