public class DrawableResource
extends java.lang.Object
implements mezz.jei.api.gui.IDrawableStatic
| Constructor and Description |
|---|
DrawableResource(net.minecraft.util.ResourceLocation resourceLocation,
int u,
int v,
int width,
int height,
int paddingTop,
int paddingBottom,
int paddingLeft,
int paddingRight,
int textureWidth,
int textureHeight) |
| Modifier and Type | Method and Description |
|---|---|
void |
draw(net.minecraft.client.Minecraft minecraft) |
void |
draw(net.minecraft.client.Minecraft minecraft,
int xOffset,
int yOffset) |
void |
draw(net.minecraft.client.Minecraft minecraft,
int xOffset,
int yOffset,
int maskTop,
int maskBottom,
int maskLeft,
int maskRight) |
int |
getHeight() |
int |
getWidth() |
public DrawableResource(net.minecraft.util.ResourceLocation resourceLocation,
int u,
int v,
int width,
int height,
int paddingTop,
int paddingBottom,
int paddingLeft,
int paddingRight,
int textureWidth,
int textureHeight)
public int getWidth()
getWidth in interface mezz.jei.api.gui.IDrawablepublic int getHeight()
getHeight in interface mezz.jei.api.gui.IDrawablepublic void draw(net.minecraft.client.Minecraft minecraft)
draw in interface mezz.jei.api.gui.IDrawablepublic void draw(net.minecraft.client.Minecraft minecraft,
int xOffset,
int yOffset)
draw in interface mezz.jei.api.gui.IDrawablepublic void draw(net.minecraft.client.Minecraft minecraft,
int xOffset,
int yOffset,
int maskTop,
int maskBottom,
int maskLeft,
int maskRight)
draw in interface mezz.jei.api.gui.IDrawableStatic