Jump to content

Recommended Posts

Posted (edited)

Hi boys, well,

 

I'm actually making a custom inventory for player, but I have only one trouble, I can't find a way

to resize the slot. They are too bigger for my UI and I won't made my UI more bigger. That kill the gameplay of my mod.

 

I checked everywhere on PlayerInventory, and container, I find nothing look like what I want.

 

Thank you !

Edited by DjCtavia
Posted

This should be tricky, as items placed in slot are rendered in fixed size.

I'm afraid that you might have to override the rendering code of GuiContainer.

  • Like 1

I. Stellarium for Minecraft: Configurable Universe for Minecraft! (WIP)

II. Stellar Sky, Better Star Rendering&Sky Utility mod, had separated from Stellarium.

Posted

Hey,

thank you for the answer, I hoped to not do that, but yes I guess I need to do this...

I started to created different files for what I need. I tell you later if i'm doing it right ;)

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.

Announcements



×
×
  • Create New...

Important Information

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