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 epfintermediary net/minecraft/class_969named net/minecraft/client/render/entity/WolfEntityRenderer
-
Field Summary
Fields Modifier and Type Field Description private static IdentifierANGRY_TEXTUREprivate static IdentifierTAMED_TEXTUREprivate static IdentifierWILD_TEXTUREFields inherited from class net.minecraft.client.render.entity.LivingEntityRenderer
features, modelFields 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 floatgetAnimationProgress(WolfEntity wolfEntity, float float2)This value is passed to other methods when calculating angles for animation.IdentifiergetTexture(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, setupTransformsMethods 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 aLepf;a:Lwb;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 gLepf;g:Lwb;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 hLepf;h:Lwb;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>Lemi;<init>(Lemj$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 aLepf;a(Lbck;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 aLepf;a(Lbck;FFLdlr;Lehq;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 aLepf;a(Lbck;)Lwb;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;
-