Skip to content

Commit

Permalink
API setting
Browse files Browse the repository at this point in the history
  • Loading branch information
Ninjabrain1 committed Sep 12, 2024
1 parent 85f1791 commit 20d9fdf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ public int getTextSize(SizePreference p) {
column2.add(new CheckboxPanel(styleManager, I18n.get("settings.color_negative_coords"), preferences.colorCodeNegativeCoords));
column2.add(new CheckboxPanel(styleManager, I18n.get("settings.use_advanced_stronghold_statistics"), preferences.useAdvStatistics));
column2.add(new CheckboxPanel(styleManager, I18n.get("settings.use_alternative_clipboard_reader"), preferences.altClipboardReader));
column2.add(new CheckboxPanel(styleManager, "HTTP SERVER", preferences.enableHttpServer));
column2.add(new CheckboxPanel(styleManager, I18n.get("settings.enable_api"), preferences.enableHttpServer));

disposeHandler.add(preferences.useAltStd.whenModified().subscribeEDT(this::setAltSigmaEnabled));
disposeHandler.add(preferences.sigma.whenModified().subscribeEDT(sigmaPanel::updateValue));
Expand Down
1 change: 1 addition & 0 deletions src/main/resources/lang/I18n.properties
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ settings.information.enable_mismeasure_warning=Show a warning if the calculator
settings.information.enable_portal_linking_warning=Show a warning if you cannot nether travel into the stronghold because of portal linking.
settings.information.enable_combined_certainty_information=Show an info message if it is possible to nether travel between two offsets for an increased chance of hitting the stronghold.
settings.information.enable_direction_help_information=Show an info message telling you how many blocks sideways you need to move for your next throw to get around 95%% certainty.
settings.enable_api=Enable API (starts HTTP server)
information.wrong_mc_version=Detected wrong Minecraft version, make sure the correct version is chosen in the settings.
information.mismeasure=Detected unusually large errors, you probably mismeasured or your standard deviation is too low.
information.portal_linking=You might not be able to nether travel into the stronghold due to portal linking.
Expand Down

0 comments on commit 20d9fdf

Please sign in to comment.