transform
fun BakedModel.transform(blockState: BlockState?, transformation: Transformation, textureGetter: Function<SpriteIdentifier, Sprite>): BakedModel(source)
Creates a new transformed model.
Parameters
block State
Passed to BakedModel.getQuads
transformation
The transformation to apply to the model
texture Getter
Function from UnbakedModel.bake used to obtain the missing sprite