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

23 lines
361 B
C++

#pragma once
#include <memory>
#include "Goal.h"
class PathfinderMob;
class DoorInfo;
class MoveIndoorsGoal : public Goal {
private:
PathfinderMob* mob;
std::weak_ptr<DoorInfo> doorInfo;
int insideX, insideZ;
public:
MoveIndoorsGoal(PathfinderMob* mob);
bool canUse();
bool canContinueToUse();
void start();
void stop();
};