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 fpu
intermediary net/minecraft/class_916
named net/minecraft/client/render/entity/ItemEntityRenderer
  • Field Details

    • field_32924

      private static final float field_32924
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lfpu;a:F
      intermediary field_32924 Lnet/minecraft/class_916;field_32924:F
      named field_32924 Lnet/minecraft/client/render/entity/ItemEntityRenderer;field_32924:F
    • MAX_COUNT_FOR_4_ITEMS_RENDERED

      private static final int MAX_COUNT_FOR_4_ITEMS_RENDERED
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official f Lfpu;f:I
      intermediary field_32925 Lnet/minecraft/class_916;field_32925:I
      named MAX_COUNT_FOR_4_ITEMS_RENDERED Lnet/minecraft/client/render/entity/ItemEntityRenderer;MAX_COUNT_FOR_4_ITEMS_RENDERED:I
    • MAX_COUNT_FOR_3_ITEMS_RENDERED

      private static final int MAX_COUNT_FOR_3_ITEMS_RENDERED
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official g Lfpu;g:I
      intermediary field_32926 Lnet/minecraft/class_916;field_32926:I
      named MAX_COUNT_FOR_3_ITEMS_RENDERED Lnet/minecraft/client/render/entity/ItemEntityRenderer;MAX_COUNT_FOR_3_ITEMS_RENDERED:I
    • MAX_COUNT_FOR_2_ITEMS_RENDERED

      private static final int MAX_COUNT_FOR_2_ITEMS_RENDERED
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official h Lfpu;h:I
      intermediary field_32927 Lnet/minecraft/class_916;field_32927:I
      named MAX_COUNT_FOR_2_ITEMS_RENDERED Lnet/minecraft/client/render/entity/ItemEntityRenderer;MAX_COUNT_FOR_2_ITEMS_RENDERED:I
    • MAX_COUNT_FOR_1_ITEM_RENDERED

      private static final int MAX_COUNT_FOR_1_ITEM_RENDERED
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official i Lfpu;i:I
      intermediary field_32928 Lnet/minecraft/class_916;field_32928:I
      named MAX_COUNT_FOR_1_ITEM_RENDERED Lnet/minecraft/client/render/entity/ItemEntityRenderer;MAX_COUNT_FOR_1_ITEM_RENDERED:I
    • field_32929

      private static final float field_32929
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official j Lfpu;j:F
      intermediary field_32929 Lnet/minecraft/class_916;field_32929:F
      named field_32929 Lnet/minecraft/client/render/entity/ItemEntityRenderer;field_32929:F
    • field_32930

      private static final float field_32930
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official k Lfpu;k:F
      intermediary field_32930 Lnet/minecraft/class_916;field_32930:F
      named field_32930 Lnet/minecraft/client/render/entity/ItemEntityRenderer;field_32930:F
    • field_32931

      private static final float field_32931
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official l Lfpu;l:F
      intermediary field_32931 Lnet/minecraft/class_916;field_32931:F
      named field_32931 Lnet/minecraft/client/render/entity/ItemEntityRenderer;field_32931:F
    • itemRenderer

      private final ItemRenderer itemRenderer
      Mappings:
      Namespace Name Mixin selector
      official m Lfpu;m:Lfpw;
      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 n Lfpu;n:Lapf;
      intermediary field_4725 Lnet/minecraft/class_916;field_4725:Lnet/minecraft/class_5819;
      named random Lnet/minecraft/client/render/entity/ItemEntityRenderer;random:Lnet/minecraft/util/math/random/Random;
  • Constructor Details

    • ItemEntityRenderer

      public ItemEntityRenderer(EntityRendererFactory.Context ctx)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lfox;<init>(Lfoy$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 Lfpu;a(Lcfz;)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 Lfpu;a(Lbvh;FFLeij;Lfjx;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 Lfpu;a(Lbvh;)Lacq;
      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;