hypermcpe/src/world/level/tile/ClayTile.h
2026-03-02 22:04:18 +03:00

26 lines
588 B
C++
Executable file

#ifndef NET_MINECRAFT_WORLD_LEVEL_TILE__ClayTile_H__
#define NET_MINECRAFT_WORLD_LEVEL_TILE__ClayTile_H__
//package net.minecraft.world.level.tile;
#include "../../../util/Random.h"
#include "../material/Material.h"
#include "Tile.h"
class ClayTile: public Tile {
public:
ClayTile(int id, int tex)
: Tile(id, tex, Material::clay)
{}
int getResource(int data, Random* random) {
return Item::clay->id;
}
int getResourceCount(Random* random) {
return 4;
}
};
#endif /*NET_MINECRAFT_WORLD_LEVEL_TILE__ClayTile_H__*/