TU19: merge Minecraft.World/Blocks
This commit is contained in:
1 parent
f25cd66f4d
commit
9b6046cb83
241 files changed
+8070
-4644
No files matched your search
@@ -0,0 +1,14 @@
|
||||
#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");
|
||||
}
|
||||
Reference in new issue
Block a user