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/TradeWithPlayerGoal.h
2026-03-01 12:16:08 +08:00

18 lines
244 B
C++

#pragma once
#include "Goal.h"
class Villager;
class TradeWithPlayerGoal : public Goal
{
private:
Villager *mob; // This is the owner of the goal
public:
TradeWithPlayerGoal(Villager *mob);
bool canUse();
void start();
void stop();
};