java.lang.Object
net.minecraft.client.model.Model
net.minecraft.client.model.EntityModel<E>

public class ModelBike extends PixelmonModelSmd
  • Constructor Details

  • Method Details

    • setupForRender

      public void setupForRender(BikeEntity bike)
      Called by BikeRenderer to set the animation variables on the model before rendering.
      Parameters:
      bike - The bike entity about to be rendered
    • updateAnimation

      protected void updateAnimation(IncrementingVariable variable)
      Overrides:
      updateAnimation in class PixelmonModelSmd
    • 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 class PixelmonModelBase
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • setupAnim

      public void setupAnim(net.minecraft.world.entity.Entity entityIn, float limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw, float headPitch)
      Specified by:
      setupAnim in class net.minecraft.client.model.EntityModel