public abstract class AbstractPokemonRenderer<E extends AbstractClientEntity> extends net.minecraft.client.renderer.entity.MobRenderer<E,PixelmonModelBase<E>>
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
bossTag |
float |
distance |
protected java.lang.String |
lvlTag |
Constructor and Description |
---|
AbstractPokemonRenderer(net.minecraft.client.renderer.entity.EntityRendererManager manager) |
Modifier and Type | Method and Description |
---|---|
net.minecraft.util.ResourceLocation |
getTextureLocation(E entity) |
protected void |
preRenderScale(AbstractClientEntity entity,
com.mojang.blaze3d.matrix.MatrixStack matrix,
float partialTicks) |
void |
render(E entityIn,
float entityYaw,
float partialTicks,
com.mojang.blaze3d.matrix.MatrixStack matrix,
net.minecraft.client.renderer.IRenderTypeBuffer buffer,
int packedLight) |
protected void |
renderLabel(E entity,
com.mojang.blaze3d.matrix.MatrixStack matrix,
net.minecraft.client.renderer.IRenderTypeBuffer buffer,
int light,
boolean owned) |
void |
renderNameTag(E entity,
net.minecraft.util.text.ITextComponent name,
com.mojang.blaze3d.matrix.MatrixStack matrix,
net.minecraft.client.renderer.IRenderTypeBuffer buffer,
int light) |
void |
scale(E entity,
com.mojang.blaze3d.matrix.MatrixStack matrix,
float partialTicks) |
protected boolean |
shouldShowName(E entity) |
addVertexPair, renderSide, shouldRender
addLayer, getAttackAnim, getBob, getFlipDegrees, getModel, getOverlayCoords, getRenderType, getWhiteOverlayProgress, isBodyVisible, isShaking, setupRotations
public float distance
protected java.lang.String lvlTag
protected java.lang.String bossTag
public AbstractPokemonRenderer(net.minecraft.client.renderer.entity.EntityRendererManager manager)
protected boolean shouldShowName(E entity)
shouldShowName
in class net.minecraft.client.renderer.entity.MobRenderer<E extends AbstractClientEntity,PixelmonModelBase<E extends AbstractClientEntity>>
public net.minecraft.util.ResourceLocation getTextureLocation(E entity)
getTextureLocation
in interface net.minecraft.client.renderer.entity.IEntityRenderer<E extends AbstractClientEntity,PixelmonModelBase<E extends AbstractClientEntity>>
getTextureLocation
in class net.minecraft.client.renderer.entity.EntityRenderer<E extends AbstractClientEntity>
public void scale(E entity, com.mojang.blaze3d.matrix.MatrixStack matrix, float partialTicks)
scale
in class net.minecraft.client.renderer.entity.LivingRenderer<E extends AbstractClientEntity,PixelmonModelBase<E extends AbstractClientEntity>>
public void render(E entityIn, float entityYaw, float partialTicks, com.mojang.blaze3d.matrix.MatrixStack matrix, net.minecraft.client.renderer.IRenderTypeBuffer buffer, int packedLight)
render
in class net.minecraft.client.renderer.entity.MobRenderer<E extends AbstractClientEntity,PixelmonModelBase<E extends AbstractClientEntity>>
protected void renderLabel(E entity, com.mojang.blaze3d.matrix.MatrixStack matrix, net.minecraft.client.renderer.IRenderTypeBuffer buffer, int light, boolean owned)
protected void preRenderScale(AbstractClientEntity entity, com.mojang.blaze3d.matrix.MatrixStack matrix, float partialTicks)
public void renderNameTag(E entity, net.minecraft.util.text.ITextComponent name, com.mojang.blaze3d.matrix.MatrixStack matrix, net.minecraft.client.renderer.IRenderTypeBuffer buffer, int light)
renderNameTag
in class net.minecraft.client.renderer.entity.EntityRenderer<E extends AbstractClientEntity>