mirror of
https://github.com/PuzzleMC/Puzzle.git
synced 2025-12-18 21:05:10 +01:00
Puzzle 1.1.0 - Use IrisAPI, Deactivatable Integrations, Remove puzzle-blocks
- Use the new Iris API - Builtin mod support is now configurable - Puzzle button in Options screen can be disabled - Remove puzzle-blocks (Already covered by Continuity) - Fix #4 - Fix #5 - Fix #6 - Fix #7
This commit is contained in:
@@ -11,8 +11,12 @@ import java.util.Map;
|
||||
|
||||
@Environment(EnvType.CLIENT)
|
||||
public class ModMenuIntegration implements ModMenuApi {
|
||||
@Override
|
||||
public ConfigScreenFactory<?> getModConfigScreenFactory() {
|
||||
return PuzzleOptionsScreen::new;
|
||||
}
|
||||
|
||||
//Used to set the config screen for all modules //
|
||||
//Used to set the config screen for all modules //
|
||||
@Override
|
||||
public Map<String, ConfigScreenFactory<?>> getProvidedConfigScreenFactories() {
|
||||
Map<String, ConfigScreenFactory<?>> map = new HashMap<>();
|
||||
@@ -21,7 +25,7 @@ public class ModMenuIntegration implements ModMenuApi {
|
||||
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-emissives",PuzzleOptionsScreen::new);
|
||||
map.put("puzzle-splashscreen",PuzzleOptionsScreen::new);
|
||||
return map;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user