I'm trying to lock recipes behind stages that I plan to grant with ftb quest, I've had no problems giving the stages so far, I can see and understand how to give players stages, but I can't find anything human generated to help lock the recipes behind them.
This is the code I'm using to try to figure this out.
event.shapeless(
Item.of('minecraft:diamond', 1),
[
'minecraft:rotten_flesh'
]
).stage('locked_age')
})```
Unfortunately it's giving me access to the recipe regardless of if I have the stage 'locked_age' or not.