Class WolfRenderer
- java.lang.Object
-
- net.minecraft.client.renderer.entity.EntityRenderer<T>
-
- net.minecraft.client.renderer.entity.LivingRenderer<T,M>
-
- net.minecraft.client.renderer.entity.MobRenderer<WolfEntity,WolfModel<WolfEntity>>
-
- net.minecraft.client.renderer.entity.WolfRenderer
-
- All Implemented Interfaces:
IEntityRenderer<WolfEntity,WolfModel<WolfEntity>>
public class WolfRenderer extends MobRenderer<WolfEntity,WolfModel<WolfEntity>>
-
-
Field Summary
Fields Modifier and Type Field Description private static ResourceLocation
WOLF_ANGRY_LOCATION
private static ResourceLocation
WOLF_LOCATION
private static ResourceLocation
WOLF_TAME_LOCATION
-
Fields inherited from class net.minecraft.client.renderer.entity.LivingRenderer
layers, model
-
Fields inherited from class net.minecraft.client.renderer.entity.EntityRenderer
entityRenderDispatcher, shadowRadius, shadowStrength
-
-
Constructor Summary
Constructors Constructor Description WolfRenderer(EntityRendererManager p_i47187_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected float
getBob(WolfEntity p_77044_1_, float p_77044_2_)
ResourceLocation
getTextureLocation(WolfEntity p_110775_1_)
void
render(WolfEntity p_225623_1_, float p_225623_2_, float p_225623_3_, MatrixStack p_225623_4_, IRenderTypeBuffer p_225623_5_, int p_225623_6_)
-
Methods inherited from class net.minecraft.client.renderer.entity.MobRenderer
addVertexPair, renderSide, shouldRender, shouldShowName
-
Methods inherited from class net.minecraft.client.renderer.entity.LivingRenderer
addLayer, getAttackAnim, getFlipDegrees, getModel, getOverlayCoords, getRenderType, getWhiteOverlayProgress, isBodyVisible, isShaking, scale, setupRotations
-
Methods inherited from class net.minecraft.client.renderer.entity.EntityRenderer
getBlockLightLevel, getDispatcher, getFont, getPackedLightCoords, getRenderOffset, getSkyLightLevel, renderNameTag
-
-
-
-
Field Detail
-
WOLF_LOCATION
private static final ResourceLocation WOLF_LOCATION
-
WOLF_TAME_LOCATION
private static final ResourceLocation WOLF_TAME_LOCATION
-
WOLF_ANGRY_LOCATION
private static final ResourceLocation WOLF_ANGRY_LOCATION
-
-
Constructor Detail
-
WolfRenderer
public WolfRenderer(EntityRendererManager p_i47187_1_)
-
-
Method Detail
-
getBob
protected float getBob(WolfEntity p_77044_1_, float p_77044_2_)
- Overrides:
getBob
in classLivingRenderer<WolfEntity,WolfModel<WolfEntity>>
-
render
public void render(WolfEntity p_225623_1_, float p_225623_2_, float p_225623_3_, MatrixStack p_225623_4_, IRenderTypeBuffer p_225623_5_, int p_225623_6_)
- Overrides:
render
in classMobRenderer<WolfEntity,WolfModel<WolfEntity>>
-
getTextureLocation
public ResourceLocation getTextureLocation(WolfEntity p_110775_1_)
- Specified by:
getTextureLocation
in interfaceIEntityRenderer<WolfEntity,WolfModel<WolfEntity>>
- Specified by:
getTextureLocation
in classEntityRenderer<WolfEntity>
-
-