Class PatternDrawable

java.lang.Object
at.petrak.hexcasting.forge.interop.jei.PatternDrawable
All Implemented Interfaces:
mezz.jei.api.gui.drawable.IDrawable

public class PatternDrawable extends Object implements mezz.jei.api.gui.drawable.IDrawable
  • Constructor Summary

    Constructors
    Constructor
    Description
    PatternDrawable(net.minecraft.resources.ResourceLocation pattern, int w, int h)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    draw(com.mojang.blaze3d.vertex.PoseStack poseStack, 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
  • Constructor Details

    • PatternDrawable

      public PatternDrawable(net.minecraft.resources.ResourceLocation pattern, int w, int h)
  • 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 poseStack, int xOffset, int yOffset)
      Specified by:
      draw in interface mezz.jei.api.gui.drawable.IDrawable