Class ModIcons
java.lang.Object
net.ixdarklord.coolcatcanvas.internal.client.gui.style.ModIcons
-
Method Summary
Modifier and TypeMethodDescriptionstatic booleandraw(net.minecraft.client.gui.GuiGraphicsExtractor graphics, String modId, ConfigTheme theme, int x, int y, int size) Draws the mod's icon fitted into a square, keeping its proportions.static booleanhas(String modId, ConfigTheme theme) Whether the mod has an icon to draw.
-
Method Details
-
draw
public static boolean draw(net.minecraft.client.gui.GuiGraphicsExtractor graphics, String modId, ConfigTheme theme, int x, int y, int size) Draws the mod's icon fitted into a square, keeping its proportions.- Returns:
- whether there was an icon to draw
-
has
Whether the mod has an icon to draw.
-