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

gsr
net.minecraft.client.renderer.entity.LivingEntityRenderer
net.minecraft.class_922
net.minecraft.client.render.entity.LivingEntityRenderer

Field summary

Modifier and TypeField
private static final float
a
EYE_BED_OFFSET
field_32939
field_32939
protected M
h
model
field_4737
model
protected final ItemRenderer
i
itemRenderer
field_53193
itemRenderer
protected final List<RenderLayer<S, M>>
j
layers
field_4738
features

Constructor summary

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

Method summary

Modifier and TypeMethod
protected final boolean
a(gwf<S, M> arg0)
addLayer(RenderLayer<S, M> arg0)
method_4046(class_3887<S, M> arg0)
addFeature(FeatureRenderer<S, M> feature)
public M
c()
getModel()
method_4038()
getModel()
protected AABB
a(T arg0)
getBoundingBoxForCulling(T arg0)
method_62463(T arg0)
getBoundingBox(T arg0)
public void
a(S arg0, fgs arg1, gll 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)
protected boolean
e(S arg0)
shouldRenderLayers(S arg0)
method_62483(S arg0)
shouldRenderFeatures(S state)
protected int
f(S arg0)
getModelTint(S arg0)
method_62484(S arg0)
getMixColor(S state)
public abstract ResourceLocation
b(S arg0)
getTextureLocation(S arg0)
method_3885(S arg0)
getTexture(S state)
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)
public static int
a(gyt arg0, float arg1)
getOverlayCoords(LivingEntityRenderState arg0, float arg1)
method_23622(class_10042 arg0, float arg1)
getOverlay(LivingEntityRenderState state, float whiteOverlayProgress)
protected boolean
d(S arg0)
isBodyVisible(S arg0)
method_4056(S arg0)
isVisible(S state)
private static float
a(jm arg0)
sleepDirectionToRotation(Direction arg0)
method_18656(class_2350 arg0)
getYaw(Direction direction)
protected boolean
a(S arg0)
isShaking(S arg0)
method_25450(S arg0)
isShaking(S state)
protected void
a(S arg0, fgs 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 animationProgress, float bodyYaw)
protected float
aX_()
getFlipDegrees()
method_3919()
method_3919()
protected float
c(S arg0)
getWhiteOverlayProgress(S arg0)
method_23185(S arg0)
getAnimationCounter(S state)
protected void
a(S arg0, fgs arg1)
scale(S arg0, PoseStack arg1)
method_4042(S arg0, class_4587 arg1)
scale(S state, MatrixStack matrices)
protected boolean
a(T arg0, double arg1)
shouldShowName(T arg0, double arg1)
method_4055(T arg0, double arg1)
hasLabel(T arg0, double arg1)
public static boolean
b(bwg arg0)
isEntityUpsideDown(LivingEntity arg0)
method_38563(class_1309 arg0)
shouldFlipUpsideDown(LivingEntity entity)
protected float
g(S arg0)
getShadowRadius(S arg0)
method_55832(S arg0)
getShadowRadius(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)
private static float
a(bwg 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)