Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
b33d72f
Move Mods title button to fix proper tab order
sciwhiz12 Apr 7, 2026
ab41809
Overhaul the mods list screen
sciwhiz12 Apr 7, 2026
7073e30
Adjust spacing to line up sidebar and info panel edges
sciwhiz12 Apr 7, 2026
2123799
Cleanup formatting and license headers
sciwhiz12 Apr 7, 2026
2310624
Align button panel to info panel edges
sciwhiz12 Apr 7, 2026
47c6f0f
Equalize spacing between action buttons and column spacing
sciwhiz12 Apr 7, 2026
0ebf25c
Equalize spacing between action buttons and between footer buttons
sciwhiz12 Apr 7, 2026
17ed192
Add padding above logo
sciwhiz12 Apr 7, 2026
a3fa525
Equalize spacing between sidebar and sidebar buttons
sciwhiz12 Apr 7, 2026
1a22048
Fix formatting
sciwhiz12 Apr 7, 2026
5e660d3
Reduce horizontal padding for mod list
sciwhiz12 Apr 7, 2026
c4c7a95
Add extra testing resources
sciwhiz12 Apr 7, 2026
adb00ac
Resize sidebar buttons to default height
sciwhiz12 Apr 7, 2026
8e8b789
Remove default or mod load sort
sciwhiz12 Apr 7, 2026
8832f97
Use boldface for authors, license, credits keys
sciwhiz12 Apr 7, 2026
abc6186
Move license widget before authors widget
sciwhiz12 Apr 7, 2026
76c3e1f
Abbreviate to EULA
sciwhiz12 Apr 7, 2026
d195159
Move testing exercise entries to end
sciwhiz12 Apr 7, 2026
3c4205a
Dynamically change entries width based on scrollbar
sciwhiz12 Apr 7, 2026
9b6a0aa
Add separator before description
sciwhiz12 Apr 7, 2026
1717478
Fix formatting and apply license header
sciwhiz12 Apr 7, 2026
07eb4e2
Set banner height to always 50px
sciwhiz12 Apr 8, 2026
e7c87b8
Fix loading of resources from multi-mod files
sciwhiz12 Apr 8, 2026
39c595b
Constrain logo size to within panel width
sciwhiz12 Apr 8, 2026
317b0b4
Deduplicate repeated text widget building and hiding
sciwhiz12 Apr 8, 2026
beb33a2
Merge latest 26.1.x
sciwhiz12 Apr 8, 2026
2887f3a
Set color mod ID and version to white
sciwhiz12 Apr 8, 2026
45fa211
Merge latest 26.1.x
sciwhiz12 Apr 9, 2026
7d598eb
Merge latest 26.1.x
sciwhiz12 Apr 26, 2026
216b92e
Remove Mods title header
sciwhiz12 Apr 27, 2026
4b91feb
Merge latest 26.1.x
sciwhiz12 Apr 27, 2026
7e0e71f
Prevent background with piping widget from being selectable
sciwhiz12 Apr 27, 2026
6967c4a
Simplify and change style for mod ID and version widget
sciwhiz12 Apr 27, 2026
cb5bfa9
Capitalize the mods folder open button
sciwhiz12 Apr 27, 2026
0451863
Add tooltips for sort button values
sciwhiz12 Apr 27, 2026
02f4344
Add support for version checker indicators and changelog
sciwhiz12 Apr 27, 2026
cc28a9a
Extract static nested classes from ModListScreen
sciwhiz12 Apr 27, 2026
b73ba33
Move default impls of functional interfaces
sciwhiz12 Apr 27, 2026
d98e39f
Remove old FML translations
sciwhiz12 Apr 27, 2026
cd3eb97
Fix inconsistency in translation keys
sciwhiz12 Apr 27, 2026
66c6c59
Add support for modUrl as fallback for displayURL
sciwhiz12 Apr 29, 2026
0947aeb
Add support for mod-level issueTrackerURL
sciwhiz12 Apr 29, 2026
bf22f1d
Merge latest 26.1.x
sciwhiz12 May 15, 2026
9f70522
Fix typo for open update site button translation key
sciwhiz12 May 16, 2026
f4f7a48
Add javadocs
sciwhiz12 May 16, 2026
e65563f
Remove testing resources
sciwhiz12 May 16, 2026
a56dc1b
Remove default sort translation key
sciwhiz12 May 16, 2026
9d04eab
Cleanup translation keys
sciwhiz12 May 16, 2026
47fa74a
Remove other testing resources
sciwhiz12 May 16, 2026
2ab33e5
Select a single entry if only one left
sciwhiz12 May 16, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
} else {
helper.addChild(this.openScreenButton(PLAYER_REPORTING, () -> new SocialInteractionsScreen(this)));
}
+ helper.addChild(Button.builder(Component.translatable("fml.menu.mods"), button -> this.minecraft.setScreen(new net.neoforged.neoforge.client.gui.ModListScreen(this))).width(BUTTON_WIDTH_FULL).build(), 2);
+ helper.addChild(Button.builder(Component.translatable("fml.menu.mods"), button -> this.minecraft.setScreen(net.neoforged.neoforge.client.gui.modlist.ModListScreen.create())).width(BUTTON_WIDTH_FULL).build(), 2);

