public class ModelBike extends PixelmonModelSmd
animationIncrement, partialTick, theModel
buffer, movementThreshold, scale, texture
Constructor and Description |
---|
ModelBike(CustomModel model) |
Modifier and Type | Method and Description |
---|---|
void |
render(net.minecraft.entity.Entity entity,
com.mojang.blaze3d.matrix.MatrixStack matrix,
com.mojang.blaze3d.vertex.IVertexBuilder buffer,
int packedLight,
int packedOverlay) |
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 |
setupAnim(net.minecraft.entity.Entity entityIn,
float limbSwing,
float limbSwingAmount,
float ageInTicks,
float netHeadYaw,
float headPitch) |
void |
setupForRender(BikeEntity bike)
Called by
BikeRenderer
to set the animation variables on the model before rendering. |
java.lang.String |
toString() |
protected void |
updateAnimation(IncrementingVariable variable) |
getCounter, getInt, getScale, getTheModel, registerAnimationCounters, setAnimation, setCounter, setInt, setupForRender
getDefaultXRotation, getMovementThreshold, hasInt, renderToBuffer, setBuffer, setCounter, setScale
copyPropertiesTo, prepareMobModel
public ModelBike(CustomModel model)
public void setupForRender(BikeEntity bike)
BikeRenderer
to set the animation variables on the model before rendering.bike
- The bike entity about to be renderedprotected void updateAnimation(IncrementingVariable variable)
updateAnimation
in class PixelmonModelSmd
public void render(net.minecraft.entity.Entity entity, com.mojang.blaze3d.matrix.MatrixStack matrix, com.mojang.blaze3d.vertex.IVertexBuilder buffer, int packedLight, int packedOverlay)
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)
render
in class PixelmonModelBase
public java.lang.String toString()
toString
in class java.lang.Object
public void setupAnim(net.minecraft.entity.Entity entityIn, float limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw, float headPitch)
setupAnim
in class net.minecraft.client.renderer.entity.model.EntityModel