Skip to content

Raiders 5.46.0 ​

final class · pocketmine\entity\monster\Raiders · source

Saved data of Raiders. Bedrock keeps patrol and raid membership in component groups that PocketMine doesn't have, so the tags follow Java's names.

Constants ​

TAG_PATROLLING ​

php
public const TAG_PATROLLING = "Patrolling"

TAG_PATROL_LEADER ​

php
public const TAG_PATROL_LEADER = "PatrolLeader"

TAG_PATROL_TARGET ​

php
public const TAG_PATROL_TARGET = "PatrolTarget"

TAG_RAID ​

php
public const TAG_RAID = "Raid"

TAG_RAID_CENTER ​

php
public const TAG_RAID_CENTER = "Center"

TAG_RAID_ID ​

php
public const TAG_RAID_ID = "RaidId"

TAG_RAID_WAVE ​

php
public const TAG_RAID_WAVE = "Wave"

Methods ​

readVector() ​

php
public static function readVector(?\pocketmine\nbt\tag\ListTag $tag) : ?\pocketmine\math\Vector3

Reads a list of 3 doubles written by Raiders::vectorTag().

vectorTag() ​

php
public static function vectorTag(\pocketmine\math\Vector3 $v) : \pocketmine\nbt\tag\ListTag

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