Interface BuiltinItemRenderer

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@Deprecated @FunctionalInterface public interface BuiltinItemRenderer
Deprecated.
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 minecraft:builtin/entity. The renderers are registered with BuiltinItemRendererRegistry.register(Item, BuiltinItemRenderer).

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    render(ItemStack stack, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, int overlay)
    Deprecated.
    Renders an item stack.
  • Method Details

    • render

      void render(ItemStack stack, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, int overlay)
      Deprecated.
      Renders an item stack.
      Parameters:
      stack - the rendered item stack
      matrices - the matrix stack
      vertexConsumers - the vertex consumer provider
      light - the color light multiplier at the rendering position
      overlay - the overlay UV passed to VertexConsumer.overlay(int)