Skip to content

PlayGoal 5.46.0 ​

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

Extends VillagerGoal

Baby villagers chase each other during play time (vanilla behavior.play, priority 8, speed 0.6, friends: baby villagers within 16 blocks).

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.