Class PatternDrawable
java.lang.Object
at.petrak.hexcasting.forge.interop.jei.PatternDrawable
- All Implemented Interfaces:
mezz.jei.api.gui.drawable.IDrawable
-
Constructor Summary
ConstructorsConstructorDescriptionPatternDrawable(net.minecraft.resources.ResourceLocation pattern, int w, int h) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
getWidthin interfacemezz.jei.api.gui.drawable.IDrawable
-
getHeight
public int getHeight()- Specified by:
getHeightin interfacemezz.jei.api.gui.drawable.IDrawable
-
draw
public void draw(com.mojang.blaze3d.vertex.PoseStack poseStack, int xOffset, int yOffset) - Specified by:
drawin interfacemezz.jei.api.gui.drawable.IDrawable
-