setIcon(<minecraft:rotten_flesh>)

setTitle("Pesky Monsters")

setDescription("Since you're now probably waiting for those trees to grow since you almost surely finished the free Bone Meal you got, you should really build a small dark area away from you main island to make those pesky monsters spawn. During the building process might be useful to press F8 to see where mobs can spawn: yellow means that they can spawn only in night time, red they can spawn anytime.\n\n§9Completition Requirement:\n§7Obtain Rotten Flesh, Bones and Gunpowder\n\n§2Completition Rewards:\n§73x Bones")

addParent("jasb:main/dirt")

hiddenUnless("jasb:main/dirt")

criteria1 = addCriteria("flesh", "minecraft:inventory_changed")
criteria1.addItem(<minecraft:rotten_flesh>)

criteria2 = addCriteria("gunpowder", "minecraft:inventory_changed")
criteria2.addItem(<minecraft:gunpowder>)

criteria3 = addCriteria("bone", "minecraft:inventory_changed")
criteria3.addItem(<minecraft:bone>)

setRewardItem(<minecraft:bone, count:3>)
setPos(128,32)