forked from Kolyah35/minecraft-pe-0.6.1
the whole game
This commit is contained in:
40
src/world/entity/item/FallingTile.h
Executable file
40
src/world/entity/item/FallingTile.h
Executable file
@@ -0,0 +1,40 @@
|
||||
#ifndef NET_MINECRAFT_WORLD_ENTITY_ITEM__FallingTile_H__
|
||||
#define NET_MINECRAFT_WORLD_ENTITY_ITEM__FallingTile_H__
|
||||
|
||||
//package net.minecraft.world.entity.item;
|
||||
|
||||
#include "../Entity.h"
|
||||
|
||||
class Level;
|
||||
class CompoundTag;
|
||||
|
||||
class FallingTile: public Entity
|
||||
{
|
||||
public:
|
||||
FallingTile(Level* level);
|
||||
FallingTile(Level* level, float x, float y, float z, int tile, int data = 0);
|
||||
|
||||
void init();
|
||||
|
||||
bool isPickable();
|
||||
|
||||
void tick();
|
||||
|
||||
int getEntityTypeId() const;
|
||||
|
||||
float getShadowHeightOffs();
|
||||
|
||||
Level* getLevel();
|
||||
|
||||
protected:
|
||||
void addAdditonalSaveData(CompoundTag* tag);
|
||||
void readAdditionalSaveData(CompoundTag* tag);
|
||||
|
||||
public:
|
||||
int tile;
|
||||
int data;
|
||||
|
||||
int time;
|
||||
};
|
||||
|
||||
#endif /*NET_MINECRAFT_WORLD_ENTITY_ITEM__FallingTile_H__*/
|
||||
Reference in New Issue
Block a user