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_329551_) static int
getSeedForItemStack
(ItemStack p_330796_) 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_329376_, PoseStack p_330844_, MultiBufferSource p_333382_, int p_334169_, ItemStack p_334880_, BakedModel p_334255_, boolean p_332793_, RandomSource p_331892_) static void
renderMultipleFromCount
(ItemRenderer p_333213_, PoseStack p_329469_, MultiBufferSource p_334143_, int p_328622_, ItemStack p_329980_, RandomSource p_332633_, Level p_328051_) 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_329551_) -
renderMultipleFromCount
public static void renderMultipleFromCount(ItemRenderer p_333213_, PoseStack p_329469_, MultiBufferSource p_334143_, int p_328622_, ItemStack p_329980_, RandomSource p_332633_, Level p_328051_) -
renderMultipleFromCount
public static void renderMultipleFromCount(ItemRenderer p_329376_, PoseStack p_330844_, MultiBufferSource p_333382_, int p_334169_, ItemStack p_334880_, BakedModel p_334255_, boolean p_332793_, RandomSource p_331892_)
-