meta = $meta; } public function getVariantBitmask() : int{ return 0; } public function place(Item $item, Block $blockReplace, Block $blockClicked, int $face, Vector3 $clickVector, Player $player = null) : bool{ //TODO: check valid target block $this->meta = $face; return $this->level->setBlock($this, $this, true, true); } public function onActivate(Item $item, Player $player = null) : bool{ //TODO return true; } }