Add Discord RPC back with new features, add beta splitscreen support, PR's from MCLCE used in this https://github.com/MCLCE/MinecraftConsoles/pull/1044 https://github.com/MCLCE/MinecraftConsoles/pull/1136 https://github.com/MCLCE/MinecraftConsoles/pull/1245
18 lines
305 B
C++
18 lines
305 B
C++
#include "stdafx.h"
|
|
#include "ClayTile.h"
|
|
#include "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;
|
|
}
|