Class HoglinRenderer
- java.lang.Object
-
- net.minecraft.client.renderer.entity.EntityRenderer<T>
-
- net.minecraft.client.renderer.entity.LivingRenderer<T,M>
-
- net.minecraft.client.renderer.entity.MobRenderer<HoglinEntity,BoarModel<HoglinEntity>>
-
- net.minecraft.client.renderer.entity.HoglinRenderer
-
- All Implemented Interfaces:
IEntityRenderer<HoglinEntity,BoarModel<HoglinEntity>>
public class HoglinRenderer extends MobRenderer<HoglinEntity,BoarModel<HoglinEntity>>
-
-
Field Summary
Fields Modifier and Type Field Description private static ResourceLocation
HOGLIN_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 HoglinRenderer(EntityRendererManager p_i232470_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResourceLocation
getTextureLocation(HoglinEntity p_110775_1_)
protected boolean
isShaking(HoglinEntity p_230495_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, scale, setupRotations
-
Methods inherited from class net.minecraft.client.renderer.entity.EntityRenderer
getBlockLightLevel, getDispatcher, getFont, getPackedLightCoords, getRenderOffset, getSkyLightLevel, renderNameTag
-
-
-
-
Field Detail
-
HOGLIN_LOCATION
private static final ResourceLocation HOGLIN_LOCATION
-
-
Constructor Detail
-
HoglinRenderer
public HoglinRenderer(EntityRendererManager p_i232470_1_)
-
-
Method Detail
-
getTextureLocation
public ResourceLocation getTextureLocation(HoglinEntity p_110775_1_)
- Specified by:
getTextureLocation
in interfaceIEntityRenderer<HoglinEntity,BoarModel<HoglinEntity>>
- Specified by:
getTextureLocation
in classEntityRenderer<HoglinEntity>
-
isShaking
protected boolean isShaking(HoglinEntity p_230495_1_)
- Overrides:
isShaking
in classLivingRenderer<HoglinEntity,BoarModel<HoglinEntity>>
-
-