This repository has been archived on 2026-05-14. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
MinecraftConsoles/Minecraft.World/PlayGoal.h
2026-03-01 11:00:23 -06:00

22 lines
385 B
C++

#pragma once
#include "Goal.h"
class PlayGoal : public Goal
{
private:
Villager *mob;
weak_ptr<LivingEntity> followFriend;
double speedModifier;
double wantedX, wantedY, wantedZ;
int playTime;
public:
PlayGoal(Villager *mob, double speedModifier);
virtual bool canUse();
virtual bool canContinueToUse();
virtual void start();
virtual void stop();
virtual void tick();
};