Class GuiElementValueTypeString.SubGuiValueTypeInfo<S extends ISubGuiBox,G extends org.cyclops.cyclopscore.client.gui.container.ContainerScreenExtended<?>,C extends net.minecraft.world.inventory.AbstractContainerMenu>

java.lang.Object
org.cyclops.integrateddynamics.core.client.gui.subgui.SubGuiBox
org.cyclops.integrateddynamics.core.client.gui.subgui.SubGuiBox.Base
org.cyclops.integrateddynamics.core.evaluate.variable.gui.GuiElementValueTypeString.SubGuiValueTypeInfo<S,G,C>
All Implemented Interfaces:
ISubGui, ISubGuiBox
Direct Known Subclasses:
ContainerScreenAspectSettings.SubGuiValueTypeInfo, ContainerScreenLogicProgrammerBase.SubGuiOperatorInfo
Enclosing class:
GuiElementValueTypeString<G extends net.minecraft.client.gui.screens.Screen,C extends net.minecraft.world.inventory.AbstractContainerMenu>

public abstract static class GuiElementValueTypeString.SubGuiValueTypeInfo<S extends ISubGuiBox,G extends org.cyclops.cyclopscore.client.gui.container.ContainerScreenExtended<?>,C extends net.minecraft.world.inventory.AbstractContainerMenu> extends SubGuiBox.Base
  • Field Details

    • gui

      protected final G extends org.cyclops.cyclopscore.client.gui.container.ContainerScreenExtended<?> gui
    • container

      protected final C extends net.minecraft.world.inventory.AbstractContainerMenu container
  • Constructor Details

    • SubGuiValueTypeInfo

      public SubGuiValueTypeInfo(G gui, C container, IGuiInputElement<S,G,C> element, int x, int y, int width, int height)
  • Method Details

    • showError

      protected abstract boolean showError()
    • getLastError

      protected abstract net.minecraft.network.chat.Component getLastError()
    • getTexture

      protected abstract net.minecraft.resources.ResourceLocation getTexture()
    • getSignalX

      protected int getSignalX()
    • getSignalY

      protected int getSignalY()
    • 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)
      Specified by:
      renderBg in interface ISubGui
      Overrides:
      renderBg in class SubGuiBox
    • shouldRenderElementName

      public boolean shouldRenderElementName()
    • drawGuiContainerForegroundLayer

      public 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)
      Specified by:
      drawGuiContainerForegroundLayer in interface ISubGui
      Overrides:
      drawGuiContainerForegroundLayer in class SubGuiBox