Add Discord RPC back with new features, add beta splitscreen support, PR's from MCLCE used in this https://github.com/MCLCE/MinecraftConsoles/pull/1044 https://github.com/MCLCE/MinecraftConsoles/pull/1136 https://github.com/MCLCE/MinecraftConsoles/pull/1245
17 lines
445 B
C++
17 lines
445 B
C++
#pragma once
|
|
#include "MobRenderer.h"
|
|
|
|
class SlimeRenderer : public MobRenderer
|
|
{
|
|
private:
|
|
Model *armor;
|
|
static ResourceLocation SLIME_LOCATION;
|
|
|
|
public:
|
|
SlimeRenderer(Model *model, Model *armor, float shadow);
|
|
virtual ResourceLocation *getTextureLocation(shared_ptr<Entity> mob);
|
|
|
|
protected:
|
|
virtual int prepareArmor(shared_ptr<LivingEntity> _slime, int layer, float a);
|
|
virtual void scale(shared_ptr<LivingEntity> _slime, float a);
|
|
}; |