java.lang.Object
com.simibubi.create.foundation.data.SpecialBlockStateGen
com.simibubi.create.content.contraptions.components.flywheel.FlywheelGenerator

public class FlywheelGenerator extends SpecialBlockStateGen
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    <T extends net.minecraft.world.level.block.Block>
    net.minecraftforge.client.model.generators.ModelFile
    getModel(com.tterrag.registrate.providers.DataGenContext<net.minecraft.world.level.block.Block,T> ctx, com.tterrag.registrate.providers.RegistrateBlockstateProvider prov, net.minecraft.world.level.block.state.BlockState state)
     
    protected int
    getXRotation(net.minecraft.world.level.block.state.BlockState state)
     
    protected int
    getYRotation(net.minecraft.world.level.block.state.BlockState state)
     

    Methods inherited from class com.simibubi.create.foundation.data.SpecialBlockStateGen

    generate, getIgnoredProperties, horizontalAngle

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • FlywheelGenerator

      public FlywheelGenerator()
  • Method Details

    • getXRotation

      protected int getXRotation(net.minecraft.world.level.block.state.BlockState state)
      Specified by:
      getXRotation in class SpecialBlockStateGen
    • getYRotation

      protected int getYRotation(net.minecraft.world.level.block.state.BlockState state)
      Specified by:
      getYRotation in class SpecialBlockStateGen
    • getModel

      public <T extends net.minecraft.world.level.block.Block> net.minecraftforge.client.model.generators.ModelFile getModel(com.tterrag.registrate.providers.DataGenContext<net.minecraft.world.level.block.Block,T> ctx, com.tterrag.registrate.providers.RegistrateBlockstateProvider prov, net.minecraft.world.level.block.state.BlockState state)
      Specified by:
      getModel in class SpecialBlockStateGen