createWall

fun createWall(block: Block, wall: Block, blockStateModelGenerator: BlockModelGenerators)(source)

Creates a wall model based off another block

Example:

class SofterPastelsModelProvider(generator: FabricDataOutput) : FabricModelProvider(generator) {
override fun generateBlockStateModels(blockStateModelGenerator: BlockModelGenerators) {
createWall(SofterPastelsBlocks.WHITE_PASTEL_BLOCK, SofterPastelsBlocks.WHITE_PASTEL_WALL_BLOCK, blockStateModelGenerator)
}
}