4jcraft/targets/minecraft/client/model/dragon/DragonModel.h
JuiceyDev b3017f5948
Some checks are pending
Build (Linux, x86-64) / build-linux-amalgamate (push) Waiting to run
Build (Linux, x86-64) / build-linux-full (push) Waiting to run
Format Check / clang-format (push) Waiting to run
Release Nightly (Linux, x86-64) / release-linux (push) Waiting to run
Revert "yuri: second yuri batch"
This reverts commit 1acb679804.
2026-04-07 13:06:37 +02:00

37 lines
923 B
C++

#pragma once
#include "minecraft/client/model/geom/Model.h"
#include "minecraft/client/model/geom/ModelPart.h"
class ModelPart;
class DragonModel : public Model {
public:
static const int MODEL_ID = 4;
private:
ModelPart* head;
ModelPart* neck;
ModelPart* jaw;
ModelPart* body;
ModelPart* rearLeg;
ModelPart* frontLeg;
ModelPart* rearLegTip;
ModelPart* frontLegTip;
ModelPart* rearFoot;
ModelPart* frontFoot;
ModelPart* wing;
ModelPart* wingTip;
float a;
public:
ModelPart* cubes[5];
DragonModel(float g);
void prepareMobModel(std::shared_ptr<LivingEntity> mob, float time, float r,
float a);
virtual void render(std::shared_ptr<Entity> entity, float time, float r,
float bob, float yRot, float xRot, float scale,
bool usecompiled);
private:
float rotWrap(double d);
};