@Environment(value=CLIENT) public class WolfEntityRenderer extends MobEntityRenderer<WolfEntity,WolfEntityModel<WolfEntity>>
| Modifier and Type | Field and Description |
|---|---|
private static Identifier |
ANGRY_TEXTURE |
private static Identifier |
TAMED_TEXTURE |
private static Identifier |
WILD_TEXTURE |
features, modeldispatcher, shadowOpacity, shadowRadius| Constructor and Description |
|---|
WolfEntityRenderer(EntityRenderDispatcher dispatcher) |
| Modifier and Type | Method and Description |
|---|---|
protected float |
getAnimationProgress(WolfEntity wolfEntity,
float float2)
This value is passed to other methods when calculating angles for animation.
|
Identifier |
getTexture(WolfEntity wolfEntity) |
void |
render(WolfEntity wolfEntity,
float float2,
float float3,
MatrixStack matrixStack,
VertexConsumerProvider vertexConsumerProvider,
int int2) |
hasLabel, method_23186, method_23187, shouldRenderaddFeature, getAnimationCounter, getHandSwingProgress, getLyingAngle, getModel, getOverlay, getRenderLayer, isShaking, isVisible, scale, setupTransformsgetBlockLight, getFontRenderer, getLight, getPositionOffset, getRenderManager, method_27950, renderLabelIfPresentprivate static final Identifier WILD_TEXTURE
private static final Identifier TAMED_TEXTURE
private static final Identifier ANGRY_TEXTURE
public WolfEntityRenderer(EntityRenderDispatcher dispatcher)
protected float getAnimationProgress(WolfEntity wolfEntity, float float2)
LivingEntityRenderergetAnimationProgress in class LivingEntityRenderer<WolfEntity,WolfEntityModel<WolfEntity>>public void render(WolfEntity wolfEntity, float float2, float float3, MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2)
render in class MobEntityRenderer<WolfEntity,WolfEntityModel<WolfEntity>>public Identifier getTexture(WolfEntity wolfEntity)
getTexture in interface FeatureRendererContext<WolfEntity,WolfEntityModel<WolfEntity>>getTexture in class EntityRenderer<WolfEntity>