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

30
src/world/entity/AgableMob.h Executable file
View 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__*/