Class FlagIngredientType.Icon

java.lang.Object
petrolpark.mc.library.compat.jei.ingredient.FlagIngredientType.Icon
All Implemented Interfaces:
mezz.jei.api.gui.drawable.IDrawable
Enclosing class:
FlagIngredientType

public static class FlagIngredientType.Icon extends Object implements mezz.jei.api.gui.drawable.IDrawable
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    final int
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    Icon(int color)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    draw(net.minecraft.client.gui.GuiGraphics guiGraphics, int xOffset, int yOffset)
     
    int
     
    int
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface mezz.jei.api.gui.drawable.IDrawable

    draw
  • Field Details

    • color

      public final int color
  • Constructor Details

    • Icon

      public Icon(int color)
  • Method Details

    • getWidth

      public int getWidth()
      Specified by:
      getWidth in interface mezz.jei.api.gui.drawable.IDrawable
    • getHeight

      public int getHeight()
      Specified by:
      getHeight in interface mezz.jei.api.gui.drawable.IDrawable
    • draw

      public void draw(@Nonnull net.minecraft.client.gui.GuiGraphics guiGraphics, int xOffset, int yOffset)
      Specified by:
      draw in interface mezz.jei.api.gui.drawable.IDrawable