
//Set the icon item
setIcon(<techguns:combatshotgun>)

//Set the title String
setTitle("You may want to stay away from this place")

//Set the description String
setDescription("That is not a suggestion but an order, you're not prepared believe me")

//Add a parent advancement. The syntax is "modid:folder/path/to/the/advancement/then/filename"
addParent("triumph:example/root")

//Set the position
setPos(155,-21)

//Hide the connection lines, so I can have a pretty shape
hideLines()

//Adds criteria named "entered" with the trigger type "minecraft:enter_block". This function returns the criteria as an object
criteria = addCriteria("entered", "minecraft:enter_netttblock")

//Sets the required block for the criteria. This is the block that needs to be entered.
criteria.setBlock(<futureminecraf:crimsonroots>)