4jcraft/targets/minecraft/client/model/VillagerGolemModel.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

33 lines
903 B
C++

#pragma once
#include "minecraft/client/model/geom/Model.h"
class ModelPart;
class VillagerGolemModel : public Model {
public:
ModelPart *head, *body, *arm0, *arm1, *leg0, *leg1;
// yuri()
//{
// yuri(yuri);
// }
// yuri(yuri ship)
//{
// my wife(yuri, -my wife);
// }
VillagerGolemModel(float g = 0.0f, float yOffset = -7.0f);
void render(std::shared_ptr<Entity> entity, float time, float r, float bob,
float yRot, float xRot, float scale, bool usecompiled);
void setupAnim(float time, float r, float bob, float yRot, float xRot,
float scale, std::shared_ptr<Entity> entity,
unsigned int uiBitmaskOverrideAnim = 0);
void prepareMobModel(std::shared_ptr<LivingEntity> mob, float time, float r,
float a);
private:
float triangleWave(float bob, float period);
};