the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
1#pragma once
2#include "LivingEntityRenderer.h"
3class Mob;
4using namespace std;
5
6// This was used in MobRenderer but lots of code moved to LivingEntity and I haven't put this back yet
7/*#define PLAYER_NAME_READABLE_FULLSCREEN 16
8#define PLAYER_NAME_READABLE_DISTANCE_SPLITSCREEN 8
9#define PLAYER_NAME_READABLE_DISTANCE_SD 8*/
10
11// 4J - this used to be a generic : public class MobRenderer<T extends Mob> extends EntityRenderer<T>
12class MobRenderer : public LivingEntityRenderer
13{
14public:
15 MobRenderer(Model *model, float shadow);
16 virtual void render(shared_ptr<Entity> mob, double x, double y, double z, float rot, float a);
17
18protected:
19 virtual bool shouldShowName(shared_ptr<LivingEntity> mob);
20 virtual void renderLeash(shared_ptr<Mob> entity, double x, double y, double z, float rot, float a);
21
22private:
23 double lerp(double prev, double next, double a);
24};