Files
LegacyMultiplayerProject/Minecraft.World/ThrownEgg.h
DrPerkyLegit 5b19646cc6 init
2026-06-23 01:27:12 -04:00

24 lines
388 B
C++

#pragma once
using namespace std;
#include "Throwable.h"
class HitResult;
class ThrownEgg : public Throwable
{
public:
eINSTANCEOF GetType() { return eTYPE_THROWNEGG; }
private:
void _init();
public:
ThrownEgg(Level *level);
ThrownEgg(Level *level, shared_ptr<Mob> mob);
ThrownEgg(Level *level, double x, double y, double z);
protected:
virtual void onHit(HitResult *res);
};