public class RenderPainting extends Render<EntityPainting>
Modifier and Type | Field and Description |
---|---|
private static ResourceLocation |
KRISTOFFER_PAINTING_TEXTURE |
renderManager, renderOutlines, shadowOpaque, shadowSize
Constructor and Description |
---|
RenderPainting(RenderManager renderManagerIn) |
Modifier and Type | Method and Description |
---|---|
void |
doRender(EntityPainting entity,
double x,
double y,
double z,
float entityYaw,
float partialTicks) |
protected ResourceLocation |
getEntityTexture(EntityPainting entity) |
private void |
renderPainting(EntityPainting painting,
int width,
int height,
int textureU,
int textureV) |
private void |
setLightmap(EntityPainting painting,
float p_77008_2_,
float p_77008_3_) |
bindEntityTexture, bindTexture, canRenderName, doRenderShadowAndFire, getFontRendererFromRenderManager, getRenderManager, getTeamColor, isMultipass, renderEntityName, renderLivingLabel, renderMultipass, renderName, renderOffsetAABB, setRenderOutlines, shouldRender
private static final ResourceLocation KRISTOFFER_PAINTING_TEXTURE
public RenderPainting(RenderManager renderManagerIn)
public void doRender(EntityPainting entity, double x, double y, double z, float entityYaw, float partialTicks)
doRender
in class Render<EntityPainting>
protected ResourceLocation getEntityTexture(EntityPainting entity)
getEntityTexture
in class Render<EntityPainting>
private void renderPainting(EntityPainting painting, int width, int height, int textureU, int textureV)
private void setLightmap(EntityPainting painting, float p_77008_2_, float p_77008_3_)