How do I make a recipe be hidden in the recipe book until the player obtains a certain item?

Started by TheAllPowerfulBread on

Topic category: Help with modding (Java Edition)

Last seen on 19:11, 8. Aug 2022
Joined Apr 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do I make a recipe be hidden in the recipe book until the player obtains a certain item?

I want to make a recipe in the recipe book be hidden until you craft said recipe (or atleast obtain the item it crafts), but I have no idea how to. How do I do this?

Last seen on 17:09, 19. Mar 2023
Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
try this
Thu, 08/04/2022 - 21:08

try thishow to make the forum topic in question

Last seen on 17:09, 19. Mar 2023
Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
and replace the coal with…
Thu, 08/04/2022 - 21:10

and replace the coal with the item you need to obtain and minecraft:stick to the item you want to be unlocked ^

Last seen on 17:52, 27. Dec 2023
Joined Oct 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Does this also work with…
Sat, 10/14/2023 - 14:05

Does this also work with custom items? I tried it with both a vanilla pickaxe and a mod item, but it only gives the pickaxe

Last seen on 03:55, 16. Mar 2024
Joined Jan 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Mine has a bunch of if else…
Sun, 01/14/2024 - 07:01

Mine has a bunch of if else if, and im worried it will lag the game too much.