mirror of
https://gitea.sffempire.ru/Kolyah35/minecraft-pe-0.6.1.git
synced 2026-04-05 23:13:33 +00:00
31 lines
780 B
C++
Executable File
31 lines
780 B
C++
Executable File
#ifndef NET_MINECRAFT_WORLD_LEVEL_TILE__GrassTile_H__
|
|
#define NET_MINECRAFT_WORLD_LEVEL_TILE__GrassTile_H__
|
|
|
|
//package net.minecraft.world.level.tile;
|
|
|
|
#include "../../../util/Random.h"
|
|
#include "../material/Material.h"
|
|
#include "../Level.h"
|
|
#include "../LevelSource.h"
|
|
|
|
#include "Tile.h"
|
|
|
|
class GrassTile: public Tile
|
|
{
|
|
typedef Tile super;
|
|
public:
|
|
|
|
static const int MIN_BRIGHTNESS = 4;
|
|
|
|
GrassTile(int id);
|
|
|
|
int getTexture(LevelSource* level, int x, int y, int z, int face);
|
|
int getTexture(int face, int data);
|
|
int getColor(LevelSource* level, int x, int y, int z);
|
|
|
|
void tick(Level* level, int x, int y, int z, Random* random);
|
|
int getResource(int data, Random* random);
|
|
};
|
|
|
|
#endif /*NET_MINECRAFT_WORLD_LEVEL_TILE__GrassTile_H__*/
|