diff --git a/.run/[Windows] Run Client (Debug).run.xml b/.run/[Windows] Run Client (Debug).run.xml
index 3ed9eb8b..2fecbacc 100644
--- a/.run/[Windows] Run Client (Debug).run.xml
+++ b/.run/[Windows] Run Client (Debug).run.xml
@@ -6,7 +6,7 @@
-
+
@@ -19,4 +19,4 @@
-
\ No newline at end of file
+
diff --git a/.run/[Windows] Run Client.run.xml b/.run/[Windows] Run Client.run.xml
index 7303be15..ad4617f5 100644
--- a/.run/[Windows] Run Client.run.xml
+++ b/.run/[Windows] Run Client.run.xml
@@ -6,7 +6,7 @@
-
+
@@ -19,4 +19,4 @@
-
\ No newline at end of file
+
diff --git a/Blueberry-API/src/main/java/net/blueberrymc/client/gui/screens/FileDialogScreen.java b/Blueberry-API/src/main/java/net/blueberrymc/client/gui/screens/FileDialogScreen.java
index 5c2044f0..c703bc79 100644
--- a/Blueberry-API/src/main/java/net/blueberrymc/client/gui/screens/FileDialogScreen.java
+++ b/Blueberry-API/src/main/java/net/blueberrymc/client/gui/screens/FileDialogScreen.java
@@ -120,6 +120,7 @@ public FileList(@NotNull Minecraft minecraft) {
addEntry(new Entry("[ " + root + " ]", root));
}
}
+ addEntry(new Entry("./", options.getInitialDirectory()));
File parent = options.getInitialDirectory().getParentFile();
if (parent != null && FileUtil.isFileInsideBoundary(options.boundary(), parent)) {
addEntry(new Entry("../", parent));
@@ -162,8 +163,8 @@ public FileList(@NotNull Minecraft minecraft) {
}).bounds(0, 0, 20, 20).build();
cdButton.visible = false;
selectButton = Button.builder(Component.literal("✔").withStyle(ChatFormatting.GREEN), (button) -> {
- minecraft.setScreen(previousScreen);
options.runCallback(getSelected().file);
+ minecraft.setScreen(previousScreen);
}).bounds(0, 0, 20, 20).build();
selectButton.visible = false;
addRenderableWidget(cdButton);
diff --git a/Blueberry-API/src/main/java/net/blueberrymc/client/gui/screens/GenerateModScreen.java b/Blueberry-API/src/main/java/net/blueberrymc/client/gui/screens/GenerateModScreen.java
index 8d088f3e..d21eafb9 100644
--- a/Blueberry-API/src/main/java/net/blueberrymc/client/gui/screens/GenerateModScreen.java
+++ b/Blueberry-API/src/main/java/net/blueberrymc/client/gui/screens/GenerateModScreen.java
@@ -1,15 +1,36 @@
package net.blueberrymc.client.gui.screens;
import com.mojang.blaze3d.vertex.PoseStack;
+import net.blueberrymc.common.Blueberry;
import net.blueberrymc.common.resources.BlueberryText;
+import net.blueberrymc.config.ModDescriptionFile;
+import net.minecraft.ChatFormatting;
+import net.minecraft.client.gui.components.AbstractWidget;
import net.minecraft.client.gui.components.Button;
+import net.minecraft.client.gui.components.EditBox;
+import net.minecraft.client.gui.components.Tooltip;
import net.minecraft.client.gui.screens.Screen;
import net.minecraft.network.chat.CommonComponents;
+import net.minecraft.network.chat.Component;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
+import java.io.File;
+import java.util.ArrayList;
+import java.util.List;
+import java.util.Locale;
+import java.util.function.BiConsumer;
+import java.util.function.Consumer;
+import java.util.stream.Collectors;
+
public class GenerateModScreen extends BlueberryScreen {
private final Screen previousScreen;
+ private final List