Jump to content

Probably a bit too techy a question for this subforum, but where are the item images kept?


Go to solution Solved by Bumber,

Recommended Posts

Posted

I am building a little web app, at this point just a proof of concept and unlikely to go public, but I plan using the images that are in game for certain things. The example here is the pear, but it could be any item.

2025-06-11_11-57-23.png.81efb6e5baee7337ca4aa7e8f11e9ee8.png

The wiki does have a lot of images, but their sizes are inconsistent, take for example the difference between a red apple (400x400) and some red meat (100x100). 

I have checked the assets folder and can find textures but not a static image. Is it just the case that when shown in your inventory it's rendering it in real time?


Thanks in advance.

 

 

Posted

Work smarter not harder!

There's a command for this sort of stuff, 100 sets the width and height.

.blockitempngexport all 100

There are some other commands that do more specific operations with the export, but this one will get you all blocks and items rendered as pngs.

  • Thanks 3
Posted
16 hours ago, wildforester said:

Work smarter not harder!

There's a command for this sort of stuff, 100 sets the width and height.

.blockitempngexport all 100

There are some other commands that do more specific operations with the export, but this one will get you all blocks and items rendered as pngs.

You are not wrong, that definitely is a better way to do things. Thank you very much.

For those wondering, VS will hang for a 2 or 3 minutes (at least on my PC) and will output the files to <game install location>/icons but it does what it says on the tin; icons, all of them, 100px in size.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.