the whole game

This commit is contained in:
Kolyah35 2026-03-02 22:04:18 +03:00
parent 816e9060b4
commit f0617a5d22
2069 changed files with 581500 additions and 0 deletions

20
src/world/level/tile/Mushroom.h Executable file
View file

@ -0,0 +1,20 @@
#ifndef NET_MINECRAFT_WORLD_LEVEL_TILE__Mushroom_H__
#define NET_MINECRAFT_WORLD_LEVEL_TILE__Mushroom_H__
#include "Bush.h"
class Mushroom : public Bush
{
typedef Bush super;
public:
Mushroom(int id, int tex);
void tick(Level* level, int x, int y, int z, Random* random);
bool mayPlace(Level* level, int x, int y, int z, unsigned char face);
bool mayPlaceOn(int tile);
bool canSurvive(Level* level, int x, int y, int z);
};
#endif /* NET_MINECRAFT_WORLD_LEVEL_TILE__Mushroom_H__ */