Duplicating

Started by DarkEclipse on

Topic category: Help with Minecraft modding (Java Edition)

Joined May 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Duplicating

Im Working on a method that duplicates the player inventory in a chest

any ideas?

(all its accepted, from vanilla mc commands to mcreator procedures plugin features)

Joined Jun 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
get the item type and amount…
Wed, 07/12/2023 - 10:01

get the item type and amount from the first slot of the inventory, paste that in slot 1 of the chest, and repeat for all slots. I do recommend trying yourself though

 

Joined Jun 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
from the looks of it, I…
Fri, 07/14/2023 - 11:12

from the looks of it, I believe your copying the item from the slot and pasting it into the same slot

Joined May 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You were using "Provided…
Sat, 07/22/2023 - 10:38

You were using "Provided Itemstack", not the actual item in the slot.