//tag a building must have for action to be possible
requiredtag=Oven

priority=50

//en/in millisecondes
duration=8000

heldItems=iron,redstone

//each action will require and use all the inputs and produce all the outputs
input=iron,1
input=coal,1
output=compass,1

//if more than that number of item is present in building, stop goal
buildinglimit=compass,10

//no more than X villagers doing this goal in the same building at the same time
maxsimultaneousinbuilding=1