public class RenderItemFrame extends Render<EntityItemFrame>
Modifier and Type | Field and Description |
---|---|
private ModelResourceLocation |
itemFrameModel |
private RenderItem |
itemRenderer |
private static ResourceLocation |
MAP_BACKGROUND_TEXTURES |
private ModelResourceLocation |
mapModel |
private Minecraft |
mc |
renderManager, renderOutlines, shadowOpaque, shadowSize
Constructor and Description |
---|
RenderItemFrame(RenderManager renderManagerIn,
RenderItem itemRendererIn) |
Modifier and Type | Method and Description |
---|---|
void |
doRender(EntityItemFrame entity,
double x,
double y,
double z,
float entityYaw,
float partialTicks) |
protected ResourceLocation |
getEntityTexture(EntityItemFrame entity) |
private void |
renderItem(EntityItemFrame itemFrame) |
protected void |
renderName(EntityItemFrame entity,
double x,
double y,
double z) |
bindEntityTexture, bindTexture, canRenderName, doRenderShadowAndFire, getFontRendererFromRenderManager, getRenderManager, getTeamColor, isMultipass, renderEntityName, renderLivingLabel, renderMultipass, renderOffsetAABB, setRenderOutlines, shouldRender
private static final ResourceLocation MAP_BACKGROUND_TEXTURES
private final Minecraft mc
private final ModelResourceLocation itemFrameModel
private final ModelResourceLocation mapModel
private final RenderItem itemRenderer
public RenderItemFrame(RenderManager renderManagerIn, RenderItem itemRendererIn)
public void doRender(EntityItemFrame entity, double x, double y, double z, float entityYaw, float partialTicks)
doRender
in class Render<EntityItemFrame>
@Nullable protected ResourceLocation getEntityTexture(EntityItemFrame entity)
getEntityTexture
in class Render<EntityItemFrame>
private void renderItem(EntityItemFrame itemFrame)
protected void renderName(EntityItemFrame entity, double x, double y, double z)
renderName
in class Render<EntityItemFrame>