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

//Set title String
setTitle("WAREHOUSE 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(78,1)

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

setShowToast(false)

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

criteria.setBlock(<minecolonies:blockhutwarehouse>)