Class RenderPattern<E extends IGuiInputElement,G extends net.minecraft.client.gui.screens.Screen,C extends net.minecraft.world.inventory.AbstractContainerMenu>
java.lang.Object
org.cyclops.integrateddynamics.core.client.gui.subgui.SubGuiBox
org.cyclops.integrateddynamics.core.logicprogrammer.client.RenderPattern<E,G,C>
- All Implemented Interfaces:
ISubGui,ISubGuiBox
- Direct Known Subclasses:
GuiElementValueTypeBooleanRenderPattern,GuiElementValueTypeDropdownListRenderPattern,GuiElementValueTypeStringRenderPattern,OperatorLPElementRenderPattern,ValueTypeIngredientsLPElementClient.ListElementSubGui,ValueTypeIngredientsLPElementClient.MasterSubGuiRenderPattern,ValueTypeIngredientsLPElementClient.SelectionSubGui,ValueTypeItemStackLPElementClient.SubGuiRenderPattern,ValueTypeListLPElementClient.ListElementSubGui,ValueTypeListLPElementClient.MasterSubGuiRenderPattern,ValueTypeListLPElementClient.SelectionSubGui,ValueTypeRecipeAdapterLPElementPropertiesSubGui,ValueTypeRecipeLPElementMasterSubGui,ValueTypeRecipeLPElementRecipeSubGui
public class RenderPattern<E extends IGuiInputElement,G extends net.minecraft.client.gui.screens.Screen,C extends net.minecraft.world.inventory.AbstractContainerMenu>
extends SubGuiBox
implements ISubGuiBox
Sub gui for rendering logic programmer elements.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.cyclops.integrateddynamics.core.client.gui.subgui.SubGuiBox
SubGuiBox.Base, SubGuiBox.BoxNested classes/interfaces inherited from interface org.cyclops.integrateddynamics.api.client.gui.subgui.ISubGui
ISubGui.SubGuiComparator -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Cprotected final Eprotected final Gprotected net.minecraft.resources.ResourceLocationFields inherited from class org.cyclops.integrateddynamics.core.client.gui.subgui.SubGuiBox
buttonList, subGuiHolder, TEXTURE -
Constructor Summary
ConstructorsConstructorDescriptionRenderPattern(E element, int baseX, int baseY, int maxWidth, int maxHeight, G gui, C container) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanprotected voiddrawSlot(net.minecraft.client.gui.GuiGraphics guiGraphics, int x, int y) intintgetWidth()intgetX()intgetY()voidinit(int guiLeft, int guiTop) 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) voidvoidtick()Methods inherited from class org.cyclops.integrateddynamics.core.client.gui.subgui.SubGuiBox
actionPerformed, charTyped, drawGuiContainerForegroundLayer, drawScreen, isDrawBackground, keyPressed, mouseClickedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.cyclops.integrateddynamics.api.client.gui.subgui.ISubGui
charTyped, drawGuiContainerForegroundLayer, keyPressed, mouseClicked
-
Field Details
-
element
-
gui
-
container
-
texture
protected net.minecraft.resources.ResourceLocation texture
-
-
Constructor Details
-
RenderPattern
-
-
Method Details
-
getContainer
-
drawSlot
protected void drawSlot(net.minecraft.client.gui.GuiGraphics guiGraphics, int x, int y) -
init
public void init(int guiLeft, int guiTop) -
tick
public void tick() -
drawRenderPattern
protected boolean drawRenderPattern() -
renderBg
public 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) -
getX
public int getX()- Specified by:
getXin interfaceISubGuiBox
-
getY
public int getY()- Specified by:
getYin interfaceISubGuiBox
-
getWidth
public int getWidth()- Specified by:
getWidthin interfaceISubGuiBox
-
getHeight
public int getHeight()- Specified by:
getHeightin interfaceISubGuiBox
-
sendValueToServer
public void sendValueToServer()
-