createPillar

fun createPillar(pillarBlock: RotatedPillarBlock, blockStateModelGenerator: BlockModelGenerators)(source)

Creates a pillar model

Example:

class DesolatedPastelsModelProvider(generator: FabricDataOutput) : FabricModelProvider(generator) {
override fun generateBlockStateModels(blockStateModelGenerator: BlockModelGenerators) {
ModelGenerators.createPillar(DesolatedPastelsBlocks.LIGHT_GREEN_LOG as RotatedPillarBlock, blockStateModelGenerator)
}
}