]> git.lizzy.rs Git - BoundingBoxOutlineReloaded.git/blobdiff - src/main/java/com/irtimaled/bbor/client/gui/SettingsScreen.java
Bedrock ceiling
[BoundingBoxOutlineReloaded.git] / src / main / java / com / irtimaled / bbor / client / gui / SettingsScreen.java
index 49e5e6828b228e00d9c2db2298113929bc1d851a..5741b07b8315e3d4857d46e0235ca2a7937bfd8e 100644 (file)
@@ -53,7 +53,11 @@ public class SettingsScreen extends ListScreen {
                             }
                         },
                         width -> new BoolSettingButton(width, I18n.translate("bbor.options.outerBoxOnly"), ConfigManager.outerBoxesOnly),
-                        width -> new BoolSettingButton(width, I18n.translate("bbor.options.fill"), ConfigManager.fill))
+                        width -> new BoolSettingButton(width, I18n.translate("bbor.options.fill"), ConfigManager.fill),
+                        width -> new IntSettingSlider(width, 0, 2, "bbor.options.fastRender", ConfigManager.fastRender)
+                                .addDisplayValue(0, I18n.translate("bbor.options.fastRender.0"))
+                                .addDisplayValue(1, I18n.translate("bbor.options.fastRender.1"))
+                                .addDisplayValue(2, I18n.translate("bbor.options.fastRender.2")))
                 .section(I18n.translate("bbor.features.spawnChunks"),
                         width -> new BoundingBoxTypeButton(width, I18n.translate("bbor.features.spawnChunks"), BoundingBoxType.WorldSpawn),
                         width -> new BoundingBoxTypeButton(width, I18n.translate("bbor.features.lazyChunks"), BoundingBoxType.LazySpawnChunks),
@@ -68,12 +72,12 @@ public class SettingsScreen extends ListScreen {
                                 .addDisplayValue(1, I18n.translate("bbor.options.distance.nearest"))
                                 .addDisplayValue(2, I18n.translate("bbor.options.distance.nearer"))
                                 .addDisplayValue(3, I18n.translate("bbor.options.distance.normal")))
-                .section(I18n.translate("bbor.features.flowerForests"),
-                        width -> new BoundingBoxTypeButton(width, I18n.translate("bbor.features.flowerForests"), BoundingBoxType.FlowerForest),
-                        width -> new IntSettingSlider(width, 1, 3, "bbor.options.distance", ConfigManager.flowerForestsRenderDistance)
-                                .addDisplayValue(1, I18n.translate("bbor.options.distance.nearest"))
-                                .addDisplayValue(2, I18n.translate("bbor.options.distance.nearer"))
-                                .addDisplayValue(3, I18n.translate("bbor.options.distance.normal")))
+//                .section(I18n.translate("bbor.features.flowerForests"),
+//                        width -> new BoundingBoxTypeButton(width, I18n.translate("bbor.features.flowerForests"), BoundingBoxType.FlowerForest),
+//                        width -> new IntSettingSlider(width, 1, 3, "bbor.options.distance", ConfigManager.flowerForestsRenderDistance)
+//                                .addDisplayValue(1, I18n.translate("bbor.options.distance.nearest"))
+//                                .addDisplayValue(2, I18n.translate("bbor.options.distance.nearer"))
+//                                .addDisplayValue(3, I18n.translate("bbor.options.distance.normal")))
                 .section(I18n.translate("bbor.features.bedrockCeilingBlocks"),
                         width -> new BoundingBoxTypeButton(width, I18n.translate("bbor.features.bedrockCeilingBlocks"), BoundingBoxType.BedrockCeiling))
                 .section(I18n.translate("bbor.features.mobSpawners"),