Interface ISubGui
- All Known Subinterfaces:
ISubGuiBox
- All Known Implementing Classes:
ContainerScreenAspectSettings.SubGuiValueTypeInfo,ContainerScreenLogicProgrammerBase.SubGuiOperatorInfo,GuiElementValueTypeBooleanRenderPattern,GuiElementValueTypeDropdownListRenderPattern,GuiElementValueTypeStringRenderPattern,OperatorLPElementRenderPattern,RenderPattern,SubGuiBox,SubGuiBox.Base,SubGuiHolder,SubGuiValueTypeInfoBase,ValueTypeIngredientsLPElementClient.ListElementSubGui,ValueTypeIngredientsLPElementClient.MasterSubGuiRenderPattern,ValueTypeIngredientsLPElementClient.SelectionSubGui,ValueTypeItemStackLPElementClient.SubGuiRenderPattern,ValueTypeListLPElementClient.ListElementSubGui,ValueTypeListLPElementClient.MasterSubGuiRenderPattern,ValueTypeListLPElementClient.SelectionSubGui,ValueTypeOperatorLPElementClient.RenderPatternOperator,ValueTypeOperatorLPElementRenderPattern,ValueTypeRecipeAdapterLPElementPropertiesSubGui,ValueTypeRecipeLPElementMasterSubGui,ValueTypeRecipeLPElementRecipeSubGui,ValueTypeStringLPElementRenderPattern
public interface ISubGui
A gui part that can be rendered withing another gui.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbooleancharTyped(char typedChar, int keyCode) Char type eventvoiddrawGuiContainerForegroundLayer(net.minecraft.client.gui.GuiGraphics guiGraphics, int guiLeft, int guiTop, net.minecraft.client.renderer.texture.TextureManager textureManager, net.minecraft.client.gui.Font fontRenderer, int mouseX, int mouseY) voidinit(int guiLeft, int guiTop) booleankeyPressed(int typedChar, int keyCode, int modifiers) Key press eventbooleanmouseClicked(double mouseX, double mouseY, int mouseButton) voidrenderBg(net.minecraft.client.gui.GuiGraphics guiGraphics, int guiLeft, int guiTop, net.minecraft.client.renderer.texture.TextureManager textureManager, net.minecraft.client.gui.Font fontRenderer, float partialTicks, int mouseX, int mouseY) voidtick()
-
Method Details
-
init
void init(int guiLeft, int guiTop) -
tick
void tick() -
renderBg
void renderBg(net.minecraft.client.gui.GuiGraphics guiGraphics, int guiLeft, int guiTop, net.minecraft.client.renderer.texture.TextureManager textureManager, net.minecraft.client.gui.Font fontRenderer, float partialTicks, int mouseX, int mouseY) -
drawGuiContainerForegroundLayer
void drawGuiContainerForegroundLayer(net.minecraft.client.gui.GuiGraphics guiGraphics, int guiLeft, int guiTop, net.minecraft.client.renderer.texture.TextureManager textureManager, net.minecraft.client.gui.Font fontRenderer, int mouseX, int mouseY) -
charTyped
boolean charTyped(char typedChar, int keyCode) Char type event- Parameters:
typedChar- The character typedkeyCode- The keycode of the character typed- Returns:
- True if all next actions should be skipped
-
keyPressed
boolean keyPressed(int typedChar, int keyCode, int modifiers) Key press event- Parameters:
typedChar- The character typedkeyCode- The keycode of the character typedmodifiers- Key modifiers- Returns:
- True if all next actions should be skipped
-
mouseClicked
boolean mouseClicked(double mouseX, double mouseY, int mouseButton)
-