Files
GabsPuNs-Project_Zenith_Main/Minecraft.World/HayBlockTile.cpp
GabsPuNs bc6c09146a New File System and Cleanup some code Part 3
* Remove stdafx.h and some <unordered_set> includes
* Update Minecraft Server Defines and remove more unused folders/files
* Unbloat stdafx.h from Minecraft.World
2026-05-24 22:21:41 -04:00

22 lines
455 B
C++

#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");
}