public class BackgroundDrawable
extends java.lang.Object
implements mezz.jei.api.gui.drawable.IDrawable
| Constructor and Description |
|---|
BackgroundDrawable(java.lang.String resource,
int width,
int height) |
| Modifier and Type | Method and Description |
|---|---|
void |
draw(com.mojang.blaze3d.matrix.MatrixStack matrixStack,
int xOffset,
int yOffset) |
int |
getHeight() |
net.minecraft.util.ResourceLocation |
getResource() |
int |
getWidth() |
public BackgroundDrawable(java.lang.String resource,
int width,
int height)
public int getWidth()
getWidth in interface mezz.jei.api.gui.drawable.IDrawablepublic int getHeight()
getHeight in interface mezz.jei.api.gui.drawable.IDrawablepublic void draw(com.mojang.blaze3d.matrix.MatrixStack matrixStack,
int xOffset,
int yOffset)
draw in interface mezz.jei.api.gui.drawable.IDrawablepublic net.minecraft.util.ResourceLocation getResource()