transform

fun BakedModel.transform(blockState: BlockState?, transformation: Transformation, textureGetter: Function<SpriteIdentifier, Sprite>): BakedModel(source)

Creates a new transformed model.

Parameters

blockState
transformation

The transformation to apply to the model

textureGetter

Function from UnbakedModel.bake used to obtain the missing sprite