the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
at main 23 lines 475 B view raw
1#include "stdafx.h" 2#include "net.minecraft.world.h" 3#include "HayBlockTile.h" 4 5HayBlockTile::HayBlockTile(int id) : RotatedPillarTile(id, Material::grass) 6{ 7} 8 9int HayBlockTile::getRenderShape() 10{ 11 return SHAPE_TREE; 12} 13 14Icon *HayBlockTile::getTypeTexture(int type) 15{ 16 return icon; 17} 18 19void HayBlockTile::registerIcons(IconRegister *iconRegister) 20{ 21 iconTop = iconRegister->registerIcon(getIconName() + L"_top"); 22 icon = iconRegister->registerIcon(getIconName() + L"_side"); 23}