Skip to content

Stray 5.46.0 ​

class · pocketmine\entity\monster\Stray · source

Extends TippedArrowSkeleton

Bedrock values (stray.json): a skeleton (20 health, movement 0.25, an arrow every 3 seconds, 2 on hard, burns in daylight) whose arrows are tipped with Slowness (shooter aux_val 19 = long slowness: 30 seconds on hit). Loot: 0-2 arrows, 0-2 bones (+0-1 each per Looting level), and 0-1 arrow of Slowness when killed by a player.

Methods ​

canFreeze() ​

php
public function canFreeze() : bool

getArrowPotion() protected ​

php
protected function getArrowPotion() : \pocketmine\item\PotionType

getDropPotion() protected ​

php
protected function getDropPotion() : \pocketmine\item\PotionType

getName() ​

php
public function getName() : string

getNetworkTypeId() ​

php
public static function getNetworkTypeId() : string

getPickedItem() ​

php
public function getPickedItem() : ?\pocketmine\item\Item

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