Skip to content

Bogged 5.46.0 ​

class · pocketmine\entity\monster\Bogged · source

Extends TippedArrowSkeleton

Bedrock values (bogged.json): 16 health, movement 0.25, an arrow every 3.5 seconds (2.5 on hard) tipped with Poison (aux_val 26 = poison: 5.6 seconds on hit), burns in daylight. Shears take its mushrooms (one red, one brown) once. Loot: 0-2 arrows, 0-2 bones (+0-1 each per Looting level), and 0-1 arrow of Poison when killed by a player.

Constants ​

TAG_SHEARED ​

php
public const TAG_SHEARED = "Sheared"

Methods ​

getArrowPotion() protected ​

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

getAttackIntervals() protected ​

php
protected function getAttackIntervals() : array

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

initEntity() protected ​

php
protected function initEntity(\pocketmine\nbt\tag\CompoundTag $nbt) : void

isSheared() ​

php
public function isSheared() : bool

onInteractWithItem() protected ​

php
protected function onInteractWithItem(\pocketmine\player\Player $player, \pocketmine\item\Item $item) : bool

saveNBT() ​

php
public function saveNBT() : \pocketmine\nbt\tag\CompoundTag

syncNetworkData() protected ​

php
protected function syncNetworkData(\pocketmine\network\mcpe\protocol\types\entity\EntityMetadataCollection $properties) : void

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