25
25
public class BiomepediaHomeScreen extends AbstractBiomepediaScreen {
26
26
public static final String PATREON_URL = "https://www.patreon.com/potionstudios" ;
27
27
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" ;
29
28
public static final ResourceLocation BIOMEPEDIA_LOCATION = BYG .createLocation ("textures/gui/biomepedia_book_gui.png" );
30
29
public static final String DOWNLOAD_URL = ModPlatform .INSTANCE .curseForgeURL ();
31
30
public static final ResourceLocation BOOK_TEXTURES = BYG .createLocation ("textures/gui/biomepedia.png" );
@@ -64,21 +63,6 @@ protected void init() {
64
63
.tooltip (Tooltip .create (Component .translatable ("biomepedia.intro.options.biomes.hover" )))
65
64
.build ();
66
65
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
-
82
66
Button issues = new Button .Builder (Component .translatable ("biomepedia.intro.options.issues" ),
83
67
consumeLink (GITHUB_ISSUES_URL ))
84
68
.bounds (0 , this .topPos , buttonWidth , buttonHeight )
@@ -96,7 +80,7 @@ protected void init() {
96
80
.tooltip (Tooltip .create (Component .translatable ("biomepedia.intro.options.download.hover" )))
97
81
.build ();
98
82
99
- List <AbstractWidget > buttons = ImmutableList .of (blocksAndItems , biomes , ores , download , translations , issues , donate );
83
+ List <AbstractWidget > buttons = ImmutableList .of (blocksAndItems , biomes , download , issues , donate );
100
84
101
85
int listRenderedHeight = IMAGE_HEIGHT + this .bottomPos ;
102
86
this .widgets = new WidgetList (buttons , buttonWidth + 9 , listRenderedHeight + 20 , this .bottomPos + 15 , listRenderedHeight - 15 , buttonHeight + 4 );
0 commit comments