the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
1#pragma once
2#include "TileEntityRenderer.h"
3
4class ChestModel;
5
6class ChestRenderer : public TileEntityRenderer
7{
8private:
9 static ResourceLocation CHEST_LARGE_TRAP_LOCATION;
10 //static ResourceLocation CHEST_LARGE_XMAS_LOCATION;
11 static ResourceLocation CHEST_LARGE_LOCATION;
12 static ResourceLocation CHEST_TRAP_LOCATION;
13 //static ResourceLocation CHEST_XMAS_LOCATION;
14 static ResourceLocation CHEST_LOCATION;
15
16 ChestModel *chestModel;
17 ChestModel *largeChestModel;
18 boolean xmasTextures;
19
20public:
21 ChestRenderer();
22 ~ChestRenderer();
23
24 void render(shared_ptr<TileEntity> _chest, double x, double y, double z, float a, bool setColor, float alpha=1.0f, bool useCompiled = true); // 4J added setColor param
25};