mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-04-25 15:53:37 +00:00
12 lines
329 B
C++
12 lines
329 B
C++
#include "../Platform/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; }
|