the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
at master 20 lines 242 B view raw
1#pragma once 2 3#include "Goal.h" 4 5class Creeper; 6 7class SwellGoal : public Goal 8{ 9private: 10 Creeper *creeper; 11 weak_ptr<LivingEntity> target; 12 13public: 14 SwellGoal(Creeper *creeper); 15 16 bool canUse(); 17 void start(); 18 void stop(); 19 void tick(); 20};