Class WolfEntityRenderer
java.lang.Object
net.minecraft.client.render.entity.EntityRenderer<T>
net.minecraft.client.render.entity.LivingEntityRenderer<T,M>
net.minecraft.client.render.entity.MobEntityRenderer<WolfEntity,WolfEntityModel<WolfEntity>>
net.minecraft.client.render.entity.WolfEntityRenderer
- All Implemented Interfaces:
FeatureRendererContext<WolfEntity,WolfEntityModel<WolfEntity>>
@Environment(CLIENT) public class WolfEntityRenderer extends MobEntityRenderer<WolfEntity,WolfEntityModel<WolfEntity>>
- Mappings:
Namespace Name official epf
intermediary net/minecraft/class_969
named net/minecraft/client/render/entity/WolfEntityRenderer
-
Field Summary
Fields Modifier and Type Field Description private static Identifier
ANGRY_TEXTURE
private static Identifier
TAMED_TEXTURE
private static Identifier
WILD_TEXTURE
Fields inherited from class net.minecraft.client.render.entity.LivingEntityRenderer
features, model
Fields inherited from class net.minecraft.client.render.entity.EntityRenderer
dispatcher, shadowOpacity, shadowRadius
-
Constructor Summary
Constructors Constructor Description WolfEntityRenderer(EntityRendererFactory.Context ctx)
-
Method Summary
Modifier and Type Method 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)
Methods inherited from class net.minecraft.client.render.entity.MobEntityRenderer
hasLabel, shouldRender
Methods inherited from class net.minecraft.client.render.entity.LivingEntityRenderer
addFeature, getAnimationCounter, getHandSwingProgress, getLyingAngle, getModel, getOverlay, getRenderLayer, isShaking, isVisible, scale, setupTransforms
Methods inherited from class net.minecraft.client.render.entity.EntityRenderer
getBlockLight, getFontRenderer, getLight, getPositionOffset, getSkyLight, renderLabelIfPresent
-
Field Details
-
WILD_TEXTURE
- Mappings:
Namespace Name Mixin selector official a
Lepf;a:Lwb;
intermediary field_4821
Lnet/minecraft/class_969;field_4821:Lnet/minecraft/class_2960;
named WILD_TEXTURE
Lnet/minecraft/client/render/entity/WolfEntityRenderer;WILD_TEXTURE:Lnet/minecraft/util/Identifier;
-
TAMED_TEXTURE
- Mappings:
Namespace Name Mixin selector official g
Lepf;g:Lwb;
intermediary field_4822
Lnet/minecraft/class_969;field_4822:Lnet/minecraft/class_2960;
named TAMED_TEXTURE
Lnet/minecraft/client/render/entity/WolfEntityRenderer;TAMED_TEXTURE:Lnet/minecraft/util/Identifier;
-
ANGRY_TEXTURE
- Mappings:
Namespace Name Mixin selector official h
Lepf;h:Lwb;
intermediary field_4823
Lnet/minecraft/class_969;field_4823:Lnet/minecraft/class_2960;
named ANGRY_TEXTURE
Lnet/minecraft/client/render/entity/WolfEntityRenderer;ANGRY_TEXTURE:Lnet/minecraft/util/Identifier;
-
-
Constructor Details
-
WolfEntityRenderer
- Mappings:
Namespace Name Mixin selector official <init>
Lemi;<init>(Lemj$a;)V
intermediary <init>
Lnet/minecraft/class_897;<init>(Lnet/minecraft/class_5617$class_5618;)V
named <init>
Lnet/minecraft/client/render/entity/EntityRenderer;<init>(Lnet/minecraft/client/render/entity/EntityRendererFactory$Context;)V
-
-
Method Details
-
getAnimationProgress
Description copied from class:LivingEntityRenderer
This value is passed to other methods when calculating angles for animation. It's typically just the sum of the entity's age (in ticks) and the passed in tickDelta.- Overrides:
getAnimationProgress
in classLivingEntityRenderer<WolfEntity,WolfEntityModel<WolfEntity>>
- Mappings:
Namespace Name Mixin selector official a
Lepf;a(Lbck;F)F
intermediary method_4167
Lnet/minecraft/class_969;method_4167(Lnet/minecraft/class_1493;F)F
named getAnimationProgress
Lnet/minecraft/client/render/entity/WolfEntityRenderer;getAnimationProgress(Lnet/minecraft/entity/passive/WolfEntity;F)F
-
render
public void render(WolfEntity wolfEntity, float float2, float float3, MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2)- Overrides:
render
in classMobEntityRenderer<WolfEntity,WolfEntityModel<WolfEntity>>
- Mappings:
Namespace Name Mixin selector official a
Lepf;a(Lbck;FFLdlr;Lehq;I)V
intermediary method_4166
Lnet/minecraft/class_969;method_4166(Lnet/minecraft/class_1493;FFLnet/minecraft/class_4587;Lnet/minecraft/class_4597;I)V
named render
Lnet/minecraft/client/render/entity/WolfEntityRenderer;render(Lnet/minecraft/entity/passive/WolfEntity;FFLnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;I)V
-
getTexture
- Specified by:
getTexture
in interfaceFeatureRendererContext<WolfEntity,WolfEntityModel<WolfEntity>>
- Specified by:
getTexture
in classEntityRenderer<WolfEntity>
- Mappings:
Namespace Name Mixin selector official a
Lepf;a(Lbck;)Lwb;
intermediary method_4165
Lnet/minecraft/class_969;method_4165(Lnet/minecraft/class_1493;)Lnet/minecraft/class_2960;
named getTexture
Lnet/minecraft/client/render/entity/WolfEntityRenderer;getTexture(Lnet/minecraft/entity/passive/WolfEntity;)Lnet/minecraft/util/Identifier;
-