Class WebSiteGenerator

java.lang.Object
guideme.web.WebSiteGenerator

@Experimental public final class WebSiteGenerator extends Object
Generates a static website from a guide that was previously exported from the game (i.e. using the guideme.exportOnStartupAndExit system property or the /guidemec <guide> export command).

Using --versions instead of --data generates a website with multiple versions of the guide, i.e. one for each supported Minecraft version. Each version is written to a folder named after its Minecraft version, and the root of the website lists all versions.

This is meant to be run as a Java application, i.e. by a Gradle JavaExec task, whose classpath contains GuideME, Minecraft and your mod. Implementations of RecipeWebRenderer and CustomElementWebRenderer are discovered from that classpath using the Java ServiceLoader.

Run it without arguments to see all options.