public class GuiExtendedCreativeInv extends net.minecraft.client.gui.inventory.GuiContainer implements INEIGuiHandler
| Constructor and Description |
|---|
GuiExtendedCreativeInv(Container par1Container) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
drawGuiContainerBackgroundLayer(float var1,
int var2,
int var3) |
java.util.List<TaggedInventoryArea> |
getInventoryAreas(net.minecraft.client.gui.inventory.GuiContainer gui) |
java.lang.Iterable<java.lang.Integer> |
getItemSpawnSlots(net.minecraft.client.gui.inventory.GuiContainer gui,
ItemStack item)
NEI will give the specified item to the InventoryRange returned if the player's inventory is full.
|
boolean |
handleDragNDrop(net.minecraft.client.gui.inventory.GuiContainer gui,
int mousex,
int mousey,
ItemStack draggedStack,
int button)
Handles clicks while an itemstack has been dragged from the item panel.
|
boolean |
hideItemPanelSlot(net.minecraft.client.gui.inventory.GuiContainer gui,
int x,
int y,
int w,
int h)
Used to prevent the item panel from drawing on top of other gui elements.
|
VisiblityData |
modifyVisiblity(net.minecraft.client.gui.inventory.GuiContainer gui,
VisiblityData currentVisibility) |
checkHotbarKeys, doesGuiPauseGame, drawGuiContainerForegroundLayer, drawScreen, func_146978_c, getSlotAtPosition, handleKeyboardInput, handleMouseClick, handleMouseInput, initGui, keyTyped, managerHandleMouseClick, mouseClicked, mouseClickMove, mouseMovedOrUp, onGuiClosed, setWorldAndResolution, updateScreenprotected void drawGuiContainerBackgroundLayer(float var1,
int var2,
int var3)
drawGuiContainerBackgroundLayer in class net.minecraft.client.gui.inventory.GuiContainerpublic VisiblityData modifyVisiblity(net.minecraft.client.gui.inventory.GuiContainer gui, VisiblityData currentVisibility)
modifyVisiblity in interface INEIGuiHandlerpublic java.lang.Iterable<java.lang.Integer> getItemSpawnSlots(net.minecraft.client.gui.inventory.GuiContainer gui,
ItemStack item)
INEIGuiHandlergetItemSpawnSlots in interface INEIGuiHandlerpublic java.util.List<TaggedInventoryArea> getInventoryAreas(net.minecraft.client.gui.inventory.GuiContainer gui)
getInventoryAreas in interface INEIGuiHandlerpublic boolean handleDragNDrop(net.minecraft.client.gui.inventory.GuiContainer gui,
int mousex,
int mousey,
ItemStack draggedStack,
int button)
INEIGuiHandlerhandleDragNDrop in interface INEIGuiHandlergui - The current gui instancemousex - The x position of the mousemousey - The y position of the mousedraggedStack - The stack being dragged from the item panelbutton - The button presedpublic boolean hideItemPanelSlot(net.minecraft.client.gui.inventory.GuiContainer gui,
int x,
int y,
int w,
int h)
INEIGuiHandlerhideItemPanelSlot in interface INEIGuiHandlerx - The x coordinate of the rectangle bounding the sloty - The y coordinate of the rectangle bounding the slotw - The w coordinate of the rectangle bounding the sloth - The h coordinate of the rectangle bounding the slot