How do I add a variable when I craft an item?

Started by Mopru on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jan 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do I add a variable when I craft an item?
Wed, 07/26/2023 - 22:02 (edited)

Title explains itself. Although, this body paragraph has to be at least 25 characters so i'll restate it: How do I add a variable when I craft an item?

Edited by Mopru on Wed, 07/26/2023 - 22:02
Joined Jul 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
If you mean to change a…
Thu, 07/27/2023 - 00:30

If you mean to change a value in an existing variable you could just use the Set Custom variable code block when the item is crafted

Joined Jan 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
is there a specific way to…
Thu, 07/27/2023 - 02:51

is there a specific way to check if an item is crafted a certain way?

Joined Jul 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Items can only be crafted…
Thu, 07/27/2023 - 04:05

Items can only be crafted one way, unless you create multiple crafting recipes for one item, in that case i think you cannot detect what recipe you used. Also, i have the odd feeling i'm not understanding your question very well

Joined Jan 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
no youre understanding it…
Thu, 07/27/2023 - 15:22

no youre understanding it perfectly. and ive decided to just make a custom crafting table.