Class ThemeEffects
java.lang.Object
net.ixdarklord.coolcatcanvas.internal.client.gui.style.ThemeEffects
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidbackground(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 voidforeground(net.minecraft.client.gui.GuiGraphicsExtractor graphics, int width, int height, int mouseX, int mouseY, float partialTick) Over the whole screen, under tooltips.static voidinit()Registers the built-in effects; called once on the client.static voidwidget(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 voidwidget(net.minecraft.client.gui.GuiGraphicsExtractor graphics, ConfigEffect.WidgetKind kind, net.minecraft.client.gui.components.AbstractWidget widget) Over a widget just drawn.
-
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.
-