Compatibility
Minecraft: Java Edition
1.21.4–1.21.5
1.21–1.21.2
1.20.x
1.19.x
1.18.2
Platforms
Supported environments
75% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Creators
Details
SGui (Server Gui)
This is a port of the SGui Library that is a small, jij-able library that allows creation of server side guis.
The goal of this build is to allow Fabric mods that uses the original SGui library to be ported on Neoforge, using this build.
Usage (for mod developers):
Add it to your dependencies like this:
- create a
lib
directory and put the jar in it. - Add the local repository to your build.gradle:
repositories {
flatDir {
dir 'libs'
}
}
dependencies {
modImplementation include("eu.pb4:sgui:1.9.1+1.21.5-neoforge") // Adapt it, it should match the jar your are using
}
Exemple of a mod using it: AuctionHouse
After that you are ready to go! You can use SimpleGUI and other classes directly for simple ones or extend them for more complex guis.