Class ThemeEffects

java.lang.Object
net.ixdarklord.coolcatcanvas.internal.client.gui.style.ThemeEffects

public final class ThemeEffects extends Object
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    background(net.minecraft.client.gui.GuiGraphicsExtractor graphics, int width, int height, int mouseX, int mouseY, float partialTick)
    Behind the panels, over the theme's background.
    static void
    foreground(net.minecraft.client.gui.GuiGraphicsExtractor graphics, int width, int height, int mouseX, int mouseY, float partialTick)
    Over the whole screen, under tooltips.
    static void
    Registers the built-in effects; called once on the client.
    static void
    widget(net.minecraft.client.gui.GuiGraphicsExtractor graphics, ConfigEffect.WidgetKind kind, int x, int y, int width, int height, boolean hovered, boolean focused, boolean active)
    Over something drawn like a widget, by its bounds.
    static void
    widget(net.minecraft.client.gui.GuiGraphicsExtractor graphics, ConfigEffect.WidgetKind kind, net.minecraft.client.gui.components.AbstractWidget widget)
    Over a widget just drawn.

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • init

      public static void init()
      Registers the built-in effects; called once on the client.
    • background

      public static void background(net.minecraft.client.gui.GuiGraphicsExtractor graphics, int width, int height, int mouseX, int mouseY, float partialTick)
      Behind the panels, over the theme's background.
    • foreground

      public static void foreground(net.minecraft.client.gui.GuiGraphicsExtractor graphics, int width, int height, int mouseX, int mouseY, float partialTick)
      Over the whole screen, under tooltips.
    • widget

      public static void widget(net.minecraft.client.gui.GuiGraphicsExtractor graphics, ConfigEffect.WidgetKind kind, net.minecraft.client.gui.components.AbstractWidget widget)
      Over a widget just drawn.
    • widget

      public static void widget(net.minecraft.client.gui.GuiGraphicsExtractor graphics, ConfigEffect.WidgetKind kind, int x, int y, int width, int height, boolean hovered, boolean focused, boolean active)
      Over something drawn like a widget, by its bounds.