error in visual studio code while making a mod with fabric
ItsTigre opened this issue ยท 1 comments
so i was following a video on how to make a mod with VS code and now i have 2 errors while trying to run and debug
first one is this
The supplied phased action failed with an exception.
A problem occurred configuring root project 'Weapons'.
Failed to provide net.fabricmc:yarn:1.18.1+build.1 : java.lang.RuntimeException: Failed to remap minecraft
Failed to remap minecraft
Failed to remap JAR C:\Users\raul_.gradle\caches\fabric-loom\1.18.1\minecraft-merged.jar with mappings from C:\Users\raul_.gradle\caches\fabric-loom\1.18.1\net.fabricmc.yarn.1_18_1.1.18.1+build.1-v2\mappings.tiny
C:\Users\raul_.gradle\caches\fabric-loom\1.18.1\net.fabricmc.yarn.1_18_1.1.18.1+build.1-v2\minecraft-intermediary.jar
it also says this when i just copy instead of copy text
[{
"resource": "/C:/Users/raul_/Desktop/Weapons/",
"owner": "generated_diagnostic_collection_name#3",
"code": "0",
"severity": 8,
"message": "The supplied phased action failed with an exception.\r\nA problem occurred configuring root project 'Weapons'.\r\nFailed to provide net.fabricmc:yarn:1.18.1+build.1 : java.lang.RuntimeException: Failed to remap minecraft\r\nFailed to remap minecraft\r\nFailed to remap JAR C:\Users\raul_\.gradle\caches\fabric-loom\1.18.1\minecraft-merged.jar with mappings from C:\Users\raul_\.gradle\caches\fabric-loom\1.18.1\net.fabricmc.yarn.1_18_1.1.18.1+build.1-v2\mappings.tiny\r\nC:\Users\raul_\.gradle\caches\fabric-loom\1.18.1\net.fabricmc.yarn.1_18_1.1.18.1+build.1-v2\minecraft-intermediary.jar",
"source": "Java",
"startLineNumber": 1,
"startColumn": 1,
"endLineNumber": 1,
"endColumn": 1
}]
second problom is somthing with java
The supplied phased action failed with an exception.
A problem occurred configuring root project 'Weapons'.
Build file 'C:\Users\raul_\Desktop\Weapons\build.gradle' line: 2
An exception occurred applying plugin request [id: 'fabric-loom', version: '0.10-SNAPSHOT']
Failed to apply plugin 'fabric-loom'.
You are using an outdated version of Java (11). Java 16 or higher is required.
here also seconfd thing
[{
"resource": "/C:/Users/raul_/Desktop/Weapons/build.gradle",
"owner": "generated_diagnostic_collection_name#3",
"code": "0",
"severity": 8,
"message": "The supplied phased action failed with an exception.\r\nA problem occurred configuring root project 'Weapons'.\r\nBuild file 'C:\Users\raul_\Desktop\Weapons\build.gradle' line: 2\r\nAn exception occurred applying plugin request [id: 'fabric-loom', version: '0.10-SNAPSHOT']\r\nFailed to apply plugin 'fabric-loom'.\r\nYou are using an outdated version of Java (11). Java 16 or higher is required.",
"source": "Java",
"startLineNumber": 2,
"startColumn": 1,
"endLineNumber": 2,
"endColumn": 1
}]
but with the java problem i dont know what i can do anymore i installed the newes set it as home put in the setting and it still gives that error
and here is the video i followed; https://www.youtube.com/watch?v=_JZ7bnk3oiM