public class ExperienceOrbRenderer extends EntityRenderer<ExperienceOrbEntity>
Modifier and Type | Field and Description |
---|---|
private static ResourceLocation |
EXPERIENCE_ORB_TEXTURES |
private static RenderType |
RENDER_TYPE |
renderManager, shadowOpaque, shadowSize
Constructor and Description |
---|
ExperienceOrbRenderer(EntityRendererManager renderManagerIn) |
Modifier and Type | Method and Description |
---|---|
protected int |
getBlockLight(ExperienceOrbEntity entityIn,
float partialTicks) |
ResourceLocation |
getEntityTexture(ExperienceOrbEntity entity) |
void |
render(ExperienceOrbEntity entityIn,
float entityYaw,
float partialTicks,
MatrixStack matrixStackIn,
IRenderTypeBuffer bufferIn,
int packedLightIn) |
private static void |
vertex(IVertexBuilder bufferIn,
Matrix4f matrixIn,
Matrix3f matrixNormalIn,
float x,
float y,
int red,
int green,
int blue,
float texU,
float texV,
int packedLight) |
canRenderName, getFontRendererFromRenderManager, getPackedLight, getRenderManager, getRenderOffset, renderName, shouldRender
private static final ResourceLocation EXPERIENCE_ORB_TEXTURES
private static final RenderType RENDER_TYPE
public ExperienceOrbRenderer(EntityRendererManager renderManagerIn)
protected int getBlockLight(ExperienceOrbEntity entityIn, float partialTicks)
getBlockLight
in class EntityRenderer<ExperienceOrbEntity>
public void render(ExperienceOrbEntity entityIn, float entityYaw, float partialTicks, MatrixStack matrixStackIn, IRenderTypeBuffer bufferIn, int packedLightIn)
render
in class EntityRenderer<ExperienceOrbEntity>
private static void vertex(IVertexBuilder bufferIn, Matrix4f matrixIn, Matrix3f matrixNormalIn, float x, float y, int red, int green, int blue, float texU, float texV, int packedLight)
public ResourceLocation getEntityTexture(ExperienceOrbEntity entity)
getEntityTexture
in class EntityRenderer<ExperienceOrbEntity>