December 2014 files
This commit is contained in:
23
Minecraft.World/HayBlockTile.cpp
Normal file
23
Minecraft.World/HayBlockTile.cpp
Normal file
@@ -0,0 +1,23 @@
|
||||
#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");
|
||||
}
|
||||
Reference in New Issue
Block a user