mirror of
https://github.com/celisej567/mcpe.git
synced 2026-09-17 20:10:23 +03:00
* Add Pig
This commit is contained in:
@@ -41,6 +41,27 @@ enum eEntityRenderType
|
||||
RENDER_FALLING_TILE = 50,
|
||||
};
|
||||
|
||||
enum eEntityType
|
||||
{
|
||||
TYPE_UNSAVED,
|
||||
|
||||
TYPE_CHICKEN = 10,
|
||||
TYPE_COW,
|
||||
TYPE_PIG,
|
||||
TYPE_SHEEP,
|
||||
|
||||
TYPE_ZOMBIE = 32,
|
||||
|
||||
TYPE_ITEM = 64,
|
||||
};
|
||||
|
||||
enum eCreatureBaseType
|
||||
{
|
||||
BASE_NONE,
|
||||
BASE_MONSTER,
|
||||
BASE_ANIMAL,
|
||||
};
|
||||
|
||||
struct EntityPos
|
||||
{
|
||||
Vec3 m_pos;
|
||||
@@ -150,6 +171,8 @@ public:
|
||||
virtual void burn(int);
|
||||
virtual void lavaHurt();
|
||||
virtual int queryEntityRenderer();
|
||||
virtual int getCreatureBaseType();
|
||||
virtual int getEntityTypeId();
|
||||
|
||||
virtual bool isLocalPlayer();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user