Class ScreenResourceWrapper

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

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

    • ScreenResourceWrapper

      public ScreenResourceWrapper(AllGuiTextures resource)
  • 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(com.mojang.blaze3d.vertex.PoseStack matrixStack, int xOffset, int yOffset)
      Specified by:
      draw in interface mezz.jei.api.gui.drawable.IDrawable