pocketmine\tile\FlowerPot::getSpawnCompound PHP Method

getSpawnCompound() public method

public getSpawnCompound ( )
    public function getSpawnCompound()
    {
        return new CompoundTag("", [new StringTag("id", Tile::FLOWER_POT), new IntTag("x", (int) $this->x), new IntTag("y", (int) $this->y), new IntTag("z", (int) $this->z), new ShortTag("item", (int) $this->namedtag["item"]), new IntTag("mData", (int) $this->namedtag["mData"])]);
    }