aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.Client/SpiderRenderer.h
diff options
context:
space:
mode:
authorLoki Rautio <lokirautio@gmail.com>2026-03-04 03:56:03 -0600
committerLoki Rautio <lokirautio@gmail.com>2026-03-04 03:56:03 -0600
commit42aec6dac53dffa6afe072560a7e1d4986112538 (patch)
tree0836426857391df1b6a83f6368a183f83ec9b104 /Minecraft.Client/SpiderRenderer.h
parentc9d58eeac7c72f0b3038e084667b4d89a6249fce (diff)
parentef9b6fd500dfabd9463267b0dd9e29577eea8a2b (diff)
Merge branch 'main' into pr/win64-world-saves
# Conflicts: # Minecraft.Client/MinecraftServer.cpp # README.md
Diffstat (limited to 'Minecraft.Client/SpiderRenderer.h')
-rw-r--r--Minecraft.Client/SpiderRenderer.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/Minecraft.Client/SpiderRenderer.h b/Minecraft.Client/SpiderRenderer.h
index 3b937458..ef4c2d18 100644
--- a/Minecraft.Client/SpiderRenderer.h
+++ b/Minecraft.Client/SpiderRenderer.h
@@ -3,10 +3,15 @@
class SpiderRenderer : public MobRenderer
{
+private:
+ static ResourceLocation SPIDER_LOCATION;
+ static ResourceLocation SPIDER_EYES_LOCATION;
+
public:
SpiderRenderer();
+
protected:
- virtual float getFlipDegrees(shared_ptr<Mob> spider);
- virtual int prepareArmor(shared_ptr<Mob> _spider, int layer, float a);
- void scale(shared_ptr<Mob> _mob, float a);
+ virtual float getFlipDegrees(shared_ptr<LivingEntity> spider);
+ virtual int prepareArmor(shared_ptr<LivingEntity> _spider, int layer, float a);
+ virtual ResourceLocation *getTextureLocation(shared_ptr<Entity> mob);
}; \ No newline at end of file