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
Modifier and TypeMethodDescriptionvoiddraw(net.minecraft.client.gui.GuiGraphics graphics, int x, int y) intintgetWidth()strokeOrder(boolean order) 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
-
strokeOrder
-
draw
public void draw(net.minecraft.client.gui.GuiGraphics graphics, int x, int y) - Specified by:
drawin interfacemezz.jei.api.gui.drawable.IDrawable
-