Class ControllerRailGenerator
java.lang.Object
com.simibubi.create.foundation.data.SpecialBlockStateGen
com.simibubi.create.content.contraptions.components.tracks.ControllerRailGenerator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected net.minecraft.world.level.block.state.properties.Property<?>[]<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) protected intgetXRotation(net.minecraft.world.level.block.state.BlockState state) protected intgetYRotation(net.minecraft.world.level.block.state.BlockState state) Methods inherited from class com.simibubi.create.foundation.data.SpecialBlockStateGen
generate, horizontalAngle
-
Constructor Details
-
ControllerRailGenerator
public ControllerRailGenerator()
-
-
Method Details
-
getIgnoredProperties
protected net.minecraft.world.level.block.state.properties.Property<?>[] getIgnoredProperties()- Overrides:
getIgnoredPropertiesin classSpecialBlockStateGen
-
getXRotation
protected int getXRotation(net.minecraft.world.level.block.state.BlockState state) - Specified by:
getXRotationin classSpecialBlockStateGen
-
getYRotation
protected int getYRotation(net.minecraft.world.level.block.state.BlockState state) - Specified by:
getYRotationin classSpecialBlockStateGen
-
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:
getModelin classSpecialBlockStateGen
-