mirror of
https://gitea.sffnetwork.ru/Kolyah35/minecraft-pe-0.6.1.git
synced 2026-11-24 11:29:44 +00:00
the whole game
This commit is contained in:
parent
816e9060b4
commit
f0617a5d22
2069 changed files with 581500 additions and 0 deletions
32
src/world/level/tile/HeavyTile.h
Executable file
32
src/world/level/tile/HeavyTile.h
Executable file
|
|
@ -0,0 +1,32 @@
|
|||
#ifndef NET_MINECRAFT_WORLD_LEVEL_TILE__HeavyTile_H__
|
||||
#define NET_MINECRAFT_WORLD_LEVEL_TILE__HeavyTile_H__
|
||||
|
||||
//package net.minecraft.world.level.tile;
|
||||
|
||||
#include "Tile.h"
|
||||
|
||||
class FallingTile;
|
||||
|
||||
class HeavyTile: public Tile {
|
||||
typedef Tile super;
|
||||
public:
|
||||
static bool instaFall;
|
||||
|
||||
HeavyTile(int id, int tex);
|
||||
HeavyTile(int id, int tex, const Material* material);
|
||||
|
||||
void onPlace(Level* level, int x, int y, int z);
|
||||
void neighborChanged(Level* level, int x, int y, int z, int type);
|
||||
|
||||
void tick(Level* level, int x, int y, int z, Random* random);
|
||||
int getTickDelay(Level* level);
|
||||
|
||||
static bool isFree(Level* level, int x, int y, int z);
|
||||
|
||||
virtual void falling(FallingTile* entity);
|
||||
virtual void onLand(Level* level, int xt, int yt, int zt, int data);
|
||||
private:
|
||||
void checkSlide(Level* level, int x, int y, int z);
|
||||
};
|
||||
|
||||
#endif /*NET_MINECRAFT_WORLD_LEVEL_TILE__HeavyTile_H__*/
|
||||
Loading…
Add table
Add a link
Reference in a new issue