block inventory only using first slot

Started by Tappsy on

Topic category: Troubleshooting, bugs, and solutions

Joined Jul 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
block inventory only using first slot

I'm currently trying to copy items from the player's inventory to the block's inventory, but whatever I do it seems to only work for the block's first slot, even when manually changing the number of the slot to add the item, it only works with slot 0. 

For example, when I want to move slot 0 of the player's inventory to slot 0 of the block it works fine. But as soon as I change those 2 values to any other number it won't do it. Am I missing something obvious here?

Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How the block inventory'll…
Tue, 04/23/2024 - 06:51

How the block inventory'll duplicate the player's inventory? I mean, which trigger'll run the prossedure

 

Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Actually my whole question…
Tue, 04/23/2024 - 06:57

Actually my whole question is: will the block duplicate the whole inventory or all slots except armor slots; when will the procedure be triggered, will the duplicated items in the player's inventory be deleted after the inventory is duplicated?