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 frpintermediary net/minecraft/class_969named net/minecraft/client/render/entity/WolfEntityRenderer
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Identifierprivate static final Identifierprivate static final IdentifierFields inherited from class net.minecraft.client.render.entity.MobEntityRenderer
LEASH_PIECE_COUNTFields inherited from class net.minecraft.client.render.entity.LivingEntityRenderer
features, modelFields inherited from class net.minecraft.client.render.entity.EntityRenderer
dispatcher, field_32921, shadowOpacity, shadowRadius -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected floatgetAnimationProgress(WolfEntity wolfEntity, float float2) This value is passed to other methods when calculating angles for animation.getTexture(WolfEntity wolfEntity) voidrender(WolfEntity wolfEntity, float float2, float float3, MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2) Methods inherited from class net.minecraft.client.render.entity.MobEntityRenderer
hasLabel, shouldRenderMethods inherited from class net.minecraft.client.render.entity.LivingEntityRenderer
addFeature, getAnimationCounter, getHandSwingProgress, getLyingAngle, getModel, getOverlay, getRenderLayer, isShaking, isVisible, scale, setupTransforms, shouldFlipUpsideDownMethods inherited from class net.minecraft.client.render.entity.EntityRenderer
getBlockLight, getLight, getPositionOffset, getSkyLight, getTextRenderer, renderLabelIfPresent
-
Field Details
-
WILD_TEXTURE
- Mappings:
Namespace Name Mixin selector official aLfrp;a:Lacq;intermediary field_4821Lnet/minecraft/class_969;field_4821:Lnet/minecraft/class_2960;named WILD_TEXTURELnet/minecraft/client/render/entity/WolfEntityRenderer;WILD_TEXTURE:Lnet/minecraft/util/Identifier;
-
TAMED_TEXTURE
- Mappings:
Namespace Name Mixin selector official iLfrp;i:Lacq;intermediary field_4822Lnet/minecraft/class_969;field_4822:Lnet/minecraft/class_2960;named TAMED_TEXTURELnet/minecraft/client/render/entity/WolfEntityRenderer;TAMED_TEXTURE:Lnet/minecraft/util/Identifier;
-
ANGRY_TEXTURE
- Mappings:
Namespace Name Mixin selector official jLfrp;j:Lacq;intermediary field_4823Lnet/minecraft/class_969;field_4823:Lnet/minecraft/class_2960;named ANGRY_TEXTURELnet/minecraft/client/render/entity/WolfEntityRenderer;ANGRY_TEXTURE:Lnet/minecraft/util/Identifier;
-
-
Constructor Details
-
WolfEntityRenderer
- Mappings:
Namespace Name Mixin selector official <init>Lfol;<init>(Lfom$a;)Vintermediary <init>Lnet/minecraft/class_897;<init>(Lnet/minecraft/class_5617$class_5618;)Vnamed <init>Lnet/minecraft/client/render/entity/EntityRenderer;<init>(Lnet/minecraft/client/render/entity/EntityRendererFactory$Context;)V
-
-
Method Details
-
getAnimationProgress
Description copied from class:LivingEntityRendererThis 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:
getAnimationProgressin classLivingEntityRenderer<WolfEntity,WolfEntityModel<WolfEntity>> - Mappings:
Namespace Name Mixin selector official aLfrp;a(Lbsm;F)Fintermediary method_4167Lnet/minecraft/class_969;method_4167(Lnet/minecraft/class_1493;F)Fnamed getAnimationProgressLnet/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:
renderin classMobEntityRenderer<WolfEntity,WolfEntityModel<WolfEntity>> - Mappings:
Namespace Name Mixin selector official aLfrp;a(Lbsm;FFLeib;Lfjm;I)Vintermediary method_4166Lnet/minecraft/class_969;method_4166(Lnet/minecraft/class_1493;FFLnet/minecraft/class_4587;Lnet/minecraft/class_4597;I)Vnamed renderLnet/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:
getTexturein interfaceFeatureRendererContext<WolfEntity,WolfEntityModel<WolfEntity>> - Specified by:
getTexturein classEntityRenderer<WolfEntity>- Mappings:
Namespace Name Mixin selector official aLfrp;a(Lbsm;)Lacq;intermediary method_4165Lnet/minecraft/class_969;method_4165(Lnet/minecraft/class_1493;)Lnet/minecraft/class_2960;named getTextureLnet/minecraft/client/render/entity/WolfEntityRenderer;getTexture(Lnet/minecraft/entity/passive/WolfEntity;)Lnet/minecraft/util/Identifier;
-