How I add a new slot to player inventory?

Started by Batateste on Sat, 01/04/2020 - 10:27

Topic category: Help with MCreator software

Last seen on 09:21, 6. Jan 2020
Joined Jan 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How I add a new slot to player inventory?
Sat, 01/04/2020 - 10:27

Guys I want to add some new slots in players base inventory, like a backpack and jetpack slot, can someone help me plis?

 

Last seen on 07:03, 13. May 2021
Joined Dec 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
custom code or not doable
Sat, 01/04/2020 - 10:32

custom code or not doable

Last seen on 20:07, 12. May 2021
Joined Aug 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
As @KantroActual has said,…
Sat, 01/04/2020 - 13:06

As @KantroActual has said, you have to use your own code because adding new slots can cause incompatibilities between mods, so Pylo doesn’t want to add this feature.

Last seen on 09:21, 6. Jan 2020
Joined Jan 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
thanks guuyys  
Sun, 01/05/2020 - 15:03

thanks guuyys

 

Last seen on 10:45, 10. May 2021
Joined Aug 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
If you really want to add a…
Sat, 10/10/2020 - 11:43

If you really want to add a slot you could maybe make a custom GUI that works the same as the player inventory and override the keybind that usually opens the inventory. That would probably be more work than it's worth, so a better solution would probably be to have a separate inventory that is opened by a different key where you can insert your custom jetpack/backpack.

Last seen on 09:21, 16. Apr 2021
Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
@willk55 i tried this one…
Thu, 04/15/2021 - 09:09

@willk55 i tried this one after i put the item in the gui slot when i exit the gui the item is droped back