create Fence
Creates a fence model based off another block
Example:
class SofterPastelsModelProvider(generator: FabricDataOutput) : FabricModelProvider(generator) {
override fun generateBlockStateModels(blockStateModelGenerator: BlockModelGenerators) {
createFence(SofterPastelsBlocks.WHITE_PASTEL_BLOCK, SofterPastelsBlocks.WHITE_PASTEL_FENCE_BLOCK, blockStateModelGenerator)
}
}
Content copied to clipboard