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 gkk
  • 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 Lgkk;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 Lgkk;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 Lgkk;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 Lgkk;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 Lgkk;i:Lgkm;
    • 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 Lgkk;j:Layo;
  • 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> Lgjn;<init>(Lgjo$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 Lgkk;a(Lciv;)Lakk;
    • 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 Lgkk;a(Lciv;FFLfao;Lgef;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 Lgkk;a(Lcud;)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 Lgkk;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 Lgkk;a(Lgkm;Lfao;Lgef;ILcud;Layo;Ldcg;)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 Lgkk;a(Lgkm;Lfao;Lgef;ILcud;Lgrr;ZLayo;)V