age >= 7){ return [ VanillaItems::WHEAT(), VanillaItems::WHEAT_SEEDS()->setCount(mt_rand(0, 3)) ]; }else{ return [ VanillaItems::WHEAT_SEEDS() ]; } } public function getPickedItem(bool $addUserData = false) : Item{ return VanillaItems::WHEAT_SEEDS(); } }