Backpack Item

Started by Beldrox on Tue, 05/22/2018 - 16:20

Topic category: Help with modding (Java Edition)

Last seen on 19:29, 5. Feb 2021
Joined Apr 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Backpack Item
Tue, 05/22/2018 - 16:20

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

Last seen on 16:31, 12. Oct 2020
Joined May 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
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!

Last seen on 16:31, 12. Oct 2020
Joined May 2018
Points:

User statistics:

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

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

Last seen on 17:49, 25. Mar 2021
Joined Jun 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
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

Last seen on 00:21, 11. Aug 2019
Joined Aug 2013
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
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.

Last seen on 16:48, 5. Aug 2021
Joined Jun 2017
Points:

User statistics:

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

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