isFlowable = true; $this->isReplaceable = true; $names = array( 0 => "Dead Shrub", 1 => "Tall Grass", 2 => "Fern", ); $this->name = $names[$this->meta & 0x03]; } public function getDrops(Item $item, Player $player){ $drops = array(); if(mt_rand(1,10) === 1){//Seeds $drops[] = array(295, 0, 1); } return $drops; } }