Class ExperienceOrbRenderer
- java.lang.Object
-
- net.minecraft.client.renderer.entity.EntityRenderer<ExperienceOrbEntity>
-
- net.minecraft.client.renderer.entity.ExperienceOrbRenderer
-
public class ExperienceOrbRenderer extends EntityRenderer<ExperienceOrbEntity>
-
-
Field Summary
Fields Modifier and Type Field Description private static ResourceLocation
EXPERIENCE_ORB_LOCATION
private static RenderType
RENDER_TYPE
-
Fields inherited from class net.minecraft.client.renderer.entity.EntityRenderer
entityRenderDispatcher, shadowRadius, shadowStrength
-
-
Constructor Summary
Constructors Constructor Description ExperienceOrbRenderer(EntityRendererManager p_i46178_1_)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected int
getBlockLightLevel(ExperienceOrbEntity p_225624_1_, BlockPos p_225624_2_)
ResourceLocation
getTextureLocation(ExperienceOrbEntity p_110775_1_)
void
render(ExperienceOrbEntity p_225623_1_, float p_225623_2_, float p_225623_3_, MatrixStack p_225623_4_, IRenderTypeBuffer p_225623_5_, int p_225623_6_)
private static void
vertex(IVertexBuilder p_229102_0_, Matrix4f p_229102_1_, Matrix3f p_229102_2_, float p_229102_3_, float p_229102_4_, int p_229102_5_, int p_229102_6_, int p_229102_7_, float p_229102_8_, float p_229102_9_, int p_229102_10_)
-
Methods inherited from class net.minecraft.client.renderer.entity.EntityRenderer
getDispatcher, getFont, getPackedLightCoords, getRenderOffset, getSkyLightLevel, renderNameTag, shouldRender, shouldShowName
-
-
-
-
Field Detail
-
EXPERIENCE_ORB_LOCATION
private static final ResourceLocation EXPERIENCE_ORB_LOCATION
-
RENDER_TYPE
private static final RenderType RENDER_TYPE
-
-
Constructor Detail
-
ExperienceOrbRenderer
public ExperienceOrbRenderer(EntityRendererManager p_i46178_1_)
-
-
Method Detail
-
getBlockLightLevel
protected int getBlockLightLevel(ExperienceOrbEntity p_225624_1_, BlockPos p_225624_2_)
- Overrides:
getBlockLightLevel
in classEntityRenderer<ExperienceOrbEntity>
-
render
public void render(ExperienceOrbEntity 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<ExperienceOrbEntity>
-
vertex
private static void vertex(IVertexBuilder p_229102_0_, Matrix4f p_229102_1_, Matrix3f p_229102_2_, float p_229102_3_, float p_229102_4_, int p_229102_5_, int p_229102_6_, int p_229102_7_, float p_229102_8_, float p_229102_9_, int p_229102_10_)
-
getTextureLocation
public ResourceLocation getTextureLocation(ExperienceOrbEntity p_110775_1_)
- Specified by:
getTextureLocation
in classEntityRenderer<ExperienceOrbEntity>
-
-