Class GuiElementValueTypeBooleanRenderPattern<S extends ISubGuiBox,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.RenderPattern<GuiElementValueTypeBoolean<G,C>,G,C>
org.cyclops.integrateddynamics.core.evaluate.variable.gui.GuiElementValueTypeBooleanRenderPattern<S,G,C>
All Implemented Interfaces:
ISubGui, ISubGuiBox, IRenderPatternValueTypeTooltip

public class GuiElementValueTypeBooleanRenderPattern<S extends ISubGuiBox,G extends net.minecraft.client.gui.screens.Screen,C extends net.minecraft.world.inventory.AbstractContainerMenu> extends RenderPattern<GuiElementValueTypeBoolean<G,C>,G,C> implements IRenderPatternValueTypeTooltip
  • Field Details

    • element

      protected final GuiElementValueTypeBoolean<G extends net.minecraft.client.gui.screens.Screen,C extends net.minecraft.world.inventory.AbstractContainerMenu> element
  • Constructor Details

    • GuiElementValueTypeBooleanRenderPattern

      public GuiElementValueTypeBooleanRenderPattern(GuiElementValueTypeBoolean<G,C> element, int baseX, int baseY, int maxWidth, int maxHeight, G gui, C container)
  • Method Details

    • init

      public void init(int guiLeft, int guiTop)
      Specified by:
      init in interface ISubGui
      Overrides:
      init in class RenderPattern<GuiElementValueTypeBoolean<G extends net.minecraft.client.gui.screens.Screen,C extends net.minecraft.world.inventory.AbstractContainerMenu>,G extends net.minecraft.client.gui.screens.Screen,C extends net.minecraft.world.inventory.AbstractContainerMenu>
    • 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 RenderPattern<GuiElementValueTypeBoolean<G extends net.minecraft.client.gui.screens.Screen,C extends net.minecraft.world.inventory.AbstractContainerMenu>,G extends net.minecraft.client.gui.screens.Screen,C extends net.minecraft.world.inventory.AbstractContainerMenu>
    • mouseClicked

      public boolean mouseClicked(double mouseX, double mouseY, int mouseButton)
      Specified by:
      mouseClicked in interface ISubGui
      Overrides:
      mouseClicked in class SubGuiBox
    • isRenderTooltip

      public boolean isRenderTooltip()
      Specified by:
      isRenderTooltip in interface IRenderPatternValueTypeTooltip
    • setRenderTooltip

      public void setRenderTooltip(boolean renderTooltip)
      Specified by:
      setRenderTooltip in interface IRenderPatternValueTypeTooltip
    • onChecked

      protected void onChecked(boolean checked)
    • sendValueToServer

      public void sendValueToServer()
      Overrides:
      sendValueToServer in class RenderPattern<GuiElementValueTypeBoolean<G extends net.minecraft.client.gui.screens.Screen,C extends net.minecraft.world.inventory.AbstractContainerMenu>,G extends net.minecraft.client.gui.screens.Screen,C extends net.minecraft.world.inventory.AbstractContainerMenu>