Auto generate a simple Config Screen
This commit is contained in:
parent
d31425623d
commit
092e0a39e8
3 changed files with 33 additions and 6 deletions
|
@ -53,13 +53,13 @@ class ModMenuScreenFactoryImpl {
|
|||
* the {@link #createEntrypoint(ModMenuIntegration)}-Method.
|
||||
* <p>
|
||||
* Example:
|
||||
* <pre>{@code public class} ModMenu extends ModMenuIntegration {
|
||||
* <pre>{@code public class ModMenu extends ModMenuIntegration {
|
||||
* public static final ModMenuApiMarker entrypointObject = createEntrypoint(new EntryPoint());
|
||||
*
|
||||
* public EntryPoint() {
|
||||
* super(GridScreen::new);
|
||||
* }
|
||||
* }</pre>
|
||||
* }}</pre>
|
||||
* You'd also need to add the ModMenu-Entrypoint to your <i>fabric.mod.json</i>:
|
||||
* <pre>"entrypoints": {
|
||||
* ...
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue