Package net.minecraft.client.render.item
Class ItemRenderer
java.lang.Object
net.minecraft.client.render.item.ItemRenderer
- Mappings:
Namespace Name named net/minecraft/client/render/item/ItemRenderer
intermediary net/minecraft/class_918
official hfc
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Identifier
static final int
static final float
static final float
static final float
static final Identifier
private final ItemModelManager
private final ItemRenderState
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic VertexConsumer
getArmorGlintConsumer
(VertexConsumerProvider provider, RenderLayer layer, boolean glint) static VertexConsumer
getItemGlintConsumer
(VertexConsumerProvider vertexConsumers, RenderLayer layer, boolean solid, boolean glint) private static VertexConsumer
getSpecialItemGlintConsumer
(VertexConsumerProvider consumers, RenderLayer layer, MatrixStack.Entry matrix) private static int
getTint
(int[] tints, int index) private static void
renderBakedItemQuads
(MatrixStack matrices, VertexConsumer vertexConsumer, List<BakedQuad> quads, int[] tints, int light, int overlay) void
renderItem
(@Nullable LivingEntity entity, ItemStack stack, ItemDisplayContext displayContext, MatrixStack matrices, VertexConsumerProvider vertexConsumers, @Nullable World world, int light, int overlay, int seed) static void
renderItem
(ItemDisplayContext displayContext, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, int overlay, int[] tints, List<BakedQuad> quads, RenderLayer layer, ItemRenderState.Glint glint) void
renderItem
(ItemStack stack, ItemDisplayContext displayContext, int light, int overlay, MatrixStack matrices, VertexConsumerProvider vertexConsumers, @Nullable World world, int seed) private static boolean
useTranslucentGlint
(RenderLayer renderLayer)
-
Field Details
-
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
Lhfc;a:Lame;
-
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
Lhfc;b:Lame;
-
field_60154
public static final float field_60154- See Also:
- Mappings:
Namespace Name Mixin selector named field_60154
Lnet/minecraft/client/render/item/ItemRenderer;field_60154:F
intermediary field_60154
Lnet/minecraft/class_918;field_60154:F
official c
Lhfc;c:F
-
field_60155
public static final float field_60155- See Also:
- Mappings:
Namespace Name Mixin selector named field_60155
Lnet/minecraft/client/render/item/ItemRenderer;field_60155:F
intermediary field_60155
Lnet/minecraft/class_918;field_60155:F
official d
Lhfc;d:F
-
field_60156
public static final float field_60156- See Also:
- Mappings:
Namespace Name Mixin selector named field_60156
Lnet/minecraft/client/render/item/ItemRenderer;field_60156:F
intermediary field_60156
Lnet/minecraft/class_918;field_60156:F
official e
Lhfc;e: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 f
Lhfc;f:I
-
itemModelManager
- Mappings:
Namespace Name Mixin selector named itemModelManager
Lnet/minecraft/client/render/item/ItemRenderer;itemModelManager:Lnet/minecraft/client/item/ItemModelManager;
intermediary field_55296
Lnet/minecraft/class_918;field_55296:Lnet/minecraft/class_10442;
official g
Lhfc;g:Lhoe;
-
itemRenderState
- Mappings:
Namespace Name Mixin selector named itemRenderState
Lnet/minecraft/client/render/item/ItemRenderer;itemRenderState:Lnet/minecraft/client/render/item/ItemRenderState;
intermediary field_55297
Lnet/minecraft/class_918;field_55297:Lnet/minecraft/class_10444;
official h
Lhfc;h:Lhog;
-
-
Constructor Details
-
ItemRenderer
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/render/item/ItemRenderer;<init>(Lnet/minecraft/client/item/ItemModelManager;)V
intermediary <init>
Lnet/minecraft/class_918;<init>(Lnet/minecraft/class_10442;)V
official <init>
Lhfc;<init>(Lhoe;)V
-
-
Method Details
-
renderItem
public static void renderItem(ItemDisplayContext displayContext, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, int overlay, int[] tints, List<BakedQuad> quads, RenderLayer layer, ItemRenderState.Glint glint) - Mappings:
Namespace Name Mixin selector named renderItem
Lnet/minecraft/client/render/item/ItemRenderer;renderItem(Lnet/minecraft/item/ItemDisplayContext;Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;II[ILjava/util/List;Lnet/minecraft/client/render/RenderLayer;Lnet/minecraft/client/render/item/ItemRenderState$Glint;)V
intermediary method_62476
Lnet/minecraft/class_918;method_62476(Lnet/minecraft/class_811;Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;II[ILjava/util/List;Lnet/minecraft/class_1921;Lnet/minecraft/class_10444$class_10445;)V
official a
Lhfc;a(Ldct;Lfoc;Lgxm;II[ILjava/util/List;Lgxy;Lhog$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
Lhfc;a(Lgxm;Lgxy;Z)Lfof;
-
getSpecialItemGlintConsumer
private static VertexConsumer getSpecialItemGlintConsumer(VertexConsumerProvider consumers, RenderLayer layer, MatrixStack.Entry matrix) - Mappings:
Namespace Name Mixin selector named getSpecialItemGlintConsumer
Lnet/minecraft/client/render/item/ItemRenderer;getSpecialItemGlintConsumer(Lnet/minecraft/client/render/VertexConsumerProvider;Lnet/minecraft/client/render/RenderLayer;Lnet/minecraft/client/util/math/MatrixStack$Entry;)Lnet/minecraft/client/render/VertexConsumer;
intermediary method_71138
Lnet/minecraft/class_918;method_71138(Lnet/minecraft/class_4597;Lnet/minecraft/class_1921;Lnet/minecraft/class_4587$class_4665;)Lnet/minecraft/class_4588;
official a
Lhfc;a(Lgxm;Lgxy;Lfoc$a;)Lfof;
-
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
Lhfc;a(Lgxm;Lgxy;ZZ)Lfof;
-
useTranslucentGlint
- Mappings:
Namespace Name Mixin selector named useTranslucentGlint
Lnet/minecraft/client/render/item/ItemRenderer;useTranslucentGlint(Lnet/minecraft/client/render/RenderLayer;)Z
intermediary method_71139
Lnet/minecraft/class_918;method_71139(Lnet/minecraft/class_1921;)Z
official a
Lhfc;a(Lgxy;)Z
-
getTint
private static int getTint(int[] tints, int index) - Mappings:
Namespace Name Mixin selector named getTint
Lnet/minecraft/client/render/item/ItemRenderer;getTint([II)I
intermediary method_65569
Lnet/minecraft/class_918;method_65569([II)I
official a
Lhfc;a([II)I
-
renderBakedItemQuads
private static void renderBakedItemQuads(MatrixStack matrices, VertexConsumer vertexConsumer, List<BakedQuad> quads, int[] tints, int light, int overlay) - 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
Lhfc;a(Lfoc;Lfof;Ljava/util/List;[III)V
-
renderItem
public void renderItem(ItemStack stack, ItemDisplayContext displayContext, 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/ItemDisplayContext;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
Lhfc;a(Ldcv;Ldct;IILfoc;Lgxm;Ldmu;I)V
-
renderItem
public void renderItem(@Nullable @Nullable LivingEntity entity, ItemStack stack, ItemDisplayContext displayContext, 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/ItemDisplayContext;Lnet/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;Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;Lnet/minecraft/class_1937;III)V
official a
Lhfc;a(Lcam;Ldcv;Ldct;Lfoc;Lgxm;Ldmu;III)V
-