the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
at main 24 lines 608 B view raw
1#pragma once 2 3#include "Fireball.h" 4 5class LargeFireball : public Fireball 6{ 7public: 8 eINSTANCEOF GetType() { return eTYPE_LARGE_FIREBALL; } 9 static Entity *create(Level *level) { return new LargeFireball(level); } 10 11public: 12 int explosionPower; 13 14 LargeFireball(Level *level); 15 LargeFireball(Level *level, double x, double y, double z, double xa, double ya, double za); 16 LargeFireball(Level *level, shared_ptr<LivingEntity> mob, double xa, double ya, double za); 17 18protected: 19 void onHit(HitResult *res); 20 21public: 22 void addAdditonalSaveData(CompoundTag *tag); 23 void readAdditionalSaveData(CompoundTag *tag); 24};