Coding a custom crafting table

Started by Juplicate on

Topic category: Help with Minecraft modding (Java Edition)

Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Coding a custom crafting table

 I was trying to code an (Electric Forge), what did I do wrong and how can I fix it?

 GUI:https://imgur.com/qQuv2vk

 Code: https://imgur.com/gO3cbBW

Joined Jun 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
In the very last line of the…
Thu, 06/04/2020 - 07:37

In the very last line of the procedure, you setted this:
"Set (get number of items from slot 4 of block at x y z + 1) "Item" in slot 9 of block at x y z"

Well it's simple! At the end, you must set "slot 4" instead of "slot 9" So you can have this :
"Set (get number of items from slot 4 of block at x y z + 1) "Item" in slot 4 of block at x y z"

Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
TYSM, I used the crafting…
Thu, 06/04/2020 - 14:59

TYSM, I used the crafting bench template and didn't see that

Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How would I make three…
Thu, 06/04/2020 - 15:34

How would I make three output slots?, would I just copy and paste the last part 2 more times?

Joined Jun 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You have to dupplicate…
Thu, 06/04/2020 - 16:00

You have to dupplicate everything that is related with "slot 4"

Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
So I tried that and…
Thu, 06/04/2020 - 16:48

So I tried that and everything broke, it removes any items I put in, and there is always a battery in 1 of the output slots, and even if I put no items in I can take it out forever.

  Code: https://imgur.com/ftwofbi

  What did I do wrong now?

Joined Jun 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Please be a bit logic! You…
Thu, 06/04/2020 - 16:51

Please be a bit logic! You're trying to set 3 item is one slot!! (the slot 4)

You have to change for the 2 others output items, you need to put them in slot 5 and 6!

Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Lol, I checked that three…
Thu, 06/04/2020 - 16:54

Lol, I checked that three times I'm an idiot. I fixed that and now It doesn't require the items to output them, it constantly is outputting right when I place the block down, it doesn't stop, and any items I put in are instantly removed.

Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Nvm I finally figured it out…
Thu, 06/04/2020 - 17:14

Nvm I finally figured it out tysm for your help