
//Set icon item
setIcon(<minecolonies:blockhutminer>)

//Set title String
setTitle("MINER PLACED")

//Set description String
setDescription("You must RIGHT CLICK the hut for this achievement to complete.")

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

//Set the position
setPos(-183,-158)

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

setShowToast(false)

criteria = addCriteria("placedMiner", "triumph:right_click_block")

criteria.setBlock(<minecolonies:blockhutminer>)