Initial commit

This commit is contained in:
Stillkill committed 2026-03-08 15:20:20 -05:00
commit 2dfcaaa842
5375 files changed
+978475

No files matched your search

+22
View File
@@ -0,0 +1,22 @@
#pragma once
#include "Throwable.h"
class HitResult;
class ThrownExpBottle : public Throwable
{
public:
eINSTANCEOF GetType() { return eTYPE_THROWNEXPBOTTLE; }
static Entity *create(Level *level) { return new ThrownExpBottle(level); }
public:
ThrownExpBottle(Level *level);
ThrownExpBottle(Level *level, shared_ptr<LivingEntity> mob);
ThrownExpBottle(Level *level, double x, double y, double z);
protected:
virtual float getGravity();
virtual float getThrowPower();
virtual float getThrowUpAngleOffset();
virtual void onHit(HitResult *res);
};