Item duplicator

Started by Goib on

Topic category: Help with MCreator software

Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Item duplicator

 I've been trying to make a mod where you can duplicate items using a block and a GUI element, with some kind of energy. I want the system to be modular, so it can duplicate and reproduce any item.

 The solution i planned for this was getting the tag of the item in the slot (Ex: "minecraft:obsidian"), subtracting the energy and adding the item in the output slot.

 The problem is: i can't seem to find a way to get the item tag of the items in the slot. And also, i don't see any way of creating/adding the item to the output slot just using it's item tag.

 Any help would already be amazing. I've been stressing overe this for the past 2 days, so i figured i would post this here. Anyways, have a good morning!

Joined Aug 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Couldn't you use the grow…
Tue, 03/23/2021 - 12:45

Couldn't you use the grow itemstack?

Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
 I figured it out!  First…
Tue, 03/23/2021 - 14:03

 I figured it out!

 First off, thank you Pickle for giving me some ideas on how to solve this.

 What i did was:

-Use the "set item" procedure block in the Slot & GUI procedures.

-Then, in the quantity, i got the number of items in the GUI slot for the output + 1.

-For the item itself, i made a copy from the item in the item slot.

 I'm very happy i managed to solve this. Have a good morning, everyone!

Joined Jan 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
can you link a picture of…
Sun, 11/21/2021 - 01:49

can you link a picture of what you did, so others like me can use it?