public abstract class PixelmonModelSmd<M extends net.minecraft.entity.Entity> extends PixelmonModelBase<M>
| Modifier and Type | Field and Description |
|---|---|
float |
animationIncrement |
float |
partialTick |
ValveStudioModel |
theModel |
buffer, movementThreshold, scale, texture| Constructor and Description |
|---|
PixelmonModelSmd() |
| Modifier and Type | Method and Description |
|---|---|
protected IncrementingVariable |
getCounter(int id,
net.minecraft.entity.Entity pixelmon) |
protected int |
getInt(int id,
net.minecraft.entity.Entity pixelmon) |
float |
getScale() |
ValveStudioModel |
getTheModel() |
protected void |
registerAnimationCounters() |
protected void |
setAnimation(AnimationType animType) |
protected IncrementingVariable |
setCounter(int id,
float limit,
float increment,
net.minecraft.entity.Entity pixelmon) |
protected void |
setInt(int id,
int value,
net.minecraft.entity.Entity pixelmon) |
void |
setupForRender(AbstractClientEntity pixelmon)
Called by
PixelmonRenderer to set the animation variables on the model before rendering. |
protected void |
updateAnimation(IncrementingVariable variable) |
getDefaultXRotation, getMovementThreshold, hasInt, render, renderToBuffer, setBuffer, setCounter, setScalecopyPropertiesTo, prepareMobModel, setupAnimpublic float animationIncrement
public ValveStudioModel theModel
public float partialTick
public ValveStudioModel getTheModel()
public float getScale()
getScale in class PixelmonModelBase<M extends net.minecraft.entity.Entity>public void setupForRender(AbstractClientEntity pixelmon)
PixelmonRenderer to set the animation variables on the model before rendering.pixelmon - The pixelmon entity about to be renderedprotected void updateAnimation(IncrementingVariable variable)
protected void setAnimation(AnimationType animType)
protected void setInt(int id,
int value,
net.minecraft.entity.Entity pixelmon)
setInt in class PixelmonModelBase<M extends net.minecraft.entity.Entity>protected int getInt(int id,
net.minecraft.entity.Entity pixelmon)
getInt in class PixelmonModelBase<M extends net.minecraft.entity.Entity>protected IncrementingVariable setCounter(int id, float limit, float increment, net.minecraft.entity.Entity pixelmon)
protected IncrementingVariable getCounter(int id, net.minecraft.entity.Entity pixelmon)
getCounter in class PixelmonModelBase<M extends net.minecraft.entity.Entity>protected void registerAnimationCounters()
registerAnimationCounters in class PixelmonModelBase<M extends net.minecraft.entity.Entity>