Class ModelPokeballs

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

public class ModelPokeballs extends PixelmonModelSmd<PokeBallEntity>
  • Constructor Details

    • ModelPokeballs

      public ModelPokeballs(String model)
  • Method Details

    • setupForRender

      public void setupForRender(PokeBallEntity ball)
    • render

      public void render(PokeBallEntity 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<PokeBallEntity>
    • setupAnim

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