Class ModelBike
java.lang.Object
net.minecraft.client.model.Model
net.minecraft.client.model.EntityModel<E>
com.pixelmonmod.pixelmon.client.models.PixelmonModelBase<M>
com.pixelmonmod.pixelmon.client.models.PixelmonModelSmd
com.pixelmonmod.pixelmon.client.models.bikes.ModelBike
-
Field Summary
Fields inherited from class com.pixelmonmod.pixelmon.client.models.PixelmonModelSmd
animationIncrement, partialTick, theModel
Fields inherited from class com.pixelmonmod.pixelmon.client.models.PixelmonModelBase
buffer, movementThreshold, scale, texture
Fields inherited from class net.minecraft.client.model.EntityModel
attackTime, riding, young
Fields inherited from class net.minecraft.client.model.Model
renderType
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
render
(net.minecraft.world.entity.Entity entity, com.mojang.blaze3d.vertex.PoseStack matrix, com.mojang.blaze3d.vertex.VertexConsumer buffer, int packedLight, int packedOverlay) void
render
(net.minecraft.world.entity.Entity entity, com.mojang.blaze3d.vertex.PoseStack matrix, com.mojang.blaze3d.vertex.VertexConsumer buffer, int packedLight, int packedOverlay, float red, float green, float blue, float alpha) void
setupAnim
(net.minecraft.world.entity.Entity entityIn, float limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw, float headPitch) void
setupForRender
(BikeEntity bike) Called byBikeRenderer
to set the animation variables on the model before rendering.toString()
protected void
updateAnimation
(IncrementingVariable variable) Methods inherited from class com.pixelmonmod.pixelmon.client.models.PixelmonModelSmd
getTheModel, registerAnimationCounters, setAnimation
Methods inherited from class com.pixelmonmod.pixelmon.client.models.PixelmonModelBase
getDefaultXRotation, getMovementThreshold, renderToBuffer, setBuffer, setScale
Methods inherited from class net.minecraft.client.model.EntityModel
copyPropertiesTo, prepareMobModel
Methods inherited from class net.minecraft.client.model.Model
renderType
-
Constructor Details
-
ModelBike
-
-
Method Details
-
setupForRender
Called byBikeRenderer
to set the animation variables on the model before rendering.- Parameters:
bike
- The bike entity about to be rendered
-
updateAnimation
- Overrides:
updateAnimation
in classPixelmonModelSmd
-
render
public void render(net.minecraft.world.entity.Entity entity, com.mojang.blaze3d.vertex.PoseStack matrix, com.mojang.blaze3d.vertex.VertexConsumer buffer, int packedLight, int packedOverlay) -
render
public void render(net.minecraft.world.entity.Entity entity, com.mojang.blaze3d.vertex.PoseStack matrix, com.mojang.blaze3d.vertex.VertexConsumer buffer, int packedLight, int packedOverlay, float red, float green, float blue, float alpha) - Overrides:
render
in classPixelmonModelBase
-
toString
-
setupAnim
public void setupAnim(net.minecraft.world.entity.Entity entityIn, float limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw, float headPitch) - Specified by:
setupAnim
in classnet.minecraft.client.model.EntityModel
-