setIcon("minecraft:mob_spawner")
setTitle("Rest in Peace Spawners")
setDescription("Mob Spawners have sightly different behaviour. Everytime they spawn a mob they will get faster. But 3000 mobs later Mob Spawners will disable and no longer spawn mobs, but can be destroyed to get some more XP. Upon completing this advancement by destroying a disabled spawner you'll get a reward.")

addParent("triumph:vanilla/adventure/kill_a_mob")

criteria = addCriteria("brokeLog", "triumph:player_break_block")
criteria.setBlock(<minecraft:mob_spawner, tile:{ForgeCaps:{"spawnercontrol:controllable_spawner_cap":{SpawnedMobsCount:3000}}}>)

setRewardItem(<minecraft:chest, nbt:{BlockEntityTag:{LootTable:"minecraft:chests/simple_dungeon"},display:{Name:"§rDungeon Chest"}}>)