first commit

This commit is contained in:
murdle
2026-03-01 02:38:58 +02:00
commit 19250b9db4
19111 changed files with 4358159 additions and 0 deletions

View File

@@ -0,0 +1,41 @@
#pragma once
#include "Entity.h"
class EyeOfEnderSignal : public Entity
{
public:
eINSTANCEOF GetType() { return eTYPE_EYEOFENDERSIGNAL; }
static Entity *create(Level *level) { return new EyeOfEnderSignal(level); }
public:
int shakeTime;
private:
double tx, ty, tz;
int life;
bool surviveAfterDeath;
void _init();
public:
EyeOfEnderSignal(Level *level);
protected:
virtual void defineSynchedData();
public:
virtual bool shouldRenderAtSqrDistance(double distance);
EyeOfEnderSignal(Level *level, double x, double y, double z);
void signalTo(double tx, int ty, double tz);
virtual void lerpMotion(double xd, double yd, double zd);
virtual void tick();
virtual void addAdditonalSaveData(CompoundTag *tag);
virtual void readAdditionalSaveData(CompoundTag *tag);
virtual float getShadowHeightOffs();
virtual float getBrightness(float a);
virtual int getLightColor(float a);
virtual bool isAttackable();
};