Class FoxRenderer
java.lang.Object
net.minecraft.client.renderer.entity.EntityRenderer<Fox>
net.minecraft.client.renderer.entity.LivingEntityRenderer<Fox,FoxModel<Fox>>
net.minecraft.client.renderer.entity.MobRenderer<Fox,FoxModel<Fox>>
net.minecraft.client.renderer.entity.FoxRenderer
- All Implemented Interfaces:
RenderLayerParent<Fox,
FoxModel<Fox>>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final ResourceLocation
private static final ResourceLocation
private static final ResourceLocation
private static final ResourceLocation
Fields inherited from class net.minecraft.client.renderer.entity.LivingEntityRenderer
layers, model
Fields inherited from class net.minecraft.client.renderer.entity.EntityRenderer
entityRenderDispatcher, LEASH_RENDER_STEPS, NAMETAG_SCALE, shadowRadius, shadowStrength
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetTextureLocation
(Fox entity) Returns the location of an entity's texture.protected void
setupRotations
(Fox entity, PoseStack poseStack, float bob, float yBodyRot, float partialTick, float scale) Methods inherited from class net.minecraft.client.renderer.entity.MobRenderer
getShadowRadius, shouldShowName
Methods inherited from class net.minecraft.client.renderer.entity.LivingEntityRenderer
addLayer, getAttackAnim, getBob, getFlipDegrees, getModel, getOverlayCoords, getRenderType, getWhiteOverlayProgress, isBodyVisible, isEntityUpsideDown, isShaking, render, scale
Methods inherited from class net.minecraft.client.renderer.entity.EntityRenderer
getBlockLightLevel, getFont, getPackedLightCoords, getRenderOffset, getSkyLightLevel, renderNameTag, shouldRender
-
Field Details
-
RED_FOX_TEXTURE
-
RED_FOX_SLEEP_TEXTURE
-
SNOW_FOX_TEXTURE
-
SNOW_FOX_SLEEP_TEXTURE
-
-
Constructor Details
-
FoxRenderer
-
-
Method Details
-
setupRotations
protected void setupRotations(Fox entity, PoseStack poseStack, float bob, float yBodyRot, float partialTick, float scale) - Overrides:
setupRotations
in classLivingEntityRenderer<Fox,
FoxModel<Fox>>
-
getTextureLocation
Returns the location of an entity's texture.- Specified by:
getTextureLocation
in interfaceRenderLayerParent<Fox,
FoxModel<Fox>> - Specified by:
getTextureLocation
in classEntityRenderer<Fox>
-