Skip to content

FlowerPot ​

class · pocketmine\block\tile\FlowerPot · source

Extends Spawnable

Deprecated

This class is deprecated.

Methods ​

addAdditionalSpawnData() protected ​

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

getPlant() ​

php
public function getPlant() : ?\pocketmine\block\Block

getRenderUpdateBugWorkaroundStateProperties() ​

php
public function getRenderUpdateBugWorkaroundStateProperties(\pocketmine\block\Block $block) : array

readSaveData() ​

php
public function readSaveData(\pocketmine\nbt\tag\CompoundTag $nbt) : void

setPlant() ​

php
public function setPlant(?\pocketmine\block\Block $plant) : void

writeSaveData() protected ​

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

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