Jump to content

How to add player's armor slot in the inventory the same way as we add the player's normal inventory


TheRPGAdventurer

Recommended Posts

I have a dragon inventory that when opened has its own chest inventory while it also has the inventory slot for the items, what its missing is the slot for the player's armor being worn, i really want this so every time i open my dragon inventory while riding the dragon i dont have to dismount on my dragon just to equip my  new armor its very trouble some to fly down high in the sky just to equip your armor and change your mind in just a few minutes of flying.

 

ContainerDragon: https://pastebin.com/J5VYJMsn

 

I dont think you will find it here but anyways here you go:

GuiDragon: https://pastebin.com/QQPV9TQM

 

Link to comment
Share on other sites

14 minutes ago, TheRPGAdventurer said:

what its missing is the slot for the player's armor being worn,

I believe you just add the four slots after the normal inventory so instead of 0-35 its 0-35 and 36-39

VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING

I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect.

Forge and vanilla BlockState generator.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.