meta = $meta; } public function getName() : string{ return "Hay Bale"; } public function getHardness() : float{ return 0.5; } public function place(Item $item, Block $blockReplace, Block $blockClicked, int $face, Vector3 $clickVector, Player $player = null) : bool{ $this->meta = PillarRotationHelper::getMetaFromFace($this->meta, $face); $this->getLevel()->setBlock($blockReplace, $this, true, true); return true; } public function getVariantBitmask() : int{ return 0x03; } }