the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
at master 21 lines 580 B view raw
1#pragma once 2#include "EntityRenderer.h" 3 4class Painting; 5class Random; 6 7class PaintingRenderer : public EntityRenderer 8{ 9private: 10 Random *random; 11 static ResourceLocation PAINTING_LOCATION; 12 13public: 14 PaintingRenderer(); // 4J -added 15 virtual void render(shared_ptr<Entity> _painting, double x, double y, double z, float rot, float a); 16 17private: 18 void renderPainting(shared_ptr<Painting> painting, int w, int h, int uo, int vo); 19 void setBrightness(shared_ptr<Painting> painting, float ss, float ya); 20 virtual ResourceLocation *getTextureLocation(shared_ptr<Entity> mob); 21};