Skip to content

GatherAtBellGoal 5.46.0 ​

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

Extends VillagerGoal

In the afternoon villagers meet at the nearest bell (or, without one, around another villager) and mingle (vanilla behavior.mingle, priority 7, speed 0.5, mingle_distance 2, cooldown 10 seconds): they walk up to a villager, look at it and gossip (see VillagerV2::gossipWith()).

Constants ​

BELL_RANGE ​

php
public const BELL_RANGE = 32

SPEED ​

php
public const SPEED = 0.5

Methods ​

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.