All Mods Resource Packs Data Packs Shaders Modpacks Plugins
Simple Close Button

Simple Close Button

by LordEnder_Kitty • Downloads: 0 • Followers: 0
Description
Gallery
Changelog
Versions

Simple Close Button

Adds a close button to inventory screens. As of version 3.0, you can add and remove which screens have the button, as well as change it's position and it should work with all vanilla-based implementations of a recipe book, all through the Mod Menu config, made with YACL.

Keep in mind that you will need to know the class path of whichever screen, vanilla or modded, that you want to add a button to in the config.

If you are just a casual user, you shouldn't have to worry about any of that, though. All the vanilla screens that this mod should apply to are included by default.

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

You may use this mod in modpacks as you like. Version 3.0 was specifically meant to add better support for this.

All Versions

+ Add Version
Name Game version Platforms Published Downloads Actions
1.21.x
Fabric
last yr. 1
1.21.x
Fabric
last yr. 1
1.21.x
Fabric
last yr. 1
1.21.x
Fabric
last yr. 1
1.21.x
Fabric
last yr. 1
1.21.x
Fabric
last yr. 1
1.21.x
Fabric
last yr. 1
1.20.x
Fabric
last yr. 1
1.20.x
Fabric
last yr. 1
  • Fix mixin error
  • Fix mixin error
Updated to 1.21.2/1.21.3
Added mod support and polished code.
  • Updated to 1.21
  • Implemented an easier way of adding screens to apply a button to.

TODO: Implement an api to add your own entries for mod support.
  • Ported down to Minecraft versions 1.20 and 1.20.1.
  • Modified button widget textures to compensate for the pre 1.20.2 way of making button widgets.
Initial release.
Simple Close Button Icon
Download Simple Close Button
Select game version
Select platform