mirror of
https://github.com/PuzzleMC/Puzzle.git
synced 2025-12-18 04:45:09 +01:00
Puzzle 0.3.0 - 1.17
Modulized into: puzzle-base (update checker + config) puzzle-gui (unified config gui) puzzle-models (remove limitations) puzzle-blocks (custom render layers) puzzle-splashscreen (resourcepack-provided spash screen) Updated to 1.17
This commit is contained in:
28
puzzle-gui/src/main/java/net/puzzlemc/gui/config/ModMenuIntegration.java
Executable file
28
puzzle-gui/src/main/java/net/puzzlemc/gui/config/ModMenuIntegration.java
Executable file
@@ -0,0 +1,28 @@
|
||||
package net.puzzlemc.gui.config;
|
||||
|
||||
import com.google.common.collect.ImmutableMap;
|
||||
import com.terraformersmc.modmenu.api.ConfigScreenFactory;
|
||||
import com.terraformersmc.modmenu.api.ModMenuApi;
|
||||
import net.puzzlemc.gui.screen.PuzzleOptionsScreen;
|
||||
import net.fabricmc.api.EnvType;
|
||||
import net.fabricmc.api.Environment;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
@Environment(EnvType.CLIENT)
|
||||
public class ModMenuIntegration implements ModMenuApi {
|
||||
|
||||
// Used to set the config screen for all modules //
|
||||
// @Override
|
||||
// public Map<String, ConfigScreenFactory<?>> getProvidedConfigScreenFactories() {
|
||||
// Map<String, ConfigScreenFactory<?>> map = ImmutableMap.of();
|
||||
// map.put("puzzle",PuzzleOptionsScreen::new);
|
||||
// map.put("puzzle-gui",PuzzleOptionsScreen::new);
|
||||
// map.put("puzzle-blocks",PuzzleOptionsScreen::new);
|
||||
// map.put("puzzle-base",PuzzleOptionsScreen::new);
|
||||
// map.put("puzzle-models",PuzzleOptionsScreen::new);
|
||||
// map.put("puzzle-randomentities",PuzzleOptionsScreen::new);
|
||||
// map.put("puzzle-splashscreen",PuzzleOptionsScreen::new);
|
||||
// return map;
|
||||
// }
|
||||
}
|
||||
Reference in New Issue
Block a user