How I add a new slot to player inventory?

Started by Batateste on

Topic category: Help with MCreator software

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?

 

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

Joined Aug 2016
Points:

User statistics:

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

Joined Jan 2020
Points:

User statistics:

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

thanks guuyys

 

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.

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

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?

Joined Jul 2022
Points:

User statistics:

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