Skip to content

GoHomeGoal 5.46.0 ​

class · pocketmine\entity\ai\villager\GoHomeGoal · source

Extends VillagerGoal

Walks back to the claimed bed in the evening (home schedule) and stays around it.

Constants ​

SPEED ​

php
public const SPEED = 0.6

Methods ​

canContinue() ​

php
public function canContinue() : bool

canStart() ​

php
public function canStart() : bool

getFlags() ​

php
public function getFlags() : int

start() ​

php
public function start() : void

stop() ​

php
public function stop() : void

tick() ​

php
public function tick() : void

VanillaMine is a fork of PocketMine-MP, maintained by Luxury Nodes. Not affiliated with the PMMP team or Mojang.