Class AnimatedKinetics
java.lang.Object
com.simibubi.create.compat.jei.category.animations.AnimatedKinetics
- All Implemented Interfaces:
mezz.jei.api.gui.drawable.IDrawable
- Direct Known Subclasses:
AnimatedBlazeBurner,AnimatedCrafter,AnimatedCrushingWheels,AnimatedDeployer,AnimatedItemDrain,AnimatedMillstone,AnimatedMixer,AnimatedPress,AnimatedSaw,AnimatedSpout
public abstract class AnimatedKinetics
extends Object
implements mezz.jei.api.gui.drawable.IDrawable
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected GuiGameElement.GuiRenderBuilderblockElement(com.jozufozu.flywheel.core.PartialModel partial) protected GuiGameElement.GuiRenderBuilderblockElement(net.minecraft.world.level.block.state.BlockState state) protected com.jozufozu.flywheel.core.PartialModelcogwheel()defaultBlockElement(com.jozufozu.flywheel.core.PartialModel partial) Only use this method outside of subclasses. UseblockElement(PartialModel)if calling from inside a subclass.defaultBlockElement(net.minecraft.world.level.block.state.BlockState state) Only use this method outside of subclasses. UseblockElement(BlockState)if calling from inside a subclass.static floatintintgetWidth()protected net.minecraft.world.level.block.state.BlockStateshaft(net.minecraft.core.Direction.Axis axis) 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, draw
-
Field Details
-
offset
public int offset -
DEFAULT_LIGHTING
-
-
Constructor Details
-
AnimatedKinetics
public AnimatedKinetics()
-
-
Method Details
-
defaultBlockElement
public static GuiGameElement.GuiRenderBuilder defaultBlockElement(net.minecraft.world.level.block.state.BlockState state) Only use this method outside of subclasses. UseblockElement(BlockState)if calling from inside a subclass. -
defaultBlockElement
public static GuiGameElement.GuiRenderBuilder defaultBlockElement(com.jozufozu.flywheel.core.PartialModel partial) Only use this method outside of subclasses. UseblockElement(PartialModel)if calling from inside a subclass. -
getCurrentAngle
public static float getCurrentAngle() -
shaft
protected net.minecraft.world.level.block.state.BlockState shaft(net.minecraft.core.Direction.Axis axis) -
cogwheel
protected com.jozufozu.flywheel.core.PartialModel cogwheel() -
blockElement
protected GuiGameElement.GuiRenderBuilder blockElement(net.minecraft.world.level.block.state.BlockState state) -
blockElement
protected GuiGameElement.GuiRenderBuilder blockElement(com.jozufozu.flywheel.core.PartialModel partial) -
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
-