Refactored to expose the ModMenu Integration to other Mods

This commit is contained in:
Frank 2021-08-20 03:05:36 +02:00
parent 5808bab08e
commit 0486b56ec3
4 changed files with 136 additions and 50 deletions

View file

@ -0,0 +1,12 @@
package ru.bclib.gui.modmenu;
import com.terraformersmc.modmenu.util.ModMenuApiMarker;
import ru.bclib.integration.ModMenuIntegration;
public class EntryPoint extends ModMenuIntegration {
public static final ModMenuApiMarker entrypointObject = createEntrypoint(new EntryPoint());
public EntryPoint() {
super(MainScreen::new);
}
}

View file

@ -1,4 +1,4 @@
package ru.bclib.gui.screens.ModMenu;
package ru.bclib.gui.modmenu;
import net.minecraft.client.gui.screens.Screen;
import net.minecraft.network.chat.CommonComponents;