Class ItemRenderer

java.lang.Object
net.minecraft.client.render.item.ItemRenderer

@Environment(CLIENT) public class ItemRenderer extends Object
Mappings:
Namespace Name
named net/minecraft/client/render/item/ItemRenderer
intermediary net/minecraft/class_918
official gta
  • Field Details

    • ENTITY_ENCHANTMENT_GLINT

      public static final Identifier ENTITY_ENCHANTMENT_GLINT
      Mappings:
      Namespace Name Mixin selector
      named ENTITY_ENCHANTMENT_GLINT Lnet/minecraft/client/render/item/ItemRenderer;ENTITY_ENCHANTMENT_GLINT:Lnet/minecraft/util/Identifier;
      intermediary field_43086 Lnet/minecraft/class_918;field_43086:Lnet/minecraft/class_2960;
      official a Lgta;a:Laku;
    • ITEM_ENCHANTMENT_GLINT

      public static final Identifier ITEM_ENCHANTMENT_GLINT
      Mappings:
      Namespace Name Mixin selector
      named ITEM_ENCHANTMENT_GLINT Lnet/minecraft/client/render/item/ItemRenderer;ITEM_ENCHANTMENT_GLINT:Lnet/minecraft/util/Identifier;
      intermediary field_43087 Lnet/minecraft/class_918;field_43087:Lnet/minecraft/class_2960;
      official b Lgta;b:Laku;
    • field_32937

      public static final int field_32937
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_32937 Lnet/minecraft/client/render/item/ItemRenderer;field_32937:I
      intermediary field_32937 Lnet/minecraft/class_918;field_32937:I
      official c Lgta;c:I
    • field_32938

      public static final int field_32938
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_32938 Lnet/minecraft/client/render/item/ItemRenderer;field_32938:I
      intermediary field_32938 Lnet/minecraft/class_918;field_32938:I
      official d Lgta;d:I
    • field_32934

      public static final int field_32934
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_32934 Lnet/minecraft/client/render/item/ItemRenderer;field_32934:I
      intermediary field_32934 Lnet/minecraft/class_918;field_32934:I
      official e Lgta;e:I
    • COMPASS_WITH_GLINT_GUI_MODEL_MULTIPLIER

      public static final float COMPASS_WITH_GLINT_GUI_MODEL_MULTIPLIER
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named COMPASS_WITH_GLINT_GUI_MODEL_MULTIPLIER Lnet/minecraft/client/render/item/ItemRenderer;COMPASS_WITH_GLINT_GUI_MODEL_MULTIPLIER:F
      intermediary field_32935 Lnet/minecraft/class_918;field_32935:F
      official f Lgta;f:F
    • COMPASS_WITH_GLINT_FIRST_PERSON_MODEL_MULTIPLIER

      public static final float COMPASS_WITH_GLINT_FIRST_PERSON_MODEL_MULTIPLIER
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named COMPASS_WITH_GLINT_FIRST_PERSON_MODEL_MULTIPLIER Lnet/minecraft/client/render/item/ItemRenderer;COMPASS_WITH_GLINT_FIRST_PERSON_MODEL_MULTIPLIER:F
      intermediary field_32936 Lnet/minecraft/class_918;field_32936:F
      official g Lgta;g:F
    • field_41120

      public static final float field_41120
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_41120 Lnet/minecraft/client/render/item/ItemRenderer;field_41120:F
      intermediary field_41120 Lnet/minecraft/class_918;field_41120:F
      official h Lgta;h:F
    • field_55295

      public static final int field_55295
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_55295 Lnet/minecraft/client/render/item/ItemRenderer;field_55295:I
      intermediary field_55295 Lnet/minecraft/class_918;field_55295:I
      official i Lgta;i:I
    • field_55296

      private final class_10442 field_55296
      Mappings:
      Namespace Name Mixin selector
      named field_55296 Lnet/minecraft/client/render/item/ItemRenderer;field_55296:Lnet/minecraft/class_10442;
      intermediary field_55296 Lnet/minecraft/class_918;field_55296:Lnet/minecraft/class_10442;
      official j Lgta;j:Lhbj;
    • field_55297

      private final class_10444 field_55297
      Mappings:
      Namespace Name Mixin selector
      named field_55297 Lnet/minecraft/client/render/item/ItemRenderer;field_55297:Lnet/minecraft/class_10444;
      intermediary field_55297 Lnet/minecraft/class_918;field_55297:Lnet/minecraft/class_10444;
      official k Lgta;k:Lhbl;
  • Constructor Details

    • ItemRenderer

      public ItemRenderer(class_10442 class_10442)
  • Method Details

    • renderBakedItemModel

      private static void renderBakedItemModel(BakedModel bakedModel, int[] int2, int int3, int int4, MatrixStack matrixStack, VertexConsumer vertexConsumer)
      Mappings:
      Namespace Name Mixin selector
      named renderBakedItemModel Lnet/minecraft/client/render/item/ItemRenderer;renderBakedItemModel(Lnet/minecraft/client/render/model/BakedModel;[IIILnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumer;)V
      intermediary method_23182 Lnet/minecraft/class_918;method_23182(Lnet/minecraft/class_1087;[IIILnet/minecraft/class_4587;Lnet/minecraft/class_4588;)V
      official a Lgta;a(Lhgl;[IIILffu;Lffy;)V
    • renderItem

      public static void renderItem(ModelTransformationMode modelTransformationMode, MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2, int int3, int[] int4, BakedModel bakedModel, RenderLayer renderLayer, class_10444.class_10445 class_10445)
      Mappings:
      Namespace Name Mixin selector
      named renderItem Lnet/minecraft/client/render/item/ItemRenderer;renderItem(Lnet/minecraft/item/ModelTransformationMode;Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;II[ILnet/minecraft/client/render/model/BakedModel;Lnet/minecraft/client/render/RenderLayer;Lnet/minecraft/class_10444$class_10445;)V
      intermediary method_62476 Lnet/minecraft/class_918;method_62476(Lnet/minecraft/class_811;Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;II[ILnet/minecraft/class_1087;Lnet/minecraft/class_1921;Lnet/minecraft/class_10444$class_10445;)V
      official a Lgta;a(Lcwn;Lffu;Lglx;II[ILhgl;Lgmh;Lhbl$a;)V
    • getArmorGlintConsumer

      public static VertexConsumer getArmorGlintConsumer(VertexConsumerProvider provider, RenderLayer layer, boolean glint)
      Mappings:
      Namespace Name Mixin selector
      named getArmorGlintConsumer Lnet/minecraft/client/render/item/ItemRenderer;getArmorGlintConsumer(Lnet/minecraft/client/render/VertexConsumerProvider;Lnet/minecraft/client/render/RenderLayer;Z)Lnet/minecraft/client/render/VertexConsumer;
      intermediary method_27952 Lnet/minecraft/class_918;method_27952(Lnet/minecraft/class_4597;Lnet/minecraft/class_1921;Z)Lnet/minecraft/class_4588;
      official a Lgta;a(Lglx;Lgmh;Z)Lffy;
    • getDynamicDisplayGlintConsumer

      private static VertexConsumer getDynamicDisplayGlintConsumer(VertexConsumerProvider provider, RenderLayer layer, MatrixStack.Entry entry)
      Mappings:
      Namespace Name Mixin selector
      named getDynamicDisplayGlintConsumer Lnet/minecraft/client/render/item/ItemRenderer;getDynamicDisplayGlintConsumer(Lnet/minecraft/client/render/VertexConsumerProvider;Lnet/minecraft/client/render/RenderLayer;Lnet/minecraft/client/util/math/MatrixStack$Entry;)Lnet/minecraft/client/render/VertexConsumer;
      intermediary method_30114 Lnet/minecraft/class_918;method_30114(Lnet/minecraft/class_4597;Lnet/minecraft/class_1921;Lnet/minecraft/class_4587$class_4665;)Lnet/minecraft/class_4588;
      official a Lgta;a(Lglx;Lgmh;Lffu$a;)Lffy;
    • getItemGlintConsumer

      public static VertexConsumer getItemGlintConsumer(VertexConsumerProvider vertexConsumers, RenderLayer layer, boolean solid, boolean glint)
      Mappings:
      Namespace Name Mixin selector
      named getItemGlintConsumer Lnet/minecraft/client/render/item/ItemRenderer;getItemGlintConsumer(Lnet/minecraft/client/render/VertexConsumerProvider;Lnet/minecraft/client/render/RenderLayer;ZZ)Lnet/minecraft/client/render/VertexConsumer;
      intermediary method_23181 Lnet/minecraft/class_918;method_23181(Lnet/minecraft/class_4597;Lnet/minecraft/class_1921;ZZ)Lnet/minecraft/class_4588;
      official a Lgta;a(Lglx;Lgmh;ZZ)Lffy;
    • method_65569

      private static int method_65569(int[] int2, int int3)
      Mappings:
      Namespace Name Mixin selector
      named method_65569 Lnet/minecraft/client/render/item/ItemRenderer;method_65569([II)I
      intermediary method_65569 Lnet/minecraft/class_918;method_65569([II)I
      official a Lgta;a([II)I
    • renderBakedItemQuads

      private static void renderBakedItemQuads(MatrixStack matrixStack, VertexConsumer vertexConsumer, List<BakedQuad> list, int[] int2, int int3, int int4)
      Mappings:
      Namespace Name Mixin selector
      named renderBakedItemQuads Lnet/minecraft/client/render/item/ItemRenderer;renderBakedItemQuads(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumer;Ljava/util/List;[III)V
      intermediary method_23180 Lnet/minecraft/class_918;method_23180(Lnet/minecraft/class_4587;Lnet/minecraft/class_4588;Ljava/util/List;[III)V
      official a Lgta;a(Lffu;Lffy;Ljava/util/List;[III)V
    • renderItem

      public void renderItem(ItemStack stack, ModelTransformationMode transformationMode, int light, int overlay, MatrixStack matrices, VertexConsumerProvider vertexConsumers, @Nullable @Nullable World world, int seed)
      Mappings:
      Namespace Name Mixin selector
      named renderItem Lnet/minecraft/client/render/item/ItemRenderer;renderItem(Lnet/minecraft/item/ItemStack;Lnet/minecraft/item/ModelTransformationMode;IILnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;Lnet/minecraft/world/World;I)V
      intermediary method_23178 Lnet/minecraft/class_918;method_23178(Lnet/minecraft/class_1799;Lnet/minecraft/class_811;IILnet/minecraft/class_4587;Lnet/minecraft/class_4597;Lnet/minecraft/class_1937;I)V
      official a Lgta;a(Lcwp;Lcwn;IILffu;Lglx;Ldgi;I)V
    • renderItem

      public void renderItem(@Nullable @Nullable LivingEntity entity, ItemStack itemStack, ModelTransformationMode transformationMode, boolean leftHanded, MatrixStack matrices, VertexConsumerProvider vertexConsumers, @Nullable @Nullable World world, int light, int overlay, int seed)
      Mappings:
      Namespace Name Mixin selector
      named renderItem Lnet/minecraft/client/render/item/ItemRenderer;renderItem(Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/item/ItemStack;Lnet/minecraft/item/ModelTransformationMode;ZLnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;Lnet/minecraft/world/World;III)V
      intermediary method_23177 Lnet/minecraft/class_918;method_23177(Lnet/minecraft/class_1309;Lnet/minecraft/class_1799;Lnet/minecraft/class_811;ZLnet/minecraft/class_4587;Lnet/minecraft/class_4597;Lnet/minecraft/class_1937;III)V
      official a Lgta;a(Lbvg;Lcwp;Lcwn;ZLffu;Lglx;Ldgi;III)V