public class TropicalFishRenderer extends MobRenderer<TropicalFishEntity,EntityModel<TropicalFishEntity>>
Modifier and Type | Field and Description |
---|---|
private TropicalFishAModel<TropicalFishEntity> |
aModel |
private TropicalFishBModel<TropicalFishEntity> |
bModel |
entityModel, layerRenderers
renderManager, shadowOpaque, shadowSize
Constructor and Description |
---|
TropicalFishRenderer(EntityRendererManager renderManagerIn) |
Modifier and Type | Method and Description |
---|---|
protected void |
applyRotations(TropicalFishEntity entityLiving,
MatrixStack matrixStackIn,
float ageInTicks,
float rotationYaw,
float partialTicks) |
ResourceLocation |
getEntityTexture(TropicalFishEntity entity) |
void |
render(TropicalFishEntity entityIn,
float entityYaw,
float partialTicks,
MatrixStack matrixStackIn,
IRenderTypeBuffer bufferIn,
int packedLightIn) |
addVertexPair, canRenderName, renderSide, shouldRender
addLayer, func_230042_a_, getDeathMaxRotation, getEntityModel, getOverlayProgress, getPackedOverlay, getSwingProgress, handleRotationFloat, isVisible, preRenderCallback
getBlockLight, getFontRendererFromRenderManager, getPackedLight, getRenderManager, getRenderOffset, renderName
private final TropicalFishAModel<TropicalFishEntity> aModel
private final TropicalFishBModel<TropicalFishEntity> bModel
public TropicalFishRenderer(EntityRendererManager renderManagerIn)
public ResourceLocation getEntityTexture(TropicalFishEntity entity)
getEntityTexture
in interface IEntityRenderer<TropicalFishEntity,EntityModel<TropicalFishEntity>>
getEntityTexture
in class EntityRenderer<TropicalFishEntity>
public void render(TropicalFishEntity entityIn, float entityYaw, float partialTicks, MatrixStack matrixStackIn, IRenderTypeBuffer bufferIn, int packedLightIn)
render
in class MobRenderer<TropicalFishEntity,EntityModel<TropicalFishEntity>>
protected void applyRotations(TropicalFishEntity entityLiving, MatrixStack matrixStackIn, float ageInTicks, float rotationYaw, float partialTicks)
applyRotations
in class LivingRenderer<TropicalFishEntity,EntityModel<TropicalFishEntity>>