Is this how local variables are supposed to work?

Started by luvm1n3craft on

Topic category: Help with MCreator software

Last seen on 19:13, 3. Apr 2022
Joined Jul 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Is this how local variables are supposed to work?

I'm trying to make a block with custom recipes where you put in ingredients, then use a bowl to get a stew. When trying to get mushroom stew, it always gives me Incomplete Stew (an item in my mod). Here's my procedure. Is this how local variables are supposed to work?

Last seen on 19:13, 3. Apr 2022
Joined Jul 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I don't know how I went that…
Thu, 01/14/2021 - 21:26

I don't know how I went that long without realizing what's wrong. I'm removing the item before checking what item it is, so the variable is never changed.