this.disconnectButton = helper.addChild(
Button.builder(
20 changes: 12 additions & 8 deletions patches/net/minecraft/client/gui/screens/TitleScreen.java.patch
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--- a/net/minecraft/client/gui/screens/TitleScreen.java
+++ b/net/minecraft/client/gui/screens/TitleScreen.java
@@ -104,11 +_,17 @@
@@ -104,7 +_,7 @@
int copyrightWidth = this.font.width(COPYRIGHT_TEXT);
int copyrightX = this.width - copyrightWidth - 2;
int spacing = 24;
Expand All @@ -9,16 +9,20 @@
if (this.minecraft.isDemo()) {
topPos = this.createDemoMenuOptions(topPos, 24);
} else {
topPos = this.createNormalMenuOptions(topPos, 24);
+ int modsOffset = SharedConstants.IS_RUNNING_IN_IDE ? 2 : -100;
+ int modsWidth = SharedConstants.IS_RUNNING_IN_IDE ? 98 : 200;
+ this.addRenderableWidget(new net.neoforged.neoforge.client.gui.widget.ModsButton(Button.builder(Component.translatable("fml.menu.mods"), button -> this.minecraft.setScreen(new net.neoforged.neoforge.client.gui.ModListScreen(this)))
+ .pos(this.width / 2 + modsOffset, topPos + 24).size(modsWidth, 20)));
+ if (!SharedConstants.IS_RUNNING_IN_IDE)
+ topPos += 24; // Move down Options, Quit, Language, and Accessibility buttons to make room for mods button (in-dev the test world button "handles" this)
@@ -112,6 +_,13 @@
}

topPos = this.createTestWorldButton(topPos, 24);
+ // Neo: Add mods button to title screen
+ if (!SharedConstants.IS_RUNNING_IN_IDE)
+ topPos += 24; // Move down other buttons to make room for mods button (in-dev the test world button "handles" this)
+ int modsOffset = SharedConstants.IS_RUNNING_IN_IDE ? 2 : -100;
+ int modsWidth = SharedConstants.IS_RUNNING_IN_IDE ? 98 : 200;
+ this.addRenderableWidget(new net.neoforged.neoforge.client.gui.widget.ModsButton(Button.builder(Component.translatable("fml.menu.mods"), button -> this.minecraft.setScreen(net.neoforged.neoforge.client.gui.modlist.ModListScreen.create()))
+ .pos(this.width / 2 + modsOffset, topPos).size(modsWidth, 20)));
SpriteIconButton language = this.addRenderableWidget(
CommonButtons.language(
20, button -> this.minecraft.setScreen(new LanguageSelectScreen(this, this.minecraft.options, this.minecraft.getLanguageManager())), true
@@ -158,7 +_,7 @@
Button.builder(
Component.literal("Create Test World"), button -> CreateWorldScreen.testWorld(this.minecraft, () -> this.minecraft.setScreen(this))
Expand Down
Loading
Loading