IStaffItemBakedModel

@Environment(value = EnvType.CLIENT)
interface IStaffItemBakedModel : BakedModel(source)

A BakedModel of an item, which can be placed into the staff.

Inheritors

Functions

Link copied to clipboard
open fun getModel(staffStack: ItemStack): BakedModel

Gets a model for the given staff item stack.

Inherited functions

Link copied to clipboard
Link copied to clipboard
abstract fun getParticleSprite(): Sprite
Link copied to clipboard
abstract fun getQuads(@Nullable state: BlockState?, @Nullable face: Direction?, random: Random): MutableList<BakedQuad>
Link copied to clipboard
Link copied to clipboard
abstract fun hasDepth(): Boolean
Link copied to clipboard
abstract fun isBuiltin(): Boolean
Link copied to clipboard
abstract fun isSideLit(): Boolean
Link copied to clipboard
fun BakedModel.transform(blockState: BlockState?, transformation: Transformation, textureGetter: Function<SpriteIdentifier, Sprite>): BakedModel

Creates a new transformed model.

Link copied to clipboard