Class ItemRenderer
java.lang.Object
net.minecraft.client.renderer.entity.EntityRenderer<ItemEntity>
net.minecraft.client.renderer.entity.ItemRenderer
-
Field Summary
Fields inherited from class net.minecraft.client.renderer.entity.EntityRenderer
entityRenderDispatcher, shadowRadius, shadowStrength
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected int
getRenderAmount
(ItemStack p_177078_1_) getTextureLocation
(ItemEntity p_110775_1_) void
render
(ItemEntity p_225623_1_, float p_225623_2_, float p_225623_3_, MatrixStack p_225623_4_, IRenderTypeBuffer p_225623_5_, int p_225623_6_) boolean
boolean
Methods inherited from class net.minecraft.client.renderer.entity.EntityRenderer
getBlockLightLevel, getDispatcher, getFont, getPackedLightCoords, getRenderOffset, getSkyLightLevel, renderNameTag, shouldRender, shouldShowName
-
Field Details
-
itemRenderer
-
random
-
-
Constructor Details
-
ItemRenderer
-
-
Method Details
-
getRenderAmount
-
render
public void render(ItemEntity p_225623_1_, float p_225623_2_, float p_225623_3_, MatrixStack p_225623_4_, IRenderTypeBuffer p_225623_5_, int p_225623_6_) - Overrides:
render
in classEntityRenderer<ItemEntity>
-
getTextureLocation
- Specified by:
getTextureLocation
in classEntityRenderer<ItemEntity>
-
shouldSpreadItems
public boolean shouldSpreadItems()- Returns:
- If items should spread out when rendered in 3D
-
shouldBob
public boolean shouldBob()- Returns:
- If items should have a bob effect
-