Class ItemEntityRenderer
java.lang.Object
net.minecraft.client.renderer.entity.EntityRenderer<ItemEntity>
net.minecraft.client.renderer.entity.ItemEntityRenderer
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate static final floatprivate static final floatprivate static final floatprivate static final floatprivate static final intprivate static final intprivate static final intprivate static final intprivate final ItemRendererprivate final RandomSourceFields inherited from class net.minecraft.client.renderer.entity.EntityRendererentityRenderDispatcher, NAMETAG_SCALE, shadowRadius, shadowStrength
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected intgetRenderAmount(ItemStack p_115043_) getTextureLocation(ItemEntity p_115034_) voidrender(ItemEntity p_115036_, float p_115037_, float p_115038_, PoseStack p_115039_, MultiBufferSource p_115040_, int p_115041_) booleanbooleanMethods inherited from class net.minecraft.client.renderer.entity.EntityRenderergetBlockLightLevel, getFont, getPackedLightCoords, getRenderOffset, getSkyLightLevel, renderNameTag, shouldRender, shouldShowName
- 
Field Details- 
ITEM_BUNDLE_OFFSET_SCALEprivate static final float ITEM_BUNDLE_OFFSET_SCALE- See Also:
 
- 
ITEM_COUNT_FOR_5_BUNDLEprivate static final int ITEM_COUNT_FOR_5_BUNDLE- See Also:
 
- 
ITEM_COUNT_FOR_4_BUNDLEprivate static final int ITEM_COUNT_FOR_4_BUNDLE- See Also:
 
- 
ITEM_COUNT_FOR_3_BUNDLEprivate static final int ITEM_COUNT_FOR_3_BUNDLE- See Also:
 
- 
ITEM_COUNT_FOR_2_BUNDLEprivate static final int ITEM_COUNT_FOR_2_BUNDLE- See Also:
 
- 
FLAT_ITEM_BUNDLE_OFFSET_Xprivate static final float FLAT_ITEM_BUNDLE_OFFSET_X- See Also:
 
- 
FLAT_ITEM_BUNDLE_OFFSET_Yprivate static final float FLAT_ITEM_BUNDLE_OFFSET_Y- See Also:
 
- 
FLAT_ITEM_BUNDLE_OFFSET_Zprivate static final float FLAT_ITEM_BUNDLE_OFFSET_Z- See Also:
 
- 
itemRenderer
- 
random
 
- 
- 
Constructor Details- 
ItemEntityRenderer
 
- 
- 
Method Details- 
getRenderAmount
- 
renderpublic void render(ItemEntity p_115036_, float p_115037_, float p_115038_, PoseStack p_115039_, MultiBufferSource p_115040_, int p_115041_) - Overrides:
- renderin class- EntityRenderer<ItemEntity>
 
- 
getTextureLocation- Specified by:
- getTextureLocationin class- EntityRenderer<ItemEntity>
 
- 
shouldSpreadItemspublic boolean shouldSpreadItems()- Returns:
- If items should spread out when rendered in 3D
 
- 
shouldBobpublic boolean shouldBob()- Returns:
- If items should have a bob effect
 
 
-