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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    draw(net.minecraft.client.gui.GuiGraphics graphics, int xOffset, int yOffset)
     
    void
    renderBlock(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, shaft

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods 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)