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 official end
intermediary net/minecraft/class_916
named net/minecraft/client/render/entity/ItemEntityRenderer
-
Field Summary
Fields Modifier and Type Field Description private ItemRenderer
itemRenderer
private Random
random
Fields inherited from class net.minecraft.client.render.entity.EntityRenderer
dispatcher, shadowOpacity, shadowRadius
-
Constructor Summary
Constructors Constructor Description ItemEntityRenderer(EntityRendererFactory.Context ctx)
-
Method Summary
Modifier and Type Method Description private int
getRenderedAmount(ItemStack stack)
Identifier
getTexture(ItemEntity itemEntity)
void
render(ItemEntity itemEntity, float float2, float float3, MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2)
Methods inherited from class net.minecraft.client.render.entity.EntityRenderer
getBlockLight, getFontRenderer, getLight, getPositionOffset, getSkyLight, hasLabel, renderLabelIfPresent, shouldRender
-
Field Details
-
itemRenderer
- Mappings:
Namespace Name Mixin selector official a
Lend;a:Lenf;
intermediary field_4726
Lnet/minecraft/class_916;field_4726:Lnet/minecraft/class_918;
named itemRenderer
Lnet/minecraft/client/render/entity/ItemEntityRenderer;itemRenderer:Lnet/minecraft/client/render/item/ItemRenderer;
-
random
- Mappings:
Namespace Name Mixin selector official e
Lend;e:Ljava/util/Random;
intermediary field_4725
Lnet/minecraft/class_916;field_4725:Ljava/util/Random;
named random
Lnet/minecraft/client/render/entity/ItemEntityRenderer;random:Ljava/util/Random;
-
-
Constructor Details
-
ItemEntityRenderer
- Mappings:
Namespace Name Mixin selector official <init>
Lemi;<init>(Lemj$a;)V
intermediary <init>
Lnet/minecraft/class_897;<init>(Lnet/minecraft/class_5617$class_5618;)V
named <init>
Lnet/minecraft/client/render/entity/EntityRenderer;<init>(Lnet/minecraft/client/render/entity/EntityRendererFactory$Context;)V
-
-
Method Details
-
getRenderedAmount
- Mappings:
Namespace Name Mixin selector official a
Lend;a(Lbnv;)I
intermediary method_3998
Lnet/minecraft/class_916;method_3998(Lnet/minecraft/class_1799;)I
named getRenderedAmount
Lnet/minecraft/client/render/entity/ItemEntityRenderer;getRenderedAmount(Lnet/minecraft/item/ItemStack;)I
-
render
public void render(ItemEntity itemEntity, float float2, float float3, MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2)- Overrides:
render
in classEntityRenderer<ItemEntity>
- Mappings:
Namespace Name Mixin selector official a
Lend;a(Lbek;FFLdlr;Lehq;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
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
-
getTexture
- Specified by:
getTexture
in classEntityRenderer<ItemEntity>
- Mappings:
Namespace Name Mixin selector official a
Lend;a(Lbek;)Lwb;
intermediary method_3999
Lnet/minecraft/class_916;method_3999(Lnet/minecraft/class_1542;)Lnet/minecraft/class_2960;
named getTexture
Lnet/minecraft/client/render/entity/ItemEntityRenderer;getTexture(Lnet/minecraft/entity/ItemEntity;)Lnet/minecraft/util/Identifier;
-