public class BracketGenerator extends DirectionalAxisBlockStateGen
  • 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)
     
    <T extends net.minecraft.world.level.block.Block>
    String
    getModelPrefix(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)
     
    static <I extends net.minecraft.world.item.BlockItem, P>
    com.tterrag.registrate.util.nullness.NonNullFunction<com.tterrag.registrate.builders.ItemBuilder<I,P>,P>
    itemModel(String material)
     

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

    getXRotation, getYRotation

    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

    • BracketGenerator

      public BracketGenerator(String material)
  • Method Details

    • getModelPrefix

      public <T extends net.minecraft.world.level.block.Block> String getModelPrefix(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:
      getModelPrefix in class DirectionalAxisBlockStateGen
    • 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)
      Overrides:
      getModel in class DirectionalAxisBlockStateGen
    • itemModel

      public static <I extends net.minecraft.world.item.BlockItem, P> com.tterrag.registrate.util.nullness.NonNullFunction<com.tterrag.registrate.builders.ItemBuilder<I,P>,P> itemModel(String material)