
Project 42
Project 42 is a convenient API for creating guides with extensive customization options for appearance. With it, you can fully personalize the help system interface without dealing with complex work with graphical elements.
Getting Started
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 use the latest available version on Curseforge)
Basic Setup
To use the mod, you need to create a class that implements the IManual
interface with the @ProjectManual
annotation:
@ProjectManual(value = Project42.MOD_ID, modName = Project42.MOD_NAME)
public class TestManual implements IManual {
@Override
public void registerCategories(ManualInfo info) {
}
}
In the registerCategories
method, you can add categories and entries with their content. For reference, implementation examples are available:
- Basic example without custom design
- Advanced example with customizable design