public class GuiTerminalCraftingJobs
extends org.cyclops.cyclopscore.client.gui.container.GuiContainerExtended
| Modifier and Type | Field and Description |
|---|---|
static int |
LINE_WIDTH |
static int |
OUTPUT_SLOT_X |
static int |
OUTPUT_SLOT_Y |
container, offsetX, offsetY, texturedragSplitting, dragSplittingSlots, guiLeft, guiTop, INVENTORY_BACKGROUND, inventorySlots, xSize, ySize| Constructor and Description |
|---|
GuiTerminalCraftingJobs(net.minecraft.entity.player.EntityPlayer player,
org.cyclops.integrateddynamics.api.part.PartTarget target,
org.cyclops.integrateddynamics.api.part.IPartContainer partContainer,
org.cyclops.integrateddynamics.api.part.IPartType partType) |
| Modifier and Type | Method and Description |
|---|---|
protected net.minecraft.util.ResourceLocation |
constructResourceLocation() |
protected void |
drawCraftingPlan(HandlerWrappedTerminalCraftingPlan craftingPlan,
int x,
int y,
GuiTerminalStorage.DrawLayer layer,
float partialTick,
int mouseX,
int mouseY) |
protected void |
drawCraftingPlans(int x,
int y,
float partialTicks,
int mouseX,
int mouseY,
GuiTerminalStorage.DrawLayer layer) |
protected void |
drawCurrentScreen(int mouseX,
int mouseY,
float partialTicks) |
protected void |
drawGuiContainerBackgroundLayer(float partialTicks,
int mouseX,
int mouseY) |
protected void |
drawGuiContainerForegroundLayer(int mouseX,
int mouseY) |
int |
getBaseXSize() |
int |
getBaseYSize() |
ContainerTerminalCraftingJobs |
getContainer() |
protected static int |
getDependencies(ITerminalCraftingPlan<?> plan) |
java.lang.String |
getGuiTexture() |
protected HandlerWrappedTerminalCraftingPlan |
getHoveredPlan(int mouseX,
int mouseY) |
protected java.util.List<HandlerWrappedTerminalCraftingPlan> |
getVisiblePlans() |
void |
handleMouseInput() |
void |
initGui() |
protected void |
mouseClicked(int mouseX,
int mouseY,
int mouseButton) |
void |
onButtonClick(int buttonId) |
void |
onUpdate(int valueId,
net.minecraft.nbt.NBTTagCompound value) |
boolean |
requiresAction(int buttonId) |
void |
setFirstRow(int firstRow) |
actionPerformed, drawScreen, drawTooltip, getGuiId, getGuiLeftTotal, getGuiModId, getGuiTopTotal, isPointInRegion, isPointInRegion, putButtonAction, refreshValuescheckHotbarKeys, doesGuiPauseGame, getGuiLeft, getGuiTop, getSlotUnderMouse, getXSize, getYSize, handleMouseClick, hasClickedOutside, keyTyped, mouseClickMove, mouseReleased, onGuiClosed, renderHoveredToolTip, updateScreenaddButton, confirmClicked, drawBackground, drawDefaultBackground, drawHoveringText, drawHoveringText, drawHoveringText, drawWorldBackground, getClipboardString, getItemToolTip, handleComponentClick, handleComponentHover, handleInput, handleKeyboardInput, isAltKeyDown, isCtrlKeyDown, isFocused, isKeyComboCtrlA, isKeyComboCtrlC, isKeyComboCtrlV, isKeyComboCtrlX, isShiftKeyDown, onResize, renderToolTip, sendChatMessage, sendChatMessage, setClipboardString, setFocused, setGuiSize, setText, setWorldAndResolutionpublic static int OUTPUT_SLOT_X
public static int OUTPUT_SLOT_Y
public static int LINE_WIDTH
public GuiTerminalCraftingJobs(net.minecraft.entity.player.EntityPlayer player,
org.cyclops.integrateddynamics.api.part.PartTarget target,
org.cyclops.integrateddynamics.api.part.IPartContainer partContainer,
org.cyclops.integrateddynamics.api.part.IPartType partType)
public void initGui()
initGui in class org.cyclops.cyclopscore.client.gui.container.GuiContainerExtendedprotected net.minecraft.util.ResourceLocation constructResourceLocation()
constructResourceLocation in class org.cyclops.cyclopscore.client.gui.container.GuiContainerExtendedpublic java.lang.String getGuiTexture()
getGuiTexture in class org.cyclops.cyclopscore.client.gui.container.GuiContainerExtendedpublic int getBaseXSize()
getBaseXSize in class org.cyclops.cyclopscore.client.gui.container.GuiContainerExtendedpublic int getBaseYSize()
getBaseYSize in class org.cyclops.cyclopscore.client.gui.container.GuiContainerExtendedprotected void drawGuiContainerBackgroundLayer(float partialTicks,
int mouseX,
int mouseY)
drawGuiContainerBackgroundLayer in class org.cyclops.cyclopscore.client.gui.container.GuiContainerExtendedprotected void drawGuiContainerForegroundLayer(int mouseX,
int mouseY)
drawGuiContainerForegroundLayer in class net.minecraft.client.gui.inventory.GuiContainerprotected java.util.List<HandlerWrappedTerminalCraftingPlan> getVisiblePlans()
protected void drawCraftingPlans(int x,
int y,
float partialTicks,
int mouseX,
int mouseY,
GuiTerminalStorage.DrawLayer layer)
protected void drawCraftingPlan(HandlerWrappedTerminalCraftingPlan craftingPlan, int x, int y, GuiTerminalStorage.DrawLayer layer, float partialTick, int mouseX, int mouseY)
protected static int getDependencies(ITerminalCraftingPlan<?> plan)
protected void drawCurrentScreen(int mouseX,
int mouseY,
float partialTicks)
drawCurrentScreen in class org.cyclops.cyclopscore.client.gui.container.GuiContainerExtendedpublic ContainerTerminalCraftingJobs getContainer()
getContainer in class org.cyclops.cyclopscore.client.gui.container.GuiContainerExtendedpublic boolean requiresAction(int buttonId)
requiresAction in interface org.cyclops.cyclopscore.inventory.container.button.IButtonClickAcceptor<org.cyclops.cyclopscore.inventory.container.button.IButtonActionClient<org.cyclops.cyclopscore.client.gui.container.GuiContainerExtended,org.cyclops.cyclopscore.inventory.container.ExtendedInventoryContainer>>requiresAction in class org.cyclops.cyclopscore.client.gui.container.GuiContainerExtendedpublic void onButtonClick(int buttonId)
onButtonClick in interface org.cyclops.cyclopscore.inventory.container.button.IButtonClickAcceptor<org.cyclops.cyclopscore.inventory.container.button.IButtonActionClient<org.cyclops.cyclopscore.client.gui.container.GuiContainerExtended,org.cyclops.cyclopscore.inventory.container.ExtendedInventoryContainer>>onButtonClick in class org.cyclops.cyclopscore.client.gui.container.GuiContainerExtendedpublic void handleMouseInput()
throws java.io.IOException
handleMouseInput in class net.minecraft.client.gui.GuiScreenjava.io.IOException@Nullable protected HandlerWrappedTerminalCraftingPlan getHoveredPlan(int mouseX, int mouseY)
protected void mouseClicked(int mouseX,
int mouseY,
int mouseButton)
throws java.io.IOException
mouseClicked in class net.minecraft.client.gui.inventory.GuiContainerjava.io.IOExceptionpublic void setFirstRow(int firstRow)
public void onUpdate(int valueId,
net.minecraft.nbt.NBTTagCompound value)
onUpdate in interface org.cyclops.cyclopscore.inventory.IValueNotifiableonUpdate in class org.cyclops.cyclopscore.client.gui.container.GuiContainerExtended