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