Skip to content
This repository was archived by the owner on Nov 24, 2024. It is now read-only.

Commit 2a61593

Browse files
committed
Remove Translate and Ores Options from Biomepedia
1 parent bfdb1c2 commit 2a61593

File tree

2 files changed

+2
-17
lines changed

2 files changed

+2
-17
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
* Update Access Widener to v2
1212
* Add Tiny Lily Pads to Frog Prefer Jump To BlockTag
1313
* Fix Rose Collector and Explore Biome Advancements missing Language Keys
14+
* Remove Translate and Ores Options from Biomepedia
1415

1516
# 4.0.1.2 (Forge Only)
1617
* Add SereneSeasons Support

Common/src/main/java/potionstudios/byg/client/gui/biomepedia/screen/BiomepediaHomeScreen.java

+1-17
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
public class BiomepediaHomeScreen extends AbstractBiomepediaScreen {
2626
public static final String PATREON_URL = "https://www.patreon.com/potionstudios";
2727
public static final String GITHUB_ISSUES_URL = "https://github.com/Potion-Studios/BYG/issues";
28-
public static final String TRANSLATIONS_URL = "https://crowdin.com/project/oh-the-biomes-youll-go";
2928
public static final ResourceLocation BIOMEPEDIA_LOCATION = BYG.createLocation("textures/gui/biomepedia_book_gui.png");
3029
public static final String DOWNLOAD_URL = ModPlatform.INSTANCE.curseForgeURL();
3130
public static final ResourceLocation BOOK_TEXTURES = BYG.createLocation("textures/gui/biomepedia.png");
@@ -64,21 +63,6 @@ protected void init() {
6463
.tooltip(Tooltip.create(Component.translatable("biomepedia.intro.options.biomes.hover")))
6564
.build();
6665

67-
Button ores = new Button.Builder(Component.translatable("biomepedia.intro.options.ores"),
68-
button -> {
69-
})
70-
.bounds(0, this.topPos, buttonWidth, buttonHeight)
71-
.tooltip(Tooltip.create(Component.translatable("biomepedia.intro.options.ores.hover")))
72-
.build();
73-
74-
Button translations = new Button.Builder(Component.translatable("biomepedia.intro.options.translate"),
75-
consumeLink(TRANSLATIONS_URL))
76-
.bounds(0, this.topPos, buttonWidth, buttonHeight)
77-
.tooltip(Tooltip.create(Component.translatable("biomepedia.intro.options.translate.hover")))
78-
.build();
79-
80-
ores.active = false;
81-
8266
Button issues = new Button.Builder(Component.translatable("biomepedia.intro.options.issues"),
8367
consumeLink(GITHUB_ISSUES_URL))
8468
.bounds(0, this.topPos, buttonWidth, buttonHeight)
@@ -96,7 +80,7 @@ protected void init() {
9680
.tooltip(Tooltip.create(Component.translatable("biomepedia.intro.options.download.hover")))
9781
.build();
9882

99-
List<AbstractWidget> buttons = ImmutableList.of(blocksAndItems, biomes, ores, download, translations, issues, donate);
83+
List<AbstractWidget> buttons = ImmutableList.of(blocksAndItems, biomes, download, issues, donate);
10084

10185
int listRenderedHeight = IMAGE_HEIGHT + this.bottomPos;
10286
this.widgets = new WidgetList(buttons, buttonWidth + 9, listRenderedHeight + 20, this.bottomPos + 15, listRenderedHeight - 15, buttonHeight + 4);

0 commit comments

Comments
 (0)