How I add a new slot to player inventory?

Started by Batateste on

Topic category: Help with MCreator software

Active 5 years ago
Joined Jan 2020
Points:
647

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 1
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?

 

Active 1 year ago
Joined Dec 2019
Points:
766

User statistics:

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

custom code or not doable

Active 3 minutes ago
Joined Aug 2016
Points:
3305

User statistics:

  • Modifications: 9
  • Forum topics: 63
  • Wiki pages: 20
  • MCreator plugins: 11
  • Comments: 2929
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.

Active 5 years ago
Joined Jan 2020
Points:
647

User statistics:

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

thanks guuyys

 

Active 3 years ago
Joined Aug 2020
Points:
715

User statistics:

  • Modifications: 1
  • Forum topics: 7
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 112
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.

Active 3 years ago
Joined Jul 2020
Points:
626

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 6
@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

Active 3 months ago
Joined Dec 2018
Points:
982

User statistics:

  • Modifications: 1
  • Forum topics: 45
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 149
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?

Active 2 months ago
Joined Jul 2022
Points:
493

User statistics:

  • Modifications: 1
  • Forum topics: 11
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 61
Can this GUI be bound to the…
Mon, 11/18/2024 - 13:44

Can this GUI be bound to the player? Can its slots count as armour slots? If I added an armour item to the slot would the player count as (LivingEntity wearer)?