mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-04-24 10:23:35 +00:00
14 lines
501 B
C++
14 lines
501 B
C++
#include "../Platform/stdafx.h"
|
|
#include "../Headers/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");
|
|
} |