Class PandaRenderer
- java.lang.Object
-
- net.minecraft.client.renderer.entity.EntityRenderer<T>
-
- net.minecraft.client.renderer.entity.LivingRenderer<T,M>
-
- net.minecraft.client.renderer.entity.MobRenderer<PandaEntity,PandaModel<PandaEntity>>
-
- net.minecraft.client.renderer.entity.PandaRenderer
-
- All Implemented Interfaces:
IEntityRenderer<PandaEntity,PandaModel<PandaEntity>>
public class PandaRenderer extends MobRenderer<PandaEntity,PandaModel<PandaEntity>>
-
-
Field Summary
Fields Modifier and Type Field Description private static java.util.Map<PandaEntity.Gene,ResourceLocation>
TEXTURES
-
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 PandaRenderer(EntityRendererManager p_i50960_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private float
getAngle(float p_217775_1_, float p_217775_2_, int p_217775_3_, float p_217775_4_, float p_217775_5_)
ResourceLocation
getTextureLocation(PandaEntity p_110775_1_)
protected void
setupRotations(PandaEntity 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
-
TEXTURES
private static final java.util.Map<PandaEntity.Gene,ResourceLocation> TEXTURES
-
-
Constructor Detail
-
PandaRenderer
public PandaRenderer(EntityRendererManager p_i50960_1_)
-
-
Method Detail
-
getTextureLocation
public ResourceLocation getTextureLocation(PandaEntity p_110775_1_)
- Specified by:
getTextureLocation
in interfaceIEntityRenderer<PandaEntity,PandaModel<PandaEntity>>
- Specified by:
getTextureLocation
in classEntityRenderer<PandaEntity>
-
setupRotations
protected void setupRotations(PandaEntity p_225621_1_, MatrixStack p_225621_2_, float p_225621_3_, float p_225621_4_, float p_225621_5_)
- Overrides:
setupRotations
in classLivingRenderer<PandaEntity,PandaModel<PandaEntity>>
-
getAngle
private float getAngle(float p_217775_1_, float p_217775_2_, int p_217775_3_, float p_217775_4_, float p_217775_5_)
-
-