StaffItemBakedModel

@Environment(value = EnvType.CLIENT)
public final class StaffItemBakedModel implements BakedModel, IStaffItemBakedModel(source)

Default implementation of IStaffItemBakedModel, which returns itself as a model for each block state.

Parameters

blockStateModel

The model of a block state. BakedModel implementation is delegated to it

Constructors

Link copied to clipboard

Inherited functions

Link copied to clipboard
public BakedModel getModel(ItemStack staffStack)

Gets a model for the given staff item stack.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public List<BakedQuad> getQuads(@Nullable() BlockState state, @Nullable() Direction face, Random random)
Link copied to clipboard
Link copied to clipboard
public Boolean hasDepth()
Link copied to clipboard
public Boolean isBuiltin()
Link copied to clipboard
public Boolean isSideLit()
Link copied to clipboard
public final BakedModel transform(BlockState blockState, Transformation transformation, Function<SpriteIdentifier, Sprite> textureGetter)

Creates a new transformed model.

Link copied to clipboard