Class ItemEntityRenderer
java.lang.Object
net.minecraft.client.renderer.entity.EntityRenderer<ItemEntity>
net.minecraft.client.renderer.entity.ItemEntityRenderer
-
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 RandomSource
Fields inherited from class net.minecraft.client.renderer.entity.EntityRenderer
entityRenderDispatcher, NAMETAG_SCALE, shadowRadius, shadowStrength
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription(package private) static int
getRenderedAmount
(int p_324603_) static int
getSeedForItemStack
(ItemStack p_324105_) getTextureLocation
(ItemEntity p_115034_) void
render
(ItemEntity p_115036_, float p_115037_, float p_115038_, PoseStack p_115039_, MultiBufferSource p_115040_, int p_115041_) static void
renderMultipleFromCount
(ItemRenderer p_324541_, PoseStack p_323733_, MultiBufferSource p_324107_, int p_323740_, ItemStack p_323718_, BakedModel p_324183_, boolean p_324462_, RandomSource p_324565_) static void
renderMultipleFromCount
(ItemRenderer p_323875_, PoseStack p_323763_, MultiBufferSource p_324606_, int p_323603_, ItemStack p_323969_, RandomSource p_324507_, Level p_323902_) Methods inherited from class net.minecraft.client.renderer.entity.EntityRenderer
getBlockLightLevel, getFont, getPackedLightCoords, getRenderOffset, getShadowRadius, getSkyLightLevel, renderNameTag, shouldRender, shouldShowName
-
Field Details
-
ITEM_BUNDLE_OFFSET_SCALE
private static final float ITEM_BUNDLE_OFFSET_SCALE- See Also:
-
FLAT_ITEM_BUNDLE_OFFSET_X
private static final float FLAT_ITEM_BUNDLE_OFFSET_X- See Also:
-
FLAT_ITEM_BUNDLE_OFFSET_Y
private static final float FLAT_ITEM_BUNDLE_OFFSET_Y- See Also:
-
FLAT_ITEM_BUNDLE_OFFSET_Z
private static final float FLAT_ITEM_BUNDLE_OFFSET_Z- See Also:
-
itemRenderer
-
random
-
-
Constructor Details
-
ItemEntityRenderer
-
-
Method Details
-
getTextureLocation
- Specified by:
getTextureLocation
in classEntityRenderer<ItemEntity>
-
render
public void render(ItemEntity p_115036_, float p_115037_, float p_115038_, PoseStack p_115039_, MultiBufferSource p_115040_, int p_115041_) - Overrides:
render
in classEntityRenderer<ItemEntity>
-
getSeedForItemStack
-
getRenderedAmount
static int getRenderedAmount(int p_324603_) -
renderMultipleFromCount
public static void renderMultipleFromCount(ItemRenderer p_323875_, PoseStack p_323763_, MultiBufferSource p_324606_, int p_323603_, ItemStack p_323969_, RandomSource p_324507_, Level p_323902_) -
renderMultipleFromCount
public static void renderMultipleFromCount(ItemRenderer p_324541_, PoseStack p_323733_, MultiBufferSource p_324107_, int p_323740_, ItemStack p_323718_, BakedModel p_324183_, boolean p_324462_, RandomSource p_324565_)
-