Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

[1.11.2] Change Slot Size ?


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 post
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 post
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.

Guest
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 Privacy Policy.