4jcraft/targets/minecraft/world/entity/ai/goal/SwellGoal.h
2026-04-01 13:27:58 -05:00

22 lines
307 B
C++

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