public class RenderGuardian extends RenderLiving<EntityGuardian>
Modifier and Type | Field and Description |
---|---|
private static ResourceLocation |
GUARDIAN_BEAM_TEXTURE |
private static ResourceLocation |
GUARDIAN_TEXTURE |
brightnessBuffer, layerRenderers, mainModel, NAME_TAG_RANGE, NAME_TAG_RANGE_SNEAK, renderMarker
renderManager, renderOutlines, shadowOpaque, shadowSize
Constructor and Description |
---|
RenderGuardian(RenderManager renderManagerIn) |
Modifier and Type | Method and Description |
---|---|
void |
doRender(EntityGuardian entity,
double x,
double y,
double z,
float entityYaw,
float partialTicks) |
protected ResourceLocation |
getEntityTexture(EntityGuardian entity) |
private Vec3d |
getPosition(EntityLivingBase entityLivingBaseIn,
double p_177110_2_,
float p_177110_4_) |
boolean |
shouldRender(EntityGuardian livingEntity,
ICamera camera,
double camX,
double camY,
double camZ) |
canRenderName, renderLeash, setLightmap
addLayer, applyRotations, getColorMultiplier, getDeathMaxRotation, getMainModel, getSwingProgress, handleRotationFloat, interpolateRotation, isVisible, prepareScale, preRenderCallback, renderLayers, renderLivingAt, renderModel, renderName, setBrightness, setDoRenderBrightness, setScoreTeamColor, transformHeldFull3DItemLayer, unsetBrightness, unsetScoreTeamColor
bindEntityTexture, bindTexture, doRenderShadowAndFire, getFontRendererFromRenderManager, getRenderManager, getTeamColor, isMultipass, renderEntityName, renderLivingLabel, renderMultipass, renderOffsetAABB, setRenderOutlines
private static final ResourceLocation GUARDIAN_TEXTURE
private static final ResourceLocation GUARDIAN_BEAM_TEXTURE
public RenderGuardian(RenderManager renderManagerIn)
public boolean shouldRender(EntityGuardian livingEntity, ICamera camera, double camX, double camY, double camZ)
shouldRender
in class RenderLiving<EntityGuardian>
private Vec3d getPosition(EntityLivingBase entityLivingBaseIn, double p_177110_2_, float p_177110_4_)
public void doRender(EntityGuardian entity, double x, double y, double z, float entityYaw, float partialTicks)
doRender
in class RenderLiving<EntityGuardian>
protected ResourceLocation getEntityTexture(EntityGuardian entity)
getEntityTexture
in class Render<EntityGuardian>