4jcraft/targets/minecraft/client/model/WolfModel.h
2026-04-01 13:27:58 -05:00

30 lines
963 B
C++

#pragma once
#include "minecraft/client/model/geom/Model.h"
#include "minecraft/world/entity/Mob.h"
class ModelPart;
class WolfModel : public Model {
public:
ModelPart *head, *body, *leg0, *leg1, *leg2, *leg3;
// Cube *ear1;
// Cube *ear2;
// Cube *mouth;
ModelPart* tail;
ModelPart* upperBody;
private:
static const int legSize = 8;
public:
WolfModel();
virtual void render(std::shared_ptr<Entity> entity, float time, float r,
float bob, float yRot, float xRot, float scale,
bool usecompiled);
void prepareMobModel(std::shared_ptr<LivingEntity> mob, float time, float r,
float a);
virtual void setupAnim(float time, float r, float bob, float yRot,
float xRot, float scale,
std::shared_ptr<Entity> entity,
unsigned int uiBitmaskOverrideAnim = 0);
};