Class ParrotRenderer
- java.lang.Object
-
- net.minecraft.client.renderer.entity.EntityRenderer<T>
-
- net.minecraft.client.renderer.entity.LivingRenderer<T,M>
-
- net.minecraft.client.renderer.entity.MobRenderer<ParrotEntity,ParrotModel>
-
- net.minecraft.client.renderer.entity.ParrotRenderer
-
- All Implemented Interfaces:
IEntityRenderer<ParrotEntity,ParrotModel>
public class ParrotRenderer extends MobRenderer<ParrotEntity,ParrotModel>
-
-
Field Summary
Fields Modifier and Type Field Description static ResourceLocation[]
PARROT_LOCATIONS
-
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 ParrotRenderer(EntityRendererManager p_i47375_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description float
getBob(ParrotEntity p_77044_1_, float p_77044_2_)
ResourceLocation
getTextureLocation(ParrotEntity 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, 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
-
PARROT_LOCATIONS
public static final ResourceLocation[] PARROT_LOCATIONS
-
-
Constructor Detail
-
ParrotRenderer
public ParrotRenderer(EntityRendererManager p_i47375_1_)
-
-
Method Detail
-
getTextureLocation
public ResourceLocation getTextureLocation(ParrotEntity p_110775_1_)
- Specified by:
getTextureLocation
in interfaceIEntityRenderer<ParrotEntity,ParrotModel>
- Specified by:
getTextureLocation
in classEntityRenderer<ParrotEntity>
-
getBob
public float getBob(ParrotEntity p_77044_1_, float p_77044_2_)
- Overrides:
getBob
in classLivingRenderer<ParrotEntity,ParrotModel>
-
-