Jump to content

[1.11.2] Change Slot Size ?


DjCtavia

Recommended Posts

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
Link to comment
Share on other sites

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.

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.

Announcements



×
×
  • Create New...

Important Information

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