setTitle("Pacifist World")

setIcon(<minecraft:red_flower:8>)

setDescription("This is a world type designed to allow you to play without killing anything. If you kill any mob the advancement page will be removed and you will lose access to all Pacifist Mode recipes")

setBackground("chisel:textures/blocks/valentines/2.png")

hiddenIf("pacifist:pacifist_run/lose")

setShowToast(false)

setAnnounceToChat(false)

//Criteria
criteria1 = addCriteria("superflat", "minecraft:location")
criteria1.setGeneratorOptions({"Topography-Preset":"Peace Out"})
criteria2 = addCriteria("hasRock", "minecraft:inventory_changed")
criteria2.addItem(<minecraft:torch>)

//Rewards
setRewardExperience(4)
setRewardFunction("triumph:pacifist_start")
setPos(-8,24)