the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
1#include "stdafx.h"
2#include "CaveSpiderRenderer.h"
3
4ResourceLocation CaveSpiderRenderer::CAVE_SPIDER_LOCATION = ResourceLocation(TN_MOB_CAVE_SPIDER);
5float CaveSpiderRenderer::s_scale = 0.7f;
6
7CaveSpiderRenderer::CaveSpiderRenderer() : SpiderRenderer()
8{
9 shadowRadius *= s_scale;
10}
11
12void CaveSpiderRenderer::scale(shared_ptr<LivingEntity> mob, float a)
13{
14 glScalef(s_scale, s_scale, s_scale);
15}
16
17ResourceLocation *CaveSpiderRenderer::getTextureLocation(shared_ptr<Entity> mob)
18{
19 return &CAVE_SPIDER_LOCATION;
20}