net.minecraft.client.renderer.entity

public abstract class LivingEntityRenderer<T extends LivingEntity, S extends LivingEntityRenderState, M extends EntityModel<? super S>>

extends EntityRenderer<T, S> implements RenderLayerParent<S, M>

All mapped superinterfaces:

RenderLayerParent

gtg
net.minecraft.client.renderer.entity.LivingEntityRenderer
net.minecraft.class_922
net.minecraft.client.render.entity.LivingEntityRenderer
net.minecraft.src.C_4357_

Field summary

Modifier and TypeField
private static final float
a
EYE_BED_OFFSET
field_32939
field_32939
f_174287_
protected M
h
model
field_4737
model
f_115290_
protected final ItemModelResolver
i
itemModelResolver
field_55298
itemModelResolver
f_371170_
protected final List<RenderLayer<S, M>>
j
layers
field_4738
features
f_115291_

Constructor summary

ModifierConstructor
public (EntityRendererProvider$Context ctx, M model, float shadowRadius)

Method summary

Modifier and TypeMethod
protected final boolean
a(gwu<S, M> arg0)
addLayer(RenderLayer<S, M> arg0)
method_4046(class_3887<S, M> arg0)
addFeature(FeatureRenderer<S, M> feature)
m_115326_(C_4447_<S, M> arg0)
public M
c()
getModel()
method_4038()
getModel()
m_7200_()
protected AABB
a(T arg0)
getBoundingBoxForCulling(T arg0)
method_62463(T arg0)
getBoundingBox(T arg0)
m_352235_(T arg0)
public void
a(S arg0, ffv arg1, glz arg2, int arg3)
render(S arg0, PoseStack arg1, MultiBufferSource arg2, int arg3)
method_4054(S arg0, class_4587 arg1, class_4597 arg2, int arg3)
render(S arg0, MatrixStack arg1, VertexConsumerProvider arg2, int arg3)
m_7392_(S p_115311_, C_3181_ p_115312_, C_4139_ p_115313_, int arg3)
protected boolean
e(S arg0)
shouldRenderLayers(S arg0)
method_62483(S arg0)
shouldRenderFeatures(S state)
m_351571_(S arg0)
protected int
f(S arg0)
getModelTint(S arg0)
method_62484(S arg0)
getMixColor(S state)
m_352085_(S arg0)
public abstract ResourceLocation
b(S arg0)
getTextureLocation(S arg0)
method_3885(S arg0)
getTexture(S state)
m_113764_(S arg0)
protected RenderType
a(S arg0, boolean arg1, boolean arg2, boolean arg3)
getRenderType(S arg0, boolean arg1, boolean arg2, boolean arg3)
method_24302(S arg0, boolean arg1, boolean arg2, boolean arg3)
getRenderLayer(S state, boolean showBody, boolean translucent, boolean showOutline)
m_7225_(S p_115323_, boolean p_115324_, boolean p_115325_, boolean arg3)
public static int
a(gzl arg0, float arg1)
getOverlayCoords(LivingEntityRenderState arg0, float arg1)
method_23622(class_10042 arg0, float arg1)
getOverlay(LivingEntityRenderState state, float whiteOverlayProgress)
m_115338_(C_346055_ p_365259_, float p_115340_)
protected boolean
d(S arg0)
isBodyVisible(S arg0)
method_4056(S arg0)
isVisible(S state)
m_5933_(S arg0)
private static float
a(jn arg0)
sleepDirectionToRotation(Direction arg0)
method_18656(class_2350 arg0)
getYaw(Direction direction)
m_115328_(C_4687_ p_115329_)
protected boolean
a(S arg0)
isShaking(S arg0)
method_25450(S arg0)
isShaking(S state)
m_5936_(S arg0)
protected void
a(S arg0, ffv arg1, float arg2, float arg3)
setupRotations(S arg0, PoseStack arg1, float arg2, float arg3)
method_4058(S arg0, class_4587 arg1, float arg2, float arg3)
setupTransforms(S state, MatrixStack matrices, float bodyYaw, float baseHeight)
m_7523_(S p_115318_, C_3181_ p_115319_, float p_115320_, float arg3)
protected float
aV_()
getFlipDegrees()
method_3919()
method_3919()
m_6441_()
protected float
c(S arg0)
getWhiteOverlayProgress(S arg0)
method_23185(S arg0)
getAnimationCounter(S state)
m_6931_(S arg0)
protected void
a(S arg0, ffv arg1)
scale(S arg0, PoseStack arg1)
method_4042(S arg0, class_4587 arg1)
scale(S state, MatrixStack matrices)
m_7546_(S p_115315_, C_3181_ arg1)
protected boolean
a(T arg0, double arg1)
shouldShowName(T arg0, double arg1)
method_4055(T arg0, double arg1)
hasLabel(T arg0, double arg1)
m_6512_(T p_365822_, double arg1)
public static boolean
b(bvi arg0)
isEntityUpsideDown(LivingEntity arg0)
method_38563(class_1309 arg0)
shouldFlipUpsideDown(LivingEntity entity)
m_194453_(C_524_ p_194454_)
protected float
g(S arg0)
getShadowRadius(S arg0)
method_55832(S arg0)
getShadowRadius(S arg0)
m_318622_(S arg0)
public void
a(T arg0, S arg1, float arg2)
extractRenderState(T arg0, S arg1, float arg2)
method_62355(T arg0, S arg1, float arg2)
updateRenderState(T arg0, S arg1, float arg2)
m_351578_(T p_363057_, S p_364497_, float arg2)
private static float
a(bvi arg0, float arg1, float arg2)
solveBodyRot(LivingEntity arg0, float arg1, float arg2)
method_62482(class_1309 arg0, float arg1, float arg2)
clampBodyYaw(LivingEntity entity, float degrees, float tickDelta)
m_354794_(C_524_ p_367822_, float p_362662_, float p_362007_)