跳到正文

Server GUI

作者:plus_200

A user-interface based library useful for creating front-end UIs for existing game screens on both NeoForge and Fabric

收藏

截图

介绍

中文介绍正在准备中,下面暂时显示原文。

ServUi

This is a port of the SGui Library that is a small, jij-able library that allows creation of server side guis.

The goal is to allow Fabric mods that uses the original SGui to be ported on Neoforge, using this build.

Usage (for mod developpers):

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("co.lemee:servui:1.9.1+1.21.5-neoforge") // Adapt it, it should match the jar your are using
}

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

评论

登录后评论和评分

plus_200 的其他作品

查看全部 →