setTitle("SkyFactory 4 Hardcore Mode")

setIcon(<minecraft:skull>)

setDescription("So you think you're Hardcore? Here's a few tips to help you survive")

setBackground("minecraft:textures/blocks/soul_sand.png")

setShowToast(false)

setAnnounceToChat(false)

setRequirements("any")

//Criteria
criteria1 = addCriteria("superflat1", "minecraft:location")
criteria1.setGeneratorOptions({"Topography-Preset":"Hardcore"})

criteria2 = addCriteria("superflat2", "minecraft:location")
criteria2.setGeneratorOptions({"Topography-Preset":"Are You Afraid of the Dark"})

//Rewards
setRewardFunction("triumph:forgiving_void_disable")

pageVisibleIf("hardcore:hardcore/root")
pageAlwaysHidden()
alwaysHidden()