the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
1#pragma once
2#include "Textures.h"
3#include "ResourceLocation.h"
4
5class TileEntityRenderDispatcher;
6class TileEntity;
7class Level;
8class Font;
9
10class TileEntityRenderer
11{
12protected:
13 TileEntityRenderDispatcher *tileEntityRenderDispatcher;
14public:
15 virtual void render(shared_ptr<TileEntity> entity, double x, double y, double z, float a, bool setColor, float alpha, bool useCompiled) = 0; // 4J added setColor param, alpha and useCompiled
16 virtual void onNewLevel(Level *level) {}
17protected:
18 void bindTexture(ResourceLocation *location); // 4J - changed from wstring to int
19 void bindTexture(const wstring& urlTexture, ResourceLocation *location); // 4J - changed from wstring to int
20private:
21 Level *getLevel();
22public:
23 virtual void init(TileEntityRenderDispatcher *tileEntityRenderDispatcher);
24 Font *getFont();
25};