Interface ISubGui
- All Known Subinterfaces:
ISubGuiBox
- All Known Implementing Classes:
ContainerScreenAspectSettings.SubGuiValueTypeInfo
,ContainerScreenLogicProgrammerBase.SubGuiOperatorInfo
,GuiElementValueTypeBooleanRenderPattern
,GuiElementValueTypeDropdownList.SubGuiValueTypeInfo
,GuiElementValueTypeDropdownListRenderPattern
,GuiElementValueTypeString.SubGuiValueTypeInfo
,GuiElementValueTypeStringRenderPattern
,RenderPattern
,SubGuiBox
,SubGuiBox.Base
,SubGuiHolder
,ValueTypeIngredientsLPElement.ListElementSubGui
,ValueTypeIngredientsLPElement.MasterSubGuiRenderPattern
,ValueTypeIngredientsLPElement.SelectionSubGui
,ValueTypeItemStackLPElement.SubGuiRenderPattern
,ValueTypeListLPElement.ListElementSubGui
,ValueTypeListLPElement.MasterSubGuiRenderPattern
,ValueTypeListLPElement.SelectionSubGui
,ValueTypeOperatorLPElement.RenderPatternOperator
,ValueTypeOperatorLPElementRenderPattern
,ValueTypeStringLPElementRenderPattern
public interface ISubGui
A gui part that can be rendered withing another gui.
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
charTyped
(char typedChar, int keyCode) Char type eventvoid
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) void
init
(int guiLeft, int guiTop) boolean
keyPressed
(int typedChar, int keyCode, int modifiers) Key press eventboolean
mouseClicked
(double mouseX, double mouseY, int mouseButton) 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) void
tick()
-
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)
-