Host your Minecraft server on BisectHosting - get 25% off your first month with code MODRINTH.

Simple Close Button

Adds a button to most vanilla inventory screens which simply closes the gui.

If modmenu is installed you will have access to the configuration screen which was made with the help of Yet Another Config Lib to allow users to toggle the entire mod, the tooltip displayed whilst hovering over the button, the button on each indevidual screen (inventories that share screens use the same settings though because I don't know how to separate them), and you can change the position of the button on any screen for any reason you might need to.

This mod has been playtested on multiple versions myself and I have eliminated most bugs I have found however if you discover a bug, don't hesitate to report it on the github.

If you wish to make (and distibute) a resource pack that changes the textures of the button, feel free to do so. The textures are stored under /assets/close-btn/textures/gui/sprites/widget/. The indevidual textures are named "close_button.png" and "close_button_highlighted.png".

External resources



Project members

LordEnder_Kitty

Member


Technical information

License
MIT
Client side
required
Server side
unsupported
Project ID