Lock/unlock a recipe

Started by gusmanoff on

Topic category: Help with MCreator software

Joined Apr 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Lock/unlock a recipe

Is it possible to disable the recipe and enable it at a certain point. Example: When entering a new world, we cannot create a wooden pickaxe, but when we reach level 2 of vanilla, we will already be able to do it. Is it possible?

Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Set "doLimitedCrafting"…
Sun, 04/10/2022 - 11:02

Set "doLimitedCrafting" gamerule to true, and just use the /recipe command to lock/unlock recipes.

Joined Apr 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
In the player's procedures,…
Sun, 04/10/2022 - 11:20

In the player's procedures, there are procedures to Add and remove a recipe - is this the same thing?

Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
The procedures to give and…
Sun, 04/10/2022 - 12:24

The procedures to give and remove recipe should work the same way as the /recipe command.

Joined Nov 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
AFAIK, that "give/remove"…
Mon, 12/25/2023 - 23:18

AFAIK, that "give/remove" block only unlocks/locks recipes in the crafting book, and does not disable crafting it. You can still craft things that aren't in the book ! Unless that's what /gamerule doLimitedCrafting prevents, but I wouldn't bet my hand on that one