public class DrawableAnimated
extends java.lang.Object
implements mezz.jei.api.gui.IDrawableAnimated
Constructor and Description |
---|
DrawableAnimated(mezz.jei.api.gui.IDrawableStatic drawable,
int ticksPerCycle,
mezz.jei.api.gui.IDrawableAnimated.StartDirection startDirection,
boolean inverted) |
DrawableAnimated(mezz.jei.api.gui.IDrawableStatic drawable,
mezz.jei.api.gui.ITickTimer tickTimer,
mezz.jei.api.gui.IDrawableAnimated.StartDirection startDirection) |
Modifier and Type | Method and Description |
---|---|
void |
draw(net.minecraft.client.Minecraft minecraft,
int xOffset,
int yOffset) |
int |
getHeight() |
int |
getWidth() |
public DrawableAnimated(mezz.jei.api.gui.IDrawableStatic drawable, int ticksPerCycle, mezz.jei.api.gui.IDrawableAnimated.StartDirection startDirection, boolean inverted)
public DrawableAnimated(mezz.jei.api.gui.IDrawableStatic drawable, mezz.jei.api.gui.ITickTimer tickTimer, mezz.jei.api.gui.IDrawableAnimated.StartDirection startDirection)
public int getWidth()
getWidth
in interface mezz.jei.api.gui.IDrawable
public int getHeight()
getHeight
in interface mezz.jei.api.gui.IDrawable
public void draw(net.minecraft.client.Minecraft minecraft, int xOffset, int yOffset)
draw
in interface mezz.jei.api.gui.IDrawable