mirror of
https://gitea.sffempire.ru/Kolyah35/minecraft-pe-0.6.1.git
synced 2026-04-06 07:23:39 +00:00
the whole game
This commit is contained in:
30
src/world/entity/AgableMob.h
Executable file
30
src/world/entity/AgableMob.h
Executable file
@@ -0,0 +1,30 @@
|
||||
#ifndef NET_MINECRAFT_WORLD_ENTITY__AgableMob_H__
|
||||
#define NET_MINECRAFT_WORLD_ENTITY__AgableMob_H__
|
||||
|
||||
#include "PathfinderMob.h"
|
||||
|
||||
//package net.minecraft.world.entity;
|
||||
|
||||
class AgableMob: public PathfinderMob
|
||||
{
|
||||
typedef PathfinderMob super;
|
||||
public:
|
||||
AgableMob(Level* level);
|
||||
|
||||
int getAge();
|
||||
void setAge(int age);
|
||||
bool isBaby();
|
||||
|
||||
void addAdditonalSaveData(CompoundTag* tag);
|
||||
void readAdditionalSaveData(CompoundTag* tag);
|
||||
|
||||
void aiStep();
|
||||
private:
|
||||
int age;
|
||||
|
||||
static const int DATA_FLAGS_ID = 14;
|
||||
// Flags values are bit shifted
|
||||
static const int DATAFLAG_ISBABY = 0;
|
||||
};
|
||||
|
||||
#endif /*NET_MINECRAFT_WORLD_ENTITY__AgableMob_H__*/
|
||||
Reference in New Issue
Block a user