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/ItemRendererintermediary net/minecraft/class_918official hia
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Identifierstatic final intstatic final floatstatic final floatstatic final floatstatic final Identifierprivate final ItemModelManagerprivate final ItemRenderState -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic VertexConsumergetItemGlintConsumer(VertexConsumerProvider vertexConsumers, RenderLayer layer, boolean solid, boolean glint) private static VertexConsumergetSpecialItemGlintConsumer(VertexConsumerProvider consumers, RenderLayer layer, MatrixStack.Entry matrix) private static intgetTint(int[] tints, int index) static List<RenderLayer> method_72988(RenderLayer renderLayer, boolean bool, boolean bool2) private static voidrenderBakedItemQuads(MatrixStack matrices, VertexConsumer vertexConsumer, List<BakedQuad> quads, int[] tints, int light, int overlay) voidrenderItem(@Nullable class_11566 class_11566, ItemStack stack, ItemDisplayContext displayContext, MatrixStack matrices, VertexConsumerProvider vertexConsumers, @Nullable World world, int light, int overlay, int seed) static voidrenderItem(ItemDisplayContext displayContext, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, int overlay, int[] tints, List<BakedQuad> quads, RenderLayer layer, ItemRenderState.Glint glint) voidrenderItem(ItemStack stack, ItemDisplayContext displayContext, int light, int overlay, MatrixStack matrices, VertexConsumerProvider vertexConsumers, @Nullable World world, int seed) voidrenderItem(ItemStack stack, ItemDisplayContext displayContext, int light, int overlay, MatrixStack matrices, VertexConsumerProvider vertexConsumers, World world, Vec3d vec3d, Direction direction, int seed) private static booleanuseTranslucentGlint(RenderLayer renderLayer)
-
Field Details
-
ENTITY_ENCHANTMENT_GLINT
- Mappings:
Namespace Name Mixin selector named ENTITY_ENCHANTMENT_GLINTLnet/minecraft/client/render/item/ItemRenderer;ENTITY_ENCHANTMENT_GLINT:Lnet/minecraft/util/Identifier;intermediary field_43086Lnet/minecraft/class_918;field_43086:Lnet/minecraft/class_2960;official aLhia;a:Lamh;
-
ITEM_ENCHANTMENT_GLINT
- Mappings:
Namespace Name Mixin selector named ITEM_ENCHANTMENT_GLINTLnet/minecraft/client/render/item/ItemRenderer;ITEM_ENCHANTMENT_GLINT:Lnet/minecraft/util/Identifier;intermediary field_43087Lnet/minecraft/class_918;field_43087:Lnet/minecraft/class_2960;official bLhia;b:Lamh;
-
field_60154
public static final float field_60154- See Also:
- Mappings:
Namespace Name Mixin selector named field_60154Lnet/minecraft/client/render/item/ItemRenderer;field_60154:Fintermediary field_60154Lnet/minecraft/class_918;field_60154:Fofficial cLhia;c:F
-
field_60155
public static final float field_60155- See Also:
- Mappings:
Namespace Name Mixin selector named field_60155Lnet/minecraft/client/render/item/ItemRenderer;field_60155:Fintermediary field_60155Lnet/minecraft/class_918;field_60155:Fofficial dLhia;d:F
-
field_60156
public static final float field_60156- See Also:
- Mappings:
Namespace Name Mixin selector named field_60156Lnet/minecraft/client/render/item/ItemRenderer;field_60156:Fintermediary field_60156Lnet/minecraft/class_918;field_60156:Fofficial eLhia;e:F
-
field_55295
public static final int field_55295- See Also:
- Mappings:
Namespace Name Mixin selector named field_55295Lnet/minecraft/client/render/item/ItemRenderer;field_55295:Iintermediary field_55295Lnet/minecraft/class_918;field_55295:Iofficial fLhia;f:I
-
itemModelManager
- Mappings:
Namespace Name Mixin selector named itemModelManagerLnet/minecraft/client/render/item/ItemRenderer;itemModelManager:Lnet/minecraft/client/item/ItemModelManager;intermediary field_55296Lnet/minecraft/class_918;field_55296:Lnet/minecraft/class_10442;official gLhia;g:Lhrp;
-
itemRenderState
- Mappings:
Namespace Name Mixin selector named itemRenderStateLnet/minecraft/client/render/item/ItemRenderer;itemRenderState:Lnet/minecraft/client/render/item/ItemRenderState;intermediary field_55297Lnet/minecraft/class_918;field_55297:Lnet/minecraft/class_10444;official hLhia;h:Lhrr;
-
-
Constructor Details
-
ItemRenderer
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/render/item/ItemRenderer;<init>(Lnet/minecraft/client/item/ItemModelManager;)Vintermediary <init>Lnet/minecraft/class_918;<init>(Lnet/minecraft/class_10442;)Vofficial <init>Lhia;<init>(Lhrp;)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 renderItemLnet/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;)Vintermediary method_62476Lnet/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;)Vofficial aLhia;a(Lddm;Lfpk;Lhae;II[ILjava/util/List;Lhaq;Lhrr$a;)V
-
getSpecialItemGlintConsumer
private static VertexConsumer getSpecialItemGlintConsumer(VertexConsumerProvider consumers, RenderLayer layer, MatrixStack.Entry matrix) - Mappings:
Namespace Name Mixin selector named getSpecialItemGlintConsumerLnet/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_71138Lnet/minecraft/class_918;method_71138(Lnet/minecraft/class_4597;Lnet/minecraft/class_1921;Lnet/minecraft/class_4587$class_4665;)Lnet/minecraft/class_4588;official aLhia;a(Lhae;Lhaq;Lfpk$a;)Lfpn;
-
getItemGlintConsumer
public static VertexConsumer getItemGlintConsumer(VertexConsumerProvider vertexConsumers, RenderLayer layer, boolean solid, boolean glint) - Mappings:
Namespace Name Mixin selector named getItemGlintConsumerLnet/minecraft/client/render/item/ItemRenderer;getItemGlintConsumer(Lnet/minecraft/client/render/VertexConsumerProvider;Lnet/minecraft/client/render/RenderLayer;ZZ)Lnet/minecraft/client/render/VertexConsumer;intermediary method_23181Lnet/minecraft/class_918;method_23181(Lnet/minecraft/class_4597;Lnet/minecraft/class_1921;ZZ)Lnet/minecraft/class_4588;official aLhia;a(Lhae;Lhaq;ZZ)Lfpn;
-
method_72988
- Mappings:
Namespace Name Mixin selector named method_72988Lnet/minecraft/client/render/item/ItemRenderer;method_72988(Lnet/minecraft/client/render/RenderLayer;ZZ)Ljava/util/List;intermediary method_72988Lnet/minecraft/class_918;method_72988(Lnet/minecraft/class_1921;ZZ)Ljava/util/List;official aLhia;a(Lhaq;ZZ)Ljava/util/List;
-
useTranslucentGlint
- Mappings:
Namespace Name Mixin selector named useTranslucentGlintLnet/minecraft/client/render/item/ItemRenderer;useTranslucentGlint(Lnet/minecraft/client/render/RenderLayer;)Zintermediary method_71139Lnet/minecraft/class_918;method_71139(Lnet/minecraft/class_1921;)Zofficial aLhia;a(Lhaq;)Z
-
getTint
private static int getTint(int[] tints, int index) - Mappings:
Namespace Name Mixin selector named getTintLnet/minecraft/client/render/item/ItemRenderer;getTint([II)Iintermediary method_65569Lnet/minecraft/class_918;method_65569([II)Iofficial aLhia;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 renderBakedItemQuadsLnet/minecraft/client/render/item/ItemRenderer;renderBakedItemQuads(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumer;Ljava/util/List;[III)Vintermediary method_23180Lnet/minecraft/class_918;method_23180(Lnet/minecraft/class_4587;Lnet/minecraft/class_4588;Ljava/util/List;[III)Vofficial aLhia;a(Lfpk;Lfpn;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 renderItemLnet/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)Vintermediary method_23178Lnet/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)Vofficial aLhia;a(Lddo;Lddm;IILfpk;Lhae;Ldno;I)V
-
renderItem
public void renderItem(ItemStack stack, ItemDisplayContext displayContext, int light, int overlay, MatrixStack matrices, VertexConsumerProvider vertexConsumers, World world, Vec3d vec3d, Direction direction, int seed) - Mappings:
Namespace Name Mixin selector named renderItemLnet/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;Lnet/minecraft/util/math/Vec3d;Lnet/minecraft/util/math/Direction;I)Vintermediary method_72987Lnet/minecraft/class_918;method_72987(Lnet/minecraft/class_1799;Lnet/minecraft/class_811;IILnet/minecraft/class_4587;Lnet/minecraft/class_4597;Lnet/minecraft/class_1937;Lnet/minecraft/class_243;Lnet/minecraft/class_2350;I)Vofficial aLhia;a(Lddo;Lddm;IILfpk;Lhae;Ldno;Lfjy;Ljh;I)V
-
renderItem
public void renderItem(@Nullable @Nullable class_11566 class_11566, ItemStack stack, ItemDisplayContext displayContext, MatrixStack matrices, VertexConsumerProvider vertexConsumers, @Nullable @Nullable World world, int light, int overlay, int seed) - Mappings:
Namespace Name Mixin selector named renderItemLnet/minecraft/client/render/item/ItemRenderer;renderItem(Lnet/minecraft/class_11566;Lnet/minecraft/item/ItemStack;Lnet/minecraft/item/ItemDisplayContext;Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;Lnet/minecraft/world/World;III)Vintermediary method_23177Lnet/minecraft/class_918;method_23177(Lnet/minecraft/class_11566;Lnet/minecraft/class_1799;Lnet/minecraft/class_811;Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;Lnet/minecraft/class_1937;III)Vofficial aLhia;a(Lcau;Lddo;Lddm;Lfpk;Lhae;Ldno;III)V
-