the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
at main 20 lines 488 B view raw
1#pragma once 2#include "TileEntityRenderer.h" 3 4class BookModel; 5 6class EnchantTableRenderer : public TileEntityRenderer 7{ 8 friend class CXuiCtrlEnchantmentBook; 9 friend class UIControl_EnchantmentBook; 10private: 11 static ResourceLocation BOOK_LOCATION; 12 13 BookModel *bookModel; 14 15public: 16 EnchantTableRenderer(); 17 ~EnchantTableRenderer(); 18 19 virtual void render(shared_ptr<TileEntity> _table, double x, double y, double z, float a, bool setColor, float alpha=1.0f, bool useCompiled = true); 20};