Class BracketGenerator
java.lang.Object
com.simibubi.create.foundation.data.SpecialBlockStateGen
com.simibubi.create.foundation.data.DirectionalAxisBlockStateGen
com.simibubi.create.content.contraptions.fluids.pipes.BracketGenerator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T extends net.minecraft.world.level.block.Block>
net.minecraftforge.client.model.generators.ModelFilegetModel(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>
StringgetModelPrefix(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>Methods inherited from class com.simibubi.create.foundation.data.DirectionalAxisBlockStateGen
getXRotation, getYRotationMethods inherited from class com.simibubi.create.foundation.data.SpecialBlockStateGen
generate, getIgnoredProperties, horizontalAngle
-
Constructor Details
-
BracketGenerator
-
-
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:
getModelPrefixin classDirectionalAxisBlockStateGen
-
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:
getModelin classDirectionalAxisBlockStateGen
-
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)
-