Class ItemIcon

java.lang.Object
com.simibubi.create.compat.jei.ItemIcon
All Implemented Interfaces:
mezz.jei.api.gui.drawable.IDrawable

public class ItemIcon extends Object implements mezz.jei.api.gui.drawable.IDrawable
  • Constructor Details

    • ItemIcon

      public ItemIcon(Supplier<net.minecraft.world.item.ItemStack> stack)
  • 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(net.minecraft.client.gui.GuiGraphics graphics, int xOffset, int yOffset)
      Specified by:
      draw in interface mezz.jei.api.gui.drawable.IDrawable