public class GuiHabitatFormer extends GuiForestryTitled<ContainerHabitatFormer> implements IScrollable
| Modifier and Type | Field and Description |
|---|---|
static net.minecraft.util.ResourceLocation |
TEXTURE |
container, ledgerManager, textLayout, textureFile, widgetManager, windowdragSplitting, dragSplittingSlots, guiLeft, guiTop, INVENTORY_BACKGROUND, inventorySlots, xSize, ySize| Constructor and Description |
|---|
GuiHabitatFormer(net.minecraft.entity.player.EntityPlayer player,
TileHabitatFormer tile) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addLedgers() |
protected void |
drawGuiContainerBackgroundLayer(float f,
int mouseX,
int mouseY) |
IClimateState |
getClimate() |
boolean |
isFocused(int mouseX,
int mouseY) |
void |
onScroll(int value) |
void |
sendClimateUpdate() |
void |
setClimate(ClimateType type,
java.lang.String text) |
void |
setClimate(IClimateState state) |
void |
updateScreen() |
centeredTitleaddClimateLedger, addErrorLedger, addErrorLedger, addHintLedger, addHintLedger, addOwnerLedger, addPowerLedger, bindTexture, drawBackground, drawGradientRect, drawGuiContainerForegroundLayer, drawScreen, drawWidgets, getExtraGuiAreas, getFluidStackAtPosition, getFontColor, getFontRenderer, getGuiLeft, getGuiTop, getMC, getSizeX, getSizeY, getSlotAtPosition, getTextLayout, hasClickedOutside, initGui, keyTyped, mouseClicked, mouseReleased, onGuiClosed, setWorldAndResolution, setZLevelcheckHotbarKeys, doesGuiPauseGame, getSlotUnderMouse, getXSize, getYSize, handleMouseClick, isPointInRegion, mouseClickMove, renderHoveredToolTipactionPerformed, addButton, confirmClicked, drawBackground, drawDefaultBackground, drawHoveringText, drawHoveringText, drawHoveringText, drawWorldBackground, getClipboardString, getItemToolTip, handleComponentClick, handleComponentHover, handleInput, handleKeyboardInput, handleMouseInput, isAltKeyDown, isCtrlKeyDown, isFocused, isKeyComboCtrlA, isKeyComboCtrlC, isKeyComboCtrlV, isKeyComboCtrlX, isShiftKeyDown, onResize, renderToolTip, sendChatMessage, sendChatMessage, setClipboardString, setFocused, setGuiSize, setTextpublic GuiHabitatFormer(net.minecraft.entity.player.EntityPlayer player,
TileHabitatFormer tile)
public void updateScreen()
updateScreen in class GuiForestry<ContainerHabitatFormer>protected void drawGuiContainerBackgroundLayer(float f,
int mouseX,
int mouseY)
drawGuiContainerBackgroundLayer in class GuiForestryTitled<ContainerHabitatFormer>public void setClimate(ClimateType type, java.lang.String text)
public void setClimate(IClimateState state)
public void sendClimateUpdate()
public IClimateState getClimate()
protected void addLedgers()
addLedgers in class GuiForestry<ContainerHabitatFormer>public void onScroll(int value)
onScroll in interface IScrollablepublic boolean isFocused(int mouseX,
int mouseY)
isFocused in interface IScrollablemouseX - the mouse x position relative to the screenmouseY - the mouse y position relative to the screen