Jump to content

Lock/Unlock Recipe


MysteriousDevs

Recommended Posts

Hello, I wanted to know, is it possible to add a condition at the level of the result anchor? Basically I would like to make sure that some craft is only accessible from a certain level of job(I already have the capa system). Or Use Advancement ystem (Basically if I have to use advancement I would like the recipe to be accessible only if and only if advancement is unlocked)

Edited by MysteriousDevs
Link to comment
Share on other sites

Then you need to create a custom IRecipe type, which checks whether or not the player has the advancement as part of the recipe. Last time I looked, the only way to get the crafting player was by reflection (although that was a while ago).

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now


×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.