public abstract class MobRenderer<T extends MobEntity,M extends EntityModel<T>> extends LivingRenderer<T,M>
entityModel, layerRenderers
renderManager, shadowOpaque, shadowSize
Constructor and Description |
---|
MobRenderer(EntityRendererManager renderManagerIn,
M entityModelIn,
float shadowSizeIn) |
Modifier and Type | Method and Description |
---|---|
static void |
addVertexPair(IVertexBuilder bufferIn,
Matrix4f matrixIn,
int packedLight,
float p_229120_3_,
float p_229120_4_,
float p_229120_5_,
float p_229120_6_,
float p_229120_7_,
int p_229120_8_,
int p_229120_9_,
boolean p_229120_10_,
float p_229120_11_,
float p_229120_12_) |
protected boolean |
canRenderName(T entity) |
void |
render(T entityIn,
float entityYaw,
float partialTicks,
MatrixStack matrixStackIn,
IRenderTypeBuffer bufferIn,
int packedLightIn) |
private <E extends Entity> |
renderLeash(T entityLivingIn,
float partialTicks,
MatrixStack matrixStackIn,
IRenderTypeBuffer bufferIn,
E leashHolder) |
static void |
renderSide(IVertexBuilder bufferIn,
Matrix4f matrixIn,
float p_229119_2_,
float p_229119_3_,
float p_229119_4_,
int blockLight,
int holderBlockLight,
int skyLight,
int holderSkyLight,
float p_229119_9_,
float p_229119_10_,
float p_229119_11_,
float p_229119_12_) |
boolean |
shouldRender(T livingEntityIn,
ClippingHelperImpl camera,
double camX,
double camY,
double camZ) |
addLayer, applyRotations, func_230042_a_, getDeathMaxRotation, getEntityModel, getOverlayProgress, getPackedOverlay, getSwingProgress, handleRotationFloat, isVisible, preRenderCallback
getBlockLight, getEntityTexture, getFontRendererFromRenderManager, getPackedLight, getRenderManager, getRenderOffset, renderName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getEntityTexture
public MobRenderer(EntityRendererManager renderManagerIn, M entityModelIn, float shadowSizeIn)
protected boolean canRenderName(T entity)
canRenderName
in class LivingRenderer<T extends MobEntity,M extends EntityModel<T>>
public boolean shouldRender(T livingEntityIn, ClippingHelperImpl camera, double camX, double camY, double camZ)
shouldRender
in class EntityRenderer<T extends MobEntity>
public void render(T entityIn, float entityYaw, float partialTicks, MatrixStack matrixStackIn, IRenderTypeBuffer bufferIn, int packedLightIn)
render
in class LivingRenderer<T extends MobEntity,M extends EntityModel<T>>
private <E extends Entity> void renderLeash(T entityLivingIn, float partialTicks, MatrixStack matrixStackIn, IRenderTypeBuffer bufferIn, E leashHolder)
public static void renderSide(IVertexBuilder bufferIn, Matrix4f matrixIn, float p_229119_2_, float p_229119_3_, float p_229119_4_, int blockLight, int holderBlockLight, int skyLight, int holderSkyLight, float p_229119_9_, float p_229119_10_, float p_229119_11_, float p_229119_12_)
public static void addVertexPair(IVertexBuilder bufferIn, Matrix4f matrixIn, int packedLight, float p_229120_3_, float p_229120_4_, float p_229120_5_, float p_229120_6_, float p_229120_7_, int p_229120_8_, int p_229120_9_, boolean p_229120_10_, float p_229120_11_, float p_229120_12_)