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)

Active 2 years ago
Joined Apr 2022
Points:
424

User statistics:

  • Modifications: 0
  • Forum topics: 6
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 2
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?

Active 2 years ago
Joined Jul 2022
Points:
375

User statistics:

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

try thishow to make the forum topic in question

Active 2 years ago
Joined Jul 2022
Points:
375

User statistics:

  • Modifications: 0
  • Forum topics: 6
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 4
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 ^

Active 2 months ago
Joined Oct 2023
Points:
116

User statistics:

  • Modifications: 0
  • Forum topics: 0
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 1
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

Active 1 year ago
Joined Jan 2024
Points:
94

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 1
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.