Class ItemEntityRenderer
java.lang.Object
net.minecraft.client.render.entity.EntityRenderer<ItemEntity,ItemEntityRenderState>
net.minecraft.client.render.entity.ItemEntityRenderer
@Environment(CLIENT)
public class ItemEntityRenderer
extends EntityRenderer<ItemEntity,ItemEntityRenderState>
- Mappings:
Namespace Name named net/minecraft/client/render/entity/ItemEntityRenderer
intermediary net/minecraft/class_916
official gsl
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final float
private static final float
private static final float
private static final float
private final ItemRenderer
private final Random
Fields inherited from class net.minecraft.client.render.entity.EntityRenderer
dispatcher, field_32921, field_52257, shadowOpacity, shadowRadius
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription(package private) static int
getRenderedAmount
(int stackSize) static int
void
render
(ItemEntityRenderState itemEntityRenderState, MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2) static void
renderStack
(ItemRenderer itemRenderer, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, ItemStack stack, BakedModel model, boolean depth, Random random) static void
renderStack
(ItemRenderer itemRenderer, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, ItemStack stack, Random random, World world) void
updateRenderState
(ItemEntity itemEntity, ItemEntityRenderState itemEntityRenderState, float float2) Methods inherited from class net.minecraft.client.render.entity.EntityRenderer
canBeCulled, getAndUpdateRenderState, getBlockLight, getBoundingBox, getDisplayName, getLight, getPositionOffset, getShadowRadius, getSkyLight, getTextRenderer, hasLabel, renderLabelIfPresent, shouldRender
-
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
Lgsl;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 b
Lgsl;b: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 h
Lgsl;h: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 i
Lgsl;i:F
-
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 j
Lgsl;j:Lgsn;
-
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 k
Lgsl;k:Lbam;
-
-
Constructor Details
-
ItemEntityRenderer
- 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>
Lgro;<init>(Lgrp$a;)V
-
-
Method Details
-
createRenderState
- Specified by:
createRenderState
in classEntityRenderer<ItemEntity,
ItemEntityRenderState> - Mappings:
Namespace Name Mixin selector named createRenderState
Lnet/minecraft/client/render/entity/ItemEntityRenderer;createRenderState()Lnet/minecraft/client/render/entity/state/ItemEntityRenderState;
intermediary method_62469
Lnet/minecraft/class_916;method_62469()Lnet/minecraft/class_10039;
official a
Lgsl;a()Lgyp;
-
updateRenderState
public void updateRenderState(ItemEntity itemEntity, ItemEntityRenderState itemEntityRenderState, float float2) - Overrides:
updateRenderState
in classEntityRenderer<ItemEntity,
ItemEntityRenderState> - Mappings:
Namespace Name Mixin selector named updateRenderState
Lnet/minecraft/client/render/entity/ItemEntityRenderer;updateRenderState(Lnet/minecraft/entity/ItemEntity;Lnet/minecraft/client/render/entity/state/ItemEntityRenderState;F)V
intermediary method_62470
Lnet/minecraft/class_916;method_62470(Lnet/minecraft/class_1542;Lnet/minecraft/class_10039;F)V
official a
Lgsl;a(Lcma;Lgyp;F)V
-
render
public void render(ItemEntityRenderState itemEntityRenderState, MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2) - Overrides:
render
in classEntityRenderer<ItemEntity,
ItemEntityRenderState> - Mappings:
Namespace Name Mixin selector named render
Lnet/minecraft/client/render/entity/ItemEntityRenderer;render(Lnet/minecraft/client/render/entity/state/ItemEntityRenderState;Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;I)V
intermediary method_3996
Lnet/minecraft/class_916;method_3996(Lnet/minecraft/class_10039;Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;I)V
official a
Lgsl;a(Lgyp;Lfgr;Lglk;I)V
-
getSeed
- 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
Lgsl;a(Lcxo;)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
Lgsl;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
Lgsl;a(Lgsn;Lfgr;Lglk;ILcxo;Lbam;Ldhh;)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
Lgsl;a(Lgsn;Lfgr;Lglk;ILcxo;Lhdm;ZLbam;)V
-