public abstract class AnimatedKinetics
extends java.lang.Object
implements mezz.jei.api.gui.drawable.IDrawable
| Modifier and Type | Field and Description |
|---|---|
static ILightingSettings |
DEFAULT_LIGHTING |
int |
offset |
| Constructor and Description |
|---|
AnimatedKinetics() |
| Modifier and Type | Method and Description |
|---|---|
protected GuiGameElement.GuiRenderBuilder |
blockElement(net.minecraft.block.BlockState state) |
protected GuiGameElement.GuiRenderBuilder |
blockElement(com.jozufozu.flywheel.core.PartialModel partial) |
protected com.jozufozu.flywheel.core.PartialModel |
cogwheel() |
static GuiGameElement.GuiRenderBuilder |
defaultBlockElement(net.minecraft.block.BlockState state)
Only use this method outside of subclasses.
Use
blockElement(BlockState) if calling from inside a subclass. |
static GuiGameElement.GuiRenderBuilder |
defaultBlockElement(com.jozufozu.flywheel.core.PartialModel partial)
Only use this method outside of subclasses.
Use
blockElement(PartialModel) if calling from inside a subclass. |
static float |
getCurrentAngle() |
int |
getHeight() |
int |
getWidth() |
protected net.minecraft.block.BlockState |
shaft(net.minecraft.util.Direction.Axis axis) |
public int offset
public static final ILightingSettings DEFAULT_LIGHTING
public static GuiGameElement.GuiRenderBuilder defaultBlockElement(net.minecraft.block.BlockState state)
blockElement(BlockState) if calling from inside a subclass.public static GuiGameElement.GuiRenderBuilder defaultBlockElement(com.jozufozu.flywheel.core.PartialModel partial)
blockElement(PartialModel) if calling from inside a subclass.public static float getCurrentAngle()
protected net.minecraft.block.BlockState shaft(net.minecraft.util.Direction.Axis axis)
protected com.jozufozu.flywheel.core.PartialModel cogwheel()
protected GuiGameElement.GuiRenderBuilder blockElement(net.minecraft.block.BlockState state)
protected GuiGameElement.GuiRenderBuilder blockElement(com.jozufozu.flywheel.core.PartialModel partial)
public int getWidth()
getWidth in interface mezz.jei.api.gui.drawable.IDrawablepublic int getHeight()
getHeight in interface mezz.jei.api.gui.drawable.IDrawable