Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Incubator Q&A

Welcome to the staging ground for new communities! Each proposal has a description in the "Descriptions" category and a body of questions and answers in "Incubator Q&A". You can ask questions (and get answers, we hope!) right away, and start new proposals.

Are you here to participate in a specific proposal? Click on the proposal tag (with the dark outline) to see only posts about that proposal and not all of the others that are in progress. Tags are at the bottom of each post.

Post History

50%
+0 −0
Incubator Q&A Where is the slot.png resource pack sprite used?

While creating textures for a resource pack, I stumbled upon minecraft/textures/gui/sprites/container/slot.png bundled with the game. But, I can't figure out why it's there and where the game uses ...

0 answers  ·  posted 6d ago by Andreas demands justice for humanity‭  ·  edited 6d ago by samcarter‭

Question video-games minecraft mc-java mc-resource-pack mc-java-1.21.4
#2: Post edited by user avatar samcarter‭ · 2025-06-09T10:03:29Z (6 days ago)
#1: Initial revision by user avatar Andreas demands justice for humanity‭ · 2025-06-09T05:19:47Z (6 days ago)
Where is the slot.png resource pack sprite used?
While creating textures for a resource pack, I stumbled upon `minecraft/textures/gui/sprites/container/slot.png` bundled with the game. But, I can't figure out why it's there and where the game uses it. Adjacent to that file, there're also `slot_highlight_front.png` and `slot_highlight_back.png`, rendered in front of and behind items when the mouse cursor hovers over that item inside container menus like the inventory. Overriding these in a resource pack works just like expected; the new textures are used instead. However, the same is not true for `slot.png`. It seems completely unused, and overriding it has no effect that I can see. The texture's contents are identical to the actual slots embedded within the other container type textures, so it seems the game just ignores that texture because it assumes all resource packs will just embed it within other textures instead? But then why is it there? And why not use it? It would simplify GUI texture creation and extension considerably.