Something went wrong. Try again.
the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
Something went wrong. Try again.
475 B · 23 lines
C++
at master
1234567891011121314151617181920212223#include "stdafx.h"#include "net.minecraft.world.h"#include "HayBlockTile.h"
HayBlockTile::HayBlockTile(int id) : RotatedPillarTile(id, Material::grass){}
int HayBlockTile::getRenderShape(){ return SHAPE_TREE;}
Icon *HayBlockTile::getTypeTexture(int type){ return icon;}
void HayBlockTile::registerIcons(IconRegister *iconRegister){ iconTop = iconRegister->registerIcon(getIconName() + L"_top"); icon = iconRegister->registerIcon(getIconName() + L"_side");}