Modifying a datapack. The duration of the effect not go over 30 second despite I setting it to 50

I set the duration of the effects to 50sec to make the regeneneration effect regenerate 20hp, but after testing it out in game. The duration is 30 second despite I setting it to 50. How do I make it go up to 50? "minecraft:consumable": { "consume_seconds": 1, "animation": "none", "sound": "minecraft:entity.slime.squish", "on_consume_effects": [ { "type": "apply_effects", "effects": [ { "id": "minecraft:regeneration", "amplifier": 0, "second": 50 } ,{ "id": "minecraft:slowness", "amplifier": 3, "second": 50 } ,{ "id": "minecraft:weakness", "amplifier": 0, "second": 50 } ] } ] }
Continue to help post