transform

public final static BakedModel transform(BakedModel $self, BlockState blockState, Transformation transformation, Function<SpriteIdentifier, Sprite> textureGetter)(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