GT Diagram Util

基本信息

util.gregtech5.GregTechDiagramUtil —— GT 生成器共用的图元工具。

静态成员

成员 行 说明
ICON 19 ItemComponent.create(Items.book, 0) —— GT 系生成器的通用书籍图标基元
buildMaterialInfoButton(Point pos, IOreMaterial material) 24 构造一个「跳到该材料主图」的可交互按钮

可交互按钮

buildMaterialInfoButton 返回 Interactable,这是 GT 图里跨材料跳转的通用机制: 点击后进入该材料自己的分页,配合 DiagramMatcher 完成检索。

相关条目

源码

  • src/main/java/com/github/dcysteine/neicustomdiagram/util/gregtech5/GregTechDiagramUtil.java