Class FoxRenderer
- java.lang.Object
-
- net.minecraft.client.renderer.entity.EntityRenderer<T>
-
- net.minecraft.client.renderer.entity.LivingRenderer<T,M>
-
- net.minecraft.client.renderer.entity.MobRenderer<FoxEntity,FoxModel<FoxEntity>>
-
- net.minecraft.client.renderer.entity.FoxRenderer
-
- All Implemented Interfaces:
IEntityRenderer<FoxEntity,FoxModel<FoxEntity>>
public class FoxRenderer extends MobRenderer<FoxEntity,FoxModel<FoxEntity>>
-
-
Field Summary
Fields Modifier and Type Field Description private static ResourceLocation
RED_FOX_SLEEP_TEXTURE
private static ResourceLocation
RED_FOX_TEXTURE
private static ResourceLocation
SNOW_FOX_SLEEP_TEXTURE
private static ResourceLocation
SNOW_FOX_TEXTURE
-
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 FoxRenderer(EntityRendererManager p_i50969_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResourceLocation
getTextureLocation(FoxEntity p_110775_1_)
protected void
setupRotations(FoxEntity p_225621_1_, MatrixStack p_225621_2_, float p_225621_3_, float p_225621_4_, float p_225621_5_)
-
Methods inherited from class net.minecraft.client.renderer.entity.MobRenderer
addVertexPair, render, renderSide, shouldRender, shouldShowName
-
Methods inherited from class net.minecraft.client.renderer.entity.LivingRenderer
addLayer, getAttackAnim, getBob, getFlipDegrees, getModel, getOverlayCoords, getRenderType, getWhiteOverlayProgress, isBodyVisible, isShaking, scale
-
Methods inherited from class net.minecraft.client.renderer.entity.EntityRenderer
getBlockLightLevel, getDispatcher, getFont, getPackedLightCoords, getRenderOffset, getSkyLightLevel, renderNameTag
-
-
-
-
Field Detail
-
RED_FOX_TEXTURE
private static final ResourceLocation RED_FOX_TEXTURE
-
RED_FOX_SLEEP_TEXTURE
private static final ResourceLocation RED_FOX_SLEEP_TEXTURE
-
SNOW_FOX_TEXTURE
private static final ResourceLocation SNOW_FOX_TEXTURE
-
SNOW_FOX_SLEEP_TEXTURE
private static final ResourceLocation SNOW_FOX_SLEEP_TEXTURE
-
-
Constructor Detail
-
FoxRenderer
public FoxRenderer(EntityRendererManager p_i50969_1_)
-
-
Method Detail
-
setupRotations
protected void setupRotations(FoxEntity p_225621_1_, MatrixStack p_225621_2_, float p_225621_3_, float p_225621_4_, float p_225621_5_)
- Overrides:
setupRotations
in classLivingRenderer<FoxEntity,FoxModel<FoxEntity>>
-
getTextureLocation
public ResourceLocation getTextureLocation(FoxEntity p_110775_1_)
- Specified by:
getTextureLocation
in interfaceIEntityRenderer<FoxEntity,FoxModel<FoxEntity>>
- Specified by:
getTextureLocation
in classEntityRenderer<FoxEntity>
-
-