Class ItemEntityRenderer

java.lang.Object
net.minecraft.client.render.entity.EntityRenderer<ItemEntity>
net.minecraft.client.render.entity.ItemEntityRenderer

@Environment(CLIENT)
public class ItemEntityRenderer
extends EntityRenderer<ItemEntity>
Mappings:
Namespace Name
official end
intermediary net/minecraft/class_916
named net/minecraft/client/render/entity/ItemEntityRenderer
  • Field Details

    • itemRenderer

      private final ItemRenderer itemRenderer
      Mappings:
      Namespace Name Mixin selector
      official a Lend;a:Lenf;
      intermediary field_4726 Lnet/minecraft/class_916;field_4726:Lnet/minecraft/class_918;
      named itemRenderer Lnet/minecraft/client/render/entity/ItemEntityRenderer;itemRenderer:Lnet/minecraft/client/render/item/ItemRenderer;
    • random

      private final Random random
      Mappings:
      Namespace Name Mixin selector
      official e Lend;e:Ljava/util/Random;
      intermediary field_4725 Lnet/minecraft/class_916;field_4725:Ljava/util/Random;
      named random Lnet/minecraft/client/render/entity/ItemEntityRenderer;random:Ljava/util/Random;
  • Constructor Details

    • ItemEntityRenderer

      public ItemEntityRenderer​(EntityRendererFactory.Context ctx)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lemi;<init>(Lemj$a;)V
      intermediary <init> Lnet/minecraft/class_897;<init>(Lnet/minecraft/class_5617$class_5618;)V
      named <init> Lnet/minecraft/client/render/entity/EntityRenderer;<init>(Lnet/minecraft/client/render/entity/EntityRendererFactory$Context;)V
  • Method Details

    • getRenderedAmount

      private int getRenderedAmount​(ItemStack stack)
      Mappings:
      Namespace Name Mixin selector
      official a Lend;a(Lbnv;)I
      intermediary method_3998 Lnet/minecraft/class_916;method_3998(Lnet/minecraft/class_1799;)I
      named getRenderedAmount Lnet/minecraft/client/render/entity/ItemEntityRenderer;getRenderedAmount(Lnet/minecraft/item/ItemStack;)I
    • render

      public void render​(ItemEntity itemEntity, float float2, float float3, MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2)
      Overrides:
      render in class EntityRenderer<ItemEntity>
      Mappings:
      Namespace Name Mixin selector
      official a Lend;a(Lbek;FFLdlr;Lehq;I)V
      intermediary method_3996 Lnet/minecraft/class_916;method_3996(Lnet/minecraft/class_1542;FFLnet/minecraft/class_4587;Lnet/minecraft/class_4597;I)V
      named render Lnet/minecraft/client/render/entity/ItemEntityRenderer;render(Lnet/minecraft/entity/ItemEntity;FFLnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;I)V
    • getTexture

      public Identifier getTexture​(ItemEntity itemEntity)
      Specified by:
      getTexture in class EntityRenderer<ItemEntity>
      Mappings:
      Namespace Name Mixin selector
      official a Lend;a(Lbek;)Lwb;
      intermediary method_3999 Lnet/minecraft/class_916;method_3999(Lnet/minecraft/class_1542;)Lnet/minecraft/class_2960;
      named getTexture Lnet/minecraft/client/render/entity/ItemEntityRenderer;getTexture(Lnet/minecraft/entity/ItemEntity;)Lnet/minecraft/util/Identifier;