How I add a new slot to player inventory?

Started by Batateste on

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:
  • MCreator plugins:
  • Comments:
How I add a new slot to player inventory?

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:48, 28. Mar 2024
Joined Dec 2019
Points:

User statistics:

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

custom code or not doable

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:
  • MCreator plugins:
  • Comments:
thanks guuyys  
Sun, 01/05/2020 - 15:03

thanks guuyys

 

Last seen on 14:30, 2. Aug 2022
Joined Aug 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • 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 15:58, 14. Jun 2022
Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • 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

Last seen on 13:29, 26. Mar 2024
Joined Dec 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
this is good, but how would…
Tue, 06/22/2021 - 20:19

this is good, but how would one actually put the armor onto the player if you've already created the extra slot?