public class SpriteRenderer<T extends Entity & IRendersAsItem> extends EntityRenderer<T>
Modifier and Type | Field and Description |
---|---|
private boolean |
field_229126_f_ |
private ItemRenderer |
itemRenderer |
private float |
scale |
renderManager, shadowOpaque, shadowSize
Constructor and Description |
---|
SpriteRenderer(EntityRendererManager renderManagerIn,
ItemRenderer itemRendererIn) |
SpriteRenderer(EntityRendererManager p_i226035_1_,
ItemRenderer p_i226035_2_,
float p_i226035_3_,
boolean p_i226035_4_) |
Modifier and Type | Method and Description |
---|---|
protected int |
getBlockLight(T entityIn,
float partialTicks) |
ResourceLocation |
getEntityTexture(Entity entity) |
void |
render(T entityIn,
float entityYaw,
float partialTicks,
MatrixStack matrixStackIn,
IRenderTypeBuffer bufferIn,
int packedLightIn) |
canRenderName, getFontRendererFromRenderManager, getPackedLight, getRenderManager, getRenderOffset, renderName, shouldRender
private final ItemRenderer itemRenderer
private final float scale
private final boolean field_229126_f_
public SpriteRenderer(EntityRendererManager p_i226035_1_, ItemRenderer p_i226035_2_, float p_i226035_3_, boolean p_i226035_4_)
public SpriteRenderer(EntityRendererManager renderManagerIn, ItemRenderer itemRendererIn)
protected int getBlockLight(T entityIn, float partialTicks)
getBlockLight
in class EntityRenderer<T extends Entity & IRendersAsItem>
public void render(T entityIn, float entityYaw, float partialTicks, MatrixStack matrixStackIn, IRenderTypeBuffer bufferIn, int packedLightIn)
render
in class EntityRenderer<T extends Entity & IRendersAsItem>
public ResourceLocation getEntityTexture(Entity entity)
getEntityTexture
in class EntityRenderer<T extends Entity & IRendersAsItem>