Duplicating

Started by DarkEclipse on

Topic category: Help with Minecraft modding (Java Edition)

Active 1 year ago
Joined May 2023
Points:
226

User statistics:

  • Modifications: 0
  • Forum topics: 2
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 2
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)

Active 2 years ago
Joined Jun 2023
Points:
322

User statistics:

  • Modifications: 0
  • Forum topics: 14
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 89
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

 

Active 2 years ago
Joined Jun 2023
Points:
322

User statistics:

  • Modifications: 0
  • Forum topics: 14
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 89
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

Active 1 month ago
Joined May 2023
Points:
225

User statistics:

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

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