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

    • field_32924

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

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

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

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

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

      private final Random random
      Mappings:
      Namespace Name Mixin selector
      named random Lnet/minecraft/client/render/entity/ItemEntityRenderer;random:Lnet/minecraft/util/math/random/Random;
      intermediary field_4725 Lnet/minecraft/class_916;field_4725:Lnet/minecraft/class_5819;
      official j Lgjv;j:Lazh;
  • Constructor Details

    • ItemEntityRenderer

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

    • getTexture

      public Identifier getTexture(ItemEntity itemEntity)
      Specified by:
      getTexture in class EntityRenderer<ItemEntity>
      Mappings:
      Namespace Name Mixin selector
      named getTexture Lnet/minecraft/client/render/entity/ItemEntityRenderer;getTexture(Lnet/minecraft/entity/ItemEntity;)Lnet/minecraft/util/Identifier;
      intermediary method_3999 Lnet/minecraft/class_916;method_3999(Lnet/minecraft/class_1542;)Lnet/minecraft/class_2960;
      official a Lgjv;a(Lcjj;)Lalf;
    • 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
      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
      intermediary method_3996 Lnet/minecraft/class_916;method_3996(Lnet/minecraft/class_1542;FFLnet/minecraft/class_4587;Lnet/minecraft/class_4597;I)V
      official a Lgjv;a(Lcjj;FFLfaa;Lgdq;I)V
    • getSeed

      public static int getSeed(ItemStack stack)
      Mappings:
      Namespace Name Mixin selector
      named getSeed Lnet/minecraft/client/render/entity/ItemEntityRenderer;getSeed(Lnet/minecraft/item/ItemStack;)I
      intermediary method_56856 Lnet/minecraft/class_916;method_56856(Lnet/minecraft/class_1799;)I
      official a Lgjv;a(Lcur;)I
    • getRenderedAmount

      static int getRenderedAmount(int stackSize)
      Mappings:
      Namespace Name Mixin selector
      named getRenderedAmount Lnet/minecraft/client/render/entity/ItemEntityRenderer;getRenderedAmount(I)I
      intermediary method_56855 Lnet/minecraft/class_916;method_56855(I)I
      official a Lgjv;a(I)I
    • renderStack

      public static void renderStack(ItemRenderer itemRenderer, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, ItemStack stack, Random random, World world)
      Mappings:
      Namespace Name Mixin selector
      named renderStack Lnet/minecraft/client/render/entity/ItemEntityRenderer;renderStack(Lnet/minecraft/client/render/item/ItemRenderer;Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;ILnet/minecraft/item/ItemStack;Lnet/minecraft/util/math/random/Random;Lnet/minecraft/world/World;)V
      intermediary method_56857 Lnet/minecraft/class_916;method_56857(Lnet/minecraft/class_918;Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;ILnet/minecraft/class_1799;Lnet/minecraft/class_5819;Lnet/minecraft/class_1937;)V
      official a Lgjv;a(Lgjx;Lfaa;Lgdq;ILcur;Lazh;Ldca;)V
    • renderStack

      public static void renderStack(ItemRenderer itemRenderer, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, ItemStack stack, BakedModel model, boolean depth, Random random)
      Mappings:
      Namespace Name Mixin selector
      named renderStack Lnet/minecraft/client/render/entity/ItemEntityRenderer;renderStack(Lnet/minecraft/client/render/item/ItemRenderer;Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;ILnet/minecraft/item/ItemStack;Lnet/minecraft/client/render/model/BakedModel;ZLnet/minecraft/util/math/random/Random;)V
      intermediary method_56858 Lnet/minecraft/class_916;method_56858(Lnet/minecraft/class_918;Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;ILnet/minecraft/class_1799;Lnet/minecraft/class_1087;ZLnet/minecraft/class_5819;)V
      official a Lgjv;a(Lgjx;Lfaa;Lgdq;ILcur;Lgrc;ZLazh;)V