public class GuiContainerCreative extends InventoryEffectRenderer
Modifier and Type | Class and Description |
---|---|
static class |
GuiContainerCreative.ContainerCreative |
hasActivePotionEffects
dragSplitting, dragSplittingSlots, guiLeft, guiTop, hoveredSlot, INVENTORY_BACKGROUND, inventorySlots, slotColor, xSize, ySize
allowUserInput, buttons, children, fontRenderer, height, itemRender, labels, mc, width
ICONS, 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, renderHoveredToolTip
addButton, close, confirmResult, drawBackground, drawDefaultBackground, drawHoveringText, drawHoveringText, drawHoveringText, drawWorldBackground, getChildren, getItemToolTip, handleComponentClick, handleComponentHover, isAltKeyDown, isCtrlKeyDown, isKeyComboCtrlA, isKeyComboCtrlC, isKeyComboCtrlV, isKeyComboCtrlX, isShiftKeyDown, runOrMakeCrashReport, sendChatMessage, sendChatMessage, setText, setWorldAndResolution
focusNext, focusOn, getFocused, setDragging, setFocused
drawCenteredString, drawGradientRect, drawHorizontalLine, drawModalRectWithCustomSizedTexture, drawRect, drawScaledCustomSizeModalRect, drawString, drawTexturedModalRect, drawTexturedModalRect, drawTexturedModalRect, drawVerticalLine
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
canFocus, focusChanged
public GuiContainerCreative(EntityPlayer player)
public void tick()
tick
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
protected void initGui()
initGui
in class InventoryEffectRenderer
public void onGuiClosed()
onGuiClosed
in class GuiContainer
public 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 IGuiEventListener
keyPressed
in interface IGuiEventListenerDeferred
keyPressed
in class GuiContainer
public boolean keyReleased(int p_keyReleased_1_, int p_keyReleased_2_, int p_keyReleased_3_)
protected void drawGuiContainerForegroundLayer(int mouseX, int mouseY)
drawGuiContainerForegroundLayer
in class GuiContainer
public boolean mouseClicked(double p_mouseClicked_1_, double p_mouseClicked_3_, int p_mouseClicked_5_)
mouseClicked
in interface IGuiEventListener
mouseClicked
in interface IGuiEventListenerDeferred
mouseClicked
in class GuiContainer
public boolean mouseReleased(double p_mouseReleased_1_, double p_mouseReleased_3_, int p_mouseReleased_5_)
mouseReleased
in interface IGuiEventListener
mouseReleased
in interface IGuiEventListenerDeferred
mouseReleased
in class GuiContainer
public 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 GuiContainer
protected 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 IGuiEventListener
mouseDragged
in interface IGuiEventListenerDeferred
mouseDragged
in class GuiContainer
public void render(int mouseX, int mouseY, float partialTicks)
render
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 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)