the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
at master 17 lines 497 B view raw
1#pragma once 2#include "EntityTile_SPU.h" 3 4class EnchantmentTableTile_SPU : public EntityTile_SPU 5{ 6public: 7 EnchantmentTableTile_SPU(int id) : EntityTile_SPU(id) {} 8 9 bool isCubeShaped() { return false; } 10 bool isSolidRender(bool isServerLevel = false) { return false; } 11 Icon_SPU *getTexture(int face, int data) 12 { 13 if (face == Facing::DOWN) return &ms_pTileData->enchantmentTable_iconBottom; 14 if (face == Facing::UP) return &ms_pTileData->enchantmentTable_iconTop; 15 return icon(); 16 } 17};