NBT for curios' backpack

Started by pedro1 on

Topic category: Help with Minecraft modding (Java Edition)

Joined May 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
NBT for curios' backpack

Hello friends, recently I was creating a backpacks mod, and I came across a problem, the way I created it (The way I saw in a video), there is only 1 inventory for the 4 backpacks I created, that is, they are sharing the inventory.
Could any of you help me configure it so that each backpack I created has its own inventory? I saw some people talking about NBT, but I couldn't find a tutorial about backpacks.
Thank you

I will leave below the procedures I created, and the image of how I made my variables, I am a beginner in the development of mods and everything I did was following a video.

Procedure : View (Ler)

Procedure : Execute (Executar)

Procedure Save (Salvar)

 

I really appreciate anyone who can help me.