Costum crafting station isn't working

Started by MaxCrasheis on

Topic category: Help with MCreator software

Last seen on 19:08, 17. Jul 2020
Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Costum crafting station isn't working

I just can't figure out how to make items from slots 0 and 1 become something in slot 2. I looked online and the tutorials were clear enough, but in practice there's just something i can't see or find that makes this not work.

Some pictures here

Crafting station GUI options

First failed attempt

second failed attempt

 

I really don't understand why it doesn't work, so if you could help me learn from this, that'd be perfect! Thank you for reading!

Last seen on 12:50, 5. Aug 2020
Joined Oct 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
What, exactly is not working…
Tue, 07/14/2020 - 20:54

What, exactly is not working? A video would be nice (https://obsproject.com/).

I can already provide some simple debugging, though.

  1. Air (if that's what Slot 2 could have in the OR gate) is an actual item, not a null value. You might try finding the number of items in the output slot instead.
  2. If the bound GUI is not correctly configured (the input/output slots are not numbered correctly, starting with slot 0), the crafter will not work
  3. You might not be using the right items.
Last seen on 19:08, 17. Jul 2020
Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
As far as the video goes, I…
Fri, 07/17/2020 - 19:08

As far as the video goes, I work on a potato of a computer, sorry. The input/output slots are all the same as the code/procedure requires (0 and 1 being input, 2 being output), and the GUI is just 3 slots with a button, so even someone as stupid as me could configure that correctly. As for the air OR gate, even though i tried both with the gate and without it, i do not see the importance, since if you add that gate you expect to have other items to be crafted at that station (not my case). The items are also not the problem, since i tried with other vanilla items and it still didn't work. Does it have to do something with the block ticks or something else than just the GUI and procedure? Correct me if I'm wrong, since I am kind of new to this.

This is the most i can provide (my current GUI and the procedure). Slot interaction and their id(s) are fine, but the button (so the  procedure) doesn't work.

Last seen on 12:50, 5. Aug 2020
Joined Oct 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Air (if that's what Slot 2…
Fri, 07/17/2020 - 21:43

Air (if that's what Slot 2 could have in the OR gate) is an actual item, not a null value. You might try finding the number of items in the output slot instead.

There's a reason I repeated that. You never covered that. Instead, you may want to check if the number of items in the inventory is 0.