public class RenderSnowball<T extends Entity> extends Render<T>
Modifier and Type | Field and Description |
---|---|
protected Item |
item |
private RenderItem |
itemRenderer |
renderManager, renderOutlines, shadowOpaque, shadowSize
Constructor and Description |
---|
RenderSnowball(RenderManager renderManagerIn,
Item itemIn,
RenderItem itemRendererIn) |
Modifier and Type | Method and Description |
---|---|
void |
doRender(T entity,
double x,
double y,
double z,
float entityYaw,
float partialTicks) |
protected ResourceLocation |
getEntityTexture(Entity entity) |
ItemStack |
getStackToRender(T entityIn) |
bindEntityTexture, bindTexture, canRenderName, doRenderShadowAndFire, getFontRendererFromRenderManager, getRenderManager, getTeamColor, isMultipass, renderEntityName, renderLivingLabel, renderMultipass, renderName, renderOffsetAABB, setRenderOutlines, shouldRender
protected final Item item
private final RenderItem itemRenderer
public RenderSnowball(RenderManager renderManagerIn, Item itemIn, RenderItem itemRendererIn)
public void doRender(T entity, double x, double y, double z, float entityYaw, float partialTicks)
protected ResourceLocation getEntityTexture(Entity entity)
getEntityTexture
in class Render<T extends Entity>