Package com.petrolpark.compat.jei
Class JEIBlockRenderer
java.lang.Object
com.simibubi.create.compat.jei.category.animations.AnimatedKinetics
com.petrolpark.compat.jei.JEIBlockRenderer
- All Implemented Interfaces:
mezz.jei.api.gui.drawable.IDrawable
public class JEIBlockRenderer
extends com.simibubi.create.compat.jei.category.animations.AnimatedKinetics
-
Field Summary
Fields inherited from class com.simibubi.create.compat.jei.category.animations.AnimatedKinetics
DEFAULT_LIGHTING, offset -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddraw(net.minecraft.client.gui.GuiGraphics graphics, int xOffset, int yOffset) voidrenderBlock(net.minecraft.world.level.block.state.BlockState blockState, net.minecraft.client.gui.GuiGraphics graphics, double scale) Render the given Block State.Methods inherited from class com.simibubi.create.compat.jei.category.animations.AnimatedKinetics
blockElement, blockElement, cogwheel, defaultBlockElement, defaultBlockElement, getCurrentAngle, getHeight, getWidth, shaftMethods 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
-
Constructor Details
-
JEIBlockRenderer
public JEIBlockRenderer()
-
-
Method Details
-
renderBlock
public void renderBlock(net.minecraft.world.level.block.state.BlockState blockState, net.minecraft.client.gui.GuiGraphics graphics, double scale) Render the given Block State.- Parameters:
blockState-scale- The relative size of the Block
-
draw
public void draw(@Nonnull net.minecraft.client.gui.GuiGraphics graphics, int xOffset, int yOffset)
-