public abstract class PixelmonModelBase<E extends net.minecraft.entity.Entity>
extends net.minecraft.client.renderer.entity.model.EntityModel<E>
Modifier and Type | Field and Description |
---|---|
net.minecraft.client.renderer.IRenderTypeBuffer |
buffer |
float |
movementThreshold |
float |
scale |
net.minecraft.util.ResourceLocation |
texture |
Constructor and Description |
---|
PixelmonModelBase() |
Modifier and Type | Method and Description |
---|---|
protected IncrementingVariable |
getCounter(int id,
E pixelmon) |
protected float |
getDefaultXRotation() |
protected int |
getInt(int id,
E pixelmon) |
float |
getMovementThreshold() |
float |
getScale() |
protected boolean |
hasInt(int id,
E pixelmon) |
protected void |
registerAnimationCounters() |
void |
render(net.minecraft.entity.Entity entity,
com.mojang.blaze3d.matrix.MatrixStack matrix,
com.mojang.blaze3d.vertex.IVertexBuilder buffer,
int packedLight,
int packedOverlay,
float red,
float green,
float blue,
float alpha) |
void |
renderToBuffer(com.mojang.blaze3d.matrix.MatrixStack matrix,
com.mojang.blaze3d.vertex.IVertexBuilder buffer,
int packedLight,
int packedOverlay,
float red,
float green,
float blue,
float alpha) |
void |
setBuffer(net.minecraft.client.renderer.IRenderTypeBuffer buffer) |
protected IncrementingVariable |
setCounter(int id,
int limit,
int increment,
E pixelmon) |
protected void |
setInt(int id,
int value,
E pixelmon) |
void |
setScale(float scale) |
copyPropertiesTo, prepareMobModel, setupAnim
public float scale
public float movementThreshold
public net.minecraft.client.renderer.IRenderTypeBuffer buffer
public net.minecraft.util.ResourceLocation texture
public void setScale(float scale)
public void setBuffer(net.minecraft.client.renderer.IRenderTypeBuffer buffer)
public void renderToBuffer(com.mojang.blaze3d.matrix.MatrixStack matrix, com.mojang.blaze3d.vertex.IVertexBuilder buffer, int packedLight, int packedOverlay, float red, float green, float blue, float alpha)
renderToBuffer
in class net.minecraft.client.renderer.model.Model
public void render(net.minecraft.entity.Entity entity, com.mojang.blaze3d.matrix.MatrixStack matrix, com.mojang.blaze3d.vertex.IVertexBuilder buffer, int packedLight, int packedOverlay, float red, float green, float blue, float alpha)
protected float getDefaultXRotation()
public float getScale()
protected void setInt(int id, int value, E pixelmon)
protected int getInt(int id, E pixelmon)
protected IncrementingVariable setCounter(int id, int limit, int increment, E pixelmon)
protected IncrementingVariable getCounter(int id, E pixelmon)
protected void registerAnimationCounters()
protected boolean hasInt(int id, E pixelmon)
public float getMovementThreshold()