isSolid = false; $this->isFullBlock = false; } public function place(Item $item, Player $player, Block $block, Block $target, $face, $fx, $fy, $fz){ if($target->isTransparent === false){ $faces = array( 2 => 2, 3 => 3, 4 => 4, 5 => 5, ); if(isset($faces[$face])){ $this->meta = $faces[$face]; $this->level->setBlock($block, $this); return true; } } return false; } public function getDrops(Item $item, Player $player){ return array( array($this->id, 0, 1), ); } }