Class ModIcons

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

public final class ModIcons extends Object
  • 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

      public static boolean has(String modId, ConfigTheme theme)
      Whether the mod has an icon to draw.