diff options
author | syeyoung <cyong06@naver.com> | 2021-05-09 14:02:47 +0900 |
---|---|---|
committer | syeyoung <cyong06@naver.com> | 2021-05-09 14:02:47 +0900 |
commit | b64db8d662cbe5ab842c4ff2f061cf73e33dde6e (patch) | |
tree | 2bef85b9c47b5f04e7d1316f0010d4bdee5093b4 /src/main/java/kr/syeyoung/dungeonsguide/config/guiconfig | |
parent | c7543c833f9bf57c79f8f58c5c91beacb5d986f9 (diff) | |
download | Skyblock-Dungeons-Guide-b64db8d662cbe5ab842c4ff2f061cf73e33dde6e.tar.gz Skyblock-Dungeons-Guide-b64db8d662cbe5ab842c4ff2f061cf73e33dde6e.tar.bz2 Skyblock-Dungeons-Guide-b64db8d662cbe5ab842c4ff2f061cf73e33dde6e.zip |
All category
Diffstat (limited to 'src/main/java/kr/syeyoung/dungeonsguide/config/guiconfig')
-rwxr-xr-x | src/main/java/kr/syeyoung/dungeonsguide/config/guiconfig/GuiConfig.java | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/main/java/kr/syeyoung/dungeonsguide/config/guiconfig/GuiConfig.java b/src/main/java/kr/syeyoung/dungeonsguide/config/guiconfig/GuiConfig.java index 6d6a646d..18828abd 100755 --- a/src/main/java/kr/syeyoung/dungeonsguide/config/guiconfig/GuiConfig.java +++ b/src/main/java/kr/syeyoung/dungeonsguide/config/guiconfig/GuiConfig.java @@ -40,6 +40,7 @@ import java.nio.FloatBuffer; import java.util.List; import java.util.Map; import java.util.Stack; +import java.util.stream.Collectors; public class GuiConfig extends GuiScreen { @@ -75,6 +76,14 @@ public class GuiConfig extends GuiScreen { } }); } + tabbedPane.addBookmark("All", "base.all"); + + ConfigPanelCreator.map.put("base.all", new Supplier<MPanel>() { + @Override + public MPanel get() { + return new FeatureEditPane(FeatureRegistry.getFeatureList().stream().filter( a-> !a.getCategory().equals("hidden")).collect(Collectors.toList()), GuiConfig.this); + } + }); this.tabbedPane = tabbedPane; } |