Class JEITextureDrawable

java.lang.Object
com.petrolpark.compat.jei.JEITextureDrawable
All Implemented Interfaces:
mezz.jei.api.gui.drawable.IDrawable

public class JEITextureDrawable extends Object implements mezz.jei.api.gui.drawable.IDrawable
  • Method Details

    • of

      public static JEITextureDrawable of(IGuiTexture texture)
    • 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(net.minecraft.client.gui.GuiGraphics guiGraphics, int xOffset, int yOffset)
      Specified by:
      draw in interface mezz.jei.api.gui.drawable.IDrawable