NeoForge 1.21

- Added new method to get Modloader/Platform name in common classes
This commit is contained in:
Martin Prokoph
2024-06-17 15:17:07 +02:00
parent 86a665c41a
commit dfb53f391d
9 changed files with 21 additions and 73 deletions

View File

@@ -10,6 +10,9 @@ import net.minecraft.server.command.ServerCommandSource;
import java.nio.file.Path;
public class PlatformFunctionsImpl {
public static String getPlatformName() {
return "fabric";
}
/**
* This is our actual method to {@link PlatformFunctions#getConfigDirectory()}.
*/