跳到正文

Project 42

作者:Buuz135

A simple guide API with a ton of customization without all the GUI hassle

收藏

介绍

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

Project 42 is a simple Manual API with a ton of customization features that will allow you to change everything so it looks unique and without needing to handle all the GUI stuff.

 

How to start 

Gradle Dependency

repositories {
    maven {
        name 'Curseforge Maven'
        url 'http://minecraft.curseforge.com/api/maven/'
    }
}

dependencies {
    compile "project-42:project42-1.12.2:1.0.0:2:deobf"
}

(Or the latest version in curseforge) 

Project 42

To start using the mod you will need a class that implements IManual with the annotation @ProjectManual:

@ProjectManual(value = Project42.MOD_ID, modName = Project42.MOD_NAME)
public class TestManual implements IManual {

    @Override
    public void registerCategories(ManualInfo info) {

    }

}

After that you can register all the categories and all of the entries with their contents inside registerCategories. You can find examples:

  • A simple example without custom design
  • A bit more advanced example with a custom design

 

 Discord      Patreon     Twitter

Promo

常见问题

Project 42 支持哪些 Minecraft 版本?

Project 42 支持 Minecraft Java 版 1.12.2,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。

Project 42 怎么安装?

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

评论

登录后评论和评分

Buuz135 的其他作品

查看全部 →