4jcraft/Minecraft.World/AI/Goals/SwellGoal.h
2026-03-21 15:10:07 -05:00

19 lines
268 B
C++

#pragma once
#include "Goal.h"
class Creeper;
class SwellGoal : public Goal {
private:
Creeper* creeper;
std::weak_ptr<LivingEntity> target;
public:
SwellGoal(Creeper* creeper);
bool canUse();
void start();
void stop();
void tick();
};