跳到正文

GExt

作者:stannismod

The powerful and flexible OpenGL GUI extension

收藏

介绍

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

Hey there. There is a preview of the GUI library based on pure OpenGL.

 

This is not a claim for a best implementation, but an attempt to make good tool for constructing and managing GUIs. There is high-customization modular cross-version library with fully documented API.
It have simple implementation on the wide list of Minecraft versions. Now supported: 1.7.10-1.15.2.

Key features:
  • Uniform API – extracted general graphics components’ methods
  • Containers – you can(and should) use relative coordinates everywhere. Creating context-free code is awesome!
  • Relative positioning – Alignments(like HTML alignment) and Bounds(Component Binding). More information in wiki in the bottom of the page.
  • Declarative-styled GUI construction code – no boilerplate, just content
  • Modular components structure. Combine pieces to build your dream!
  • Component drawing isolation – broken render can’t break another
  • Clipping enabled by default – we use glScissor mechanism to clip drawing area and fully isolate components’ rendering apart
  • Universal construction – StyleMap. Can define styles and draw interface elements from it. Any size, any context
  • Listeners. You can inject your own code to any graphics component. It should be called every time the target component updates his state
  • Context menus. Easy interaction with graphics components

You can get started with Github Wiki

Join our Discord! Here is the link

常见问题

GExt 支持哪些 Minecraft 版本?

GExt 支持 Minecraft Java 版 1.7.10–1.15.2,共 8 个版本,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。

GExt 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Forge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分