setCount(mt_rand(0, 2)) ]; if(mt_rand(0, 199) < 5){ switch(mt_rand(0, 2)){ case 0: $drops[] = VanillaItems::IRON_INGOT(); break; case 1: $drops[] = VanillaItems::CARROT(); break; case 2: $drops[] = VanillaItems::POTATO(); break; } } return $drops; } public function getXpDropAmount() : int{ //TODO: check for equipment and whether it's a baby return 5; } }