
//Set icon item
setIcon(<inspirations:collector>)

//Set title String
setTitle("Sucking Items")

//Set description String
setDescription("Collectors are a new block that can pull items from the world and inventories, similarly to a hopper. They can be placed in all six directions and require a redstone pulse to active.")

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

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

//Adds the required item for the criteria. This is the item that needs to be in the player inventory.
criteria.addItem(<inspirations:collector>)

setRequirements("any");
setPos(84,105)