Recipe fixes, replaced spaces with tabs
This commit is contained in:
parent
5ca6a92dd0
commit
d8de624fd1
60 changed files with 1816 additions and 1851 deletions
|
@ -55,16 +55,16 @@ class ModMenuScreenFactoryImpl {
|
|||
* <p>
|
||||
* Example:
|
||||
* <pre>{@code public class ModMenu extends ModMenuIntegration {
|
||||
* public static final ModMenuApiMarker entrypointObject = createEntrypoint(new EntryPoint());
|
||||
* public static final ModMenuApiMarker entrypointObject = createEntrypoint(new EntryPoint());
|
||||
*
|
||||
* public EntryPoint() {
|
||||
* super(GridScreen::new);
|
||||
* }
|
||||
* public EntryPoint() {
|
||||
* super(GridScreen::new);
|
||||
* }
|
||||
* }}</pre>
|
||||
* You'd also need to add the ModMenu-Entrypoint to your <i>fabric.mod.json</i>:
|
||||
* <pre>"entrypoints": {
|
||||
* ...
|
||||
* "modmenu": [ "your.mod.ModMenu::entrypointObject" ]
|
||||
* ...
|
||||
* "modmenu": [ "your.mod.ModMenu::entrypointObject" ]
|
||||
* }</pre>
|
||||
*/
|
||||
public abstract class ModMenuIntegration {
|
||||
|
@ -101,7 +101,7 @@ public abstract class ModMenuIntegration {
|
|||
/**
|
||||
* Create a new ModMenu delegate
|
||||
* @param screenFactory A Factory. The Factory receives the currently visible {@code parent}-Screen
|
||||
* and must return a new Screen Object.
|
||||
* and must return a new Screen Object.
|
||||
*/
|
||||
public ModMenuIntegration(ModMenuScreenFactory screenFactory){
|
||||
this.screenFactory = screenFactory;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue