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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

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