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 Details

    • offset

      public int offset
    • DEFAULT_LIGHTING

      public static final ILightingSettings 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. Use blockElement(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. Use blockElement(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:
      getWidth in interface mezz.jei.api.gui.drawable.IDrawable
    • getHeight

      public int getHeight()
      Specified by:
      getHeight in interface mezz.jei.api.gui.drawable.IDrawable