inWorld === true){ if($target->isTransparent === false){ $faces = array( 2 => 2, 3 => 3, 4 => 4, 5 => 5, ); $level->setBlock($block, $this->id, $faces[$face]); return true; } } return false; } public function getDrops(Item $item, Player $player){ return array( array($this->id, 0, 1), ); } }