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

Commit

Permalink
Remove Translate and Ores Options from Biomepedia
Browse files Browse the repository at this point in the history
  • Loading branch information
JT122406 committed Nov 24, 2024
1 parent bfdb1c2 commit 2a61593
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 17 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
* Update Access Widener to v2
* Add Tiny Lily Pads to Frog Prefer Jump To BlockTag
* Fix Rose Collector and Explore Biome Advancements missing Language Keys
* Remove Translate and Ores Options from Biomepedia

# 4.0.1.2 (Forge Only)
* Add SereneSeasons Support
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
public class BiomepediaHomeScreen extends AbstractBiomepediaScreen {
public static final String PATREON_URL = "https://www.patreon.com/potionstudios";
public static final String GITHUB_ISSUES_URL = "https://github.com/Potion-Studios/BYG/issues";
public static final String TRANSLATIONS_URL = "https://crowdin.com/project/oh-the-biomes-youll-go";
public static final ResourceLocation BIOMEPEDIA_LOCATION = BYG.createLocation("textures/gui/biomepedia_book_gui.png");
public static final String DOWNLOAD_URL = ModPlatform.INSTANCE.curseForgeURL();
public static final ResourceLocation BOOK_TEXTURES = BYG.createLocation("textures/gui/biomepedia.png");
Expand Down Expand Up @@ -64,21 +63,6 @@ protected void init() {
.tooltip(Tooltip.create(Component.translatable("biomepedia.intro.options.biomes.hover")))
.build();

Button ores = new Button.Builder(Component.translatable("biomepedia.intro.options.ores"),
button -> {
})
.bounds(0, this.topPos, buttonWidth, buttonHeight)
.tooltip(Tooltip.create(Component.translatable("biomepedia.intro.options.ores.hover")))
.build();

Button translations = new Button.Builder(Component.translatable("biomepedia.intro.options.translate"),
consumeLink(TRANSLATIONS_URL))
.bounds(0, this.topPos, buttonWidth, buttonHeight)
.tooltip(Tooltip.create(Component.translatable("biomepedia.intro.options.translate.hover")))
.build();

ores.active = false;

Button issues = new Button.Builder(Component.translatable("biomepedia.intro.options.issues"),
consumeLink(GITHUB_ISSUES_URL))
.bounds(0, this.topPos, buttonWidth, buttonHeight)
Expand All @@ -96,7 +80,7 @@ protected void init() {
.tooltip(Tooltip.create(Component.translatable("biomepedia.intro.options.download.hover")))
.build();

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

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

0 comments on commit 2a61593

Please sign in to comment.