From b691c43c44ff180d10e7d4a9afc83b98551ff586 Mon Sep 17 00:00:00 2001 From: daoge_cmd <3523206925@qq.com> Date: Sun, 1 Mar 2026 12:16:08 +0800 Subject: Initial commit --- Minecraft.Client/VillagerGolemModel.h | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 Minecraft.Client/VillagerGolemModel.h (limited to 'Minecraft.Client/VillagerGolemModel.h') diff --git a/Minecraft.Client/VillagerGolemModel.h b/Minecraft.Client/VillagerGolemModel.h new file mode 100644 index 00000000..83e73616 --- /dev/null +++ b/Minecraft.Client/VillagerGolemModel.h @@ -0,0 +1,30 @@ +#pragma once + +#include "Model.h" + +class ModelPart; + +class VillagerGolemModel : public Model +{ +public: + ModelPart *head, *body, *arm0, *arm1, *leg0, *leg1; + + //VillagerGolemModel() + //{ + // this(0); + //} + + //VillagerGolemModel(float g) + //{ + // this(g, -7); + //} + + VillagerGolemModel(float g = 0.0f, float yOffset = -7.0f); + + void render(shared_ptr 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, unsigned int uiBitmaskOverrideAnim=0); + void prepareMobModel(shared_ptr mob, float time, float r, float a); + +private: + float triangleWave(float bob, float period); +}; \ No newline at end of file -- cgit v1.2.3