BuiltinItemRenderer

public interface BuiltinItemRenderer

Builtin item renderers render items with custom code. They allow using non-model rendering, such as BERs, for items.

An item with a builtin renderer must have a model extending {@code minecraft:builtin/entity}. The renderers are registered with register.

Deprecated

Please use BuiltinItemRendererRegistry.DynamicItemRenderer instead.

Functions

render
Link copied to clipboard
abstract void render(ItemStack stack, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, int overlay)
Renders an item stack.

Sources

jvm source
Link copied to clipboard