Class ItemEntityRenderer
java.lang.Object
net.minecraft.client.renderer.entity.EntityRenderer<ItemEntity>
net.minecraft.client.renderer.entity.ItemEntityRenderer
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final floatprivate static final floatprivate static final floatprivate static final floatprivate final ItemRendererprivate final RandomSourceFields inherited from class net.minecraft.client.renderer.entity.EntityRenderer
entityRenderDispatcher, LEASH_RENDER_STEPS, NAMETAG_SCALE, shadowRadius, shadowStrength -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) static intgetRenderedAmount(int p_324603_) static intgetSeedForItemStack(ItemStack p_324105_) getTextureLocation(ItemEntity p_115034_) voidrender(ItemEntity p_115036_, float p_115037_, float p_115038_, PoseStack p_115039_, MultiBufferSource p_115040_, int p_115041_) static voidrenderMultipleFromCount(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 voidrenderMultipleFromCount(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:
getTextureLocationin 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:
renderin 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_)
-