mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-04-25 13:23:37 +00:00
18 lines
325 B
C++
18 lines
325 B
C++
#include "../Build/stdafx.h"
|
|
#include "ClayTile.h"
|
|
#include "../Headers/net.minecraft.world.item.h"
|
|
|
|
ClayTile::ClayTile(int id) : Tile(id, Material::clay)
|
|
{
|
|
}
|
|
|
|
int ClayTile::getResource(int data, Random *random, int playerBonusLevel)
|
|
{
|
|
return Item::clay->id;
|
|
}
|
|
|
|
int ClayTile::getResourceCount(Random *random)
|
|
{
|
|
return 4;
|
|
}
|