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

27 lines
441 B
C++

#pragma once
#include "Goal.h"
class TemptGoal : public Goal
{
private:
PathfinderMob *mob;
float speed;
double px, py, pz, pRotX, pRotY;
weak_ptr<Player> player;
int calmDown ;
bool _isRunning;
int itemId;
bool canScare;
bool oldAvoidWater;
public:
TemptGoal(PathfinderMob *mob, float speed, int itemId, bool canScare);
bool canUse();
bool canContinueToUse();
void start();
void stop();
void tick();
bool isRunning();
};