bake
public BakedModel bake(Baker baker, Function<SpriteIdentifier, Sprite> textureGetter, ModelBakeSettings rotationContainer, Identifier modelId)(source)
public abstract IStaffItemBakedModel bake(Baker baker, Function<SpriteIdentifier, Sprite> textureGetter, ModelBakeSettings rotationContainer, Identifier modelId, Transformation transformation)(source)
Bakes the item model.
Parameters
baker
The baker used to load and bake additional models
texture Getter
Function to get a Sprite from a SpriteIdentifier
rotation Container
The model rotation container
model Id
The identifier of the staff model being baked. This is not the ID of the item in the staff
transformation
The transformation, which transforms the item into the staff