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 Minecraft modding (Java Edition)

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?

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

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 ^

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

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.