Class TrackBlockStateGenerator

java.lang.Object
com.simibubi.create.foundation.data.SpecialBlockStateGen
com.simibubi.create.content.logistics.trains.track.TrackBlockStateGenerator

public class TrackBlockStateGenerator extends SpecialBlockStateGen
  • Constructor Details

    • TrackBlockStateGenerator

      public TrackBlockStateGenerator()
  • 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