Backpack Item

Started by Beldrox on

Topic category: Help with Minecraft modding (Java Edition)

Active 4 years ago
Joined Apr 2014
Points:
749

User statistics:

  • Modifications: 1
  • Forum topics: 3
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 7
Backpack Item

I'm sorry, can somebody explain me how can i create a backpack item in MCreator?
I made an Item with the backpack's texture and i linked its right click event to a procedure which opens a GUI: the GUI consists of many slots.
The inventory linked to the slots it's checked so it won't delete items on closed GUI, but everytime i put the items in the backpack and then i close it, when i try to reopen it all items disappeared...

Can somebody help me, please?

Thank you <3

Active 4 years ago
Joined May 2018
Points:
735

User statistics:

  • Modifications: 0
  • Forum topics: 5
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 64
If you are using MCreator 1…
Wed, 05/23/2018 - 02:14

If you are using MCreator 1.7.9, after making your block, skip to the page (do the other pages first, of course) with the checkable box, saying, " Enable Inventory on this block." Then fill the rest of the blanks, then your done!

Active 4 years ago
Joined May 2018
Points:
735

User statistics:

  • Modifications: 0
  • Forum topics: 5
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 64
hold up nvm I thought you…
Wed, 05/23/2018 - 02:15

hold up nvm I thought you needed help making the backback block.

Active 4 years ago
Joined Jun 2016
Points:
3744

User statistics:

  • Modifications: 10
  • Forum topics: 39
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 5490
You can't make items store…
Wed, 05/23/2018 - 21:14

You can't make items store blocks /items in MCreator :( You can only make new storage blocks, not items

Active 1 year ago
Joined Aug 2013
Points:
1162

User statistics:

  • Modifications: 4
  • Forum topics: 6
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 737
You can use NBTTagCompounds…
Wed, 05/23/2018 - 21:48

You can use NBTTagCompounds to save and write the ItemStacks to the NBT data of the backpack ItemStack, or you could use the "new" capability system to do the same thing.

Active 2 years ago
Joined Jun 2017
Points:
896

User statistics:

  • Modifications: 1
  • Forum topics: 22
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 167
Can you explain more ? Or…
Fri, 10/25/2019 - 15:01

Can you explain more ? Or you can make a video.