Skip to content

Eyeblossom 5.46.0 ​

class · pocketmine\block\Eyeblossom · source

Extends Flower

Open and closed eyeblossom (Bedrock 1.21.50). On random ticks an open eyeblossom closes during the day and a closed one opens at night. The vanilla sounds, particles and the chain reaction to nearby eyeblossoms are not implemented.

Methods ​

__construct() ​

php
public function __construct(\pocketmine\block\BlockIdentifier $idInfo, string $name, \pocketmine\block\BlockTypeInfo $typeInfo, bool $open)

isOpen() ​

php
public function isOpen() : bool

onRandomTick() ​

php
public function onRandomTick() : void

ticksRandomly() ​

php
public function ticksRandomly() : bool

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