Recipe book Help (Custom block)

Started by Darksoul on

Topic category: Help with MCreator software

Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Recipe book Help (Custom block)

Hello again, this time i need help with a CUSTOM recipe book, similar to normal one,

So basically i have this new "crafting table" and i want it to be able to show recipes (only unlocked ones) in a recipe book which has same functionality of a normal recipe book

How do i achieve this?

Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Try a Global Player…
Tue, 10/03/2023 - 04:58

Try a Global Player Persistent variable (https://mcreator.net/wiki/variables) to store the unlocked recipes. Add the part of the GUI by looking at the code for a crafting table.

Some of the recipe book and GUI files can be found at:

net.minecraft.client.gui.screens.recipebook (THE GUI CLASSES)

and

net.minecraft.recipebook (FORGOT, BUT HAS SOME STUFF)