Class PigRenderer
- java.lang.Object
-
- net.minecraft.client.renderer.entity.EntityRenderer<T>
-
- net.minecraft.client.renderer.entity.LivingRenderer<T,M>
-
- net.minecraft.client.renderer.entity.MobRenderer<PigEntity,PigModel<PigEntity>>
-
- net.minecraft.client.renderer.entity.PigRenderer
-
- All Implemented Interfaces:
IEntityRenderer<PigEntity,PigModel<PigEntity>>
public class PigRenderer extends MobRenderer<PigEntity,PigModel<PigEntity>>
-
-
Field Summary
Fields Modifier and Type Field Description private static ResourceLocation
PIG_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 PigRenderer(EntityRendererManager p_i47198_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResourceLocation
getTextureLocation(PigEntity p_110775_1_)
-
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, setupRotations
-
Methods inherited from class net.minecraft.client.renderer.entity.EntityRenderer
getBlockLightLevel, getDispatcher, getFont, getPackedLightCoords, getRenderOffset, getSkyLightLevel, renderNameTag
-
-
-
-
Field Detail
-
PIG_LOCATION
private static final ResourceLocation PIG_LOCATION
-
-
Constructor Detail
-
PigRenderer
public PigRenderer(EntityRendererManager p_i47198_1_)
-
-
Method Detail
-
getTextureLocation
public ResourceLocation getTextureLocation(PigEntity p_110775_1_)
- Specified by:
getTextureLocation
in interfaceIEntityRenderer<PigEntity,PigModel<PigEntity>>
- Specified by:
getTextureLocation
in classEntityRenderer<PigEntity>
-
-