the whole game

This commit is contained in:
2026-03-02 22:04:18 +03:00
parent 816e9060b4
commit f0617a5d22
2069 changed files with 581500 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
#ifndef NET_MINECRAFT_WORLD_ENTITY_ITEM__TripodCamera_H__
#define NET_MINECRAFT_WORLD_ENTITY_ITEM__TripodCamera_H__
#include "../Mob.h"
class TripodCamera: public Mob
{
typedef Mob super;
public:
TripodCamera(Level* level, Player* owner_, float x, float y, float z);
void tick();
bool isPickable();
bool isPushable();
// id == 0 -> not possible to create via serialization (yet)
int getEntityTypeId() const { return 0; }
bool interact(Player* player);
bool interactPreventDefault();
float getShadowHeightOffs();
public:
int life;
protected:
Player* owner;
bool activated;
};
#endif /*NET_MINECRAFT_WORLD_ENTITY_ITEM__TripodCamera_H__*/