-
[MC 1.21.11] Build failed because plugin is not found
I downloaded and used the official Forge MDK for 1.21.11 and my settings.gradle file looks like this: pluginManagement { repositories { gradlePluginPortal() maven { name = 'MinecraftForge' url = 'https://maven.minecraftforge.net/' } } } plugins { id 'org.gradle.toolchains.foojay-resolver-convention' version '0.10.0' }But I had a similiar issue with a Fabric template which seemed to ignore all maven repositories. I don't really work with Gradle and Maven, besides Minecraft modding, so I don't know why this is happening...
-
[MC 1.21.11] Build failed because plugin is not found
I just tried to setup the MDK for 1.21.11 because my mod which runs in 1.21.10 doesn't run in 1.21.11 because it couldn't find the ResourceLocation class. (Minecraft crashed with the error that it couldn't find that class) But after executing the command gradlew init eclipse genEclipseRuns as usual in my commandline, it fails after 1 or 2 seconds with the following error: FAILURE: Build failed with an exception. * Where: Build file 'H:\Laufwerk(E)\Laufwerk(G)\Projekte\Duck Money (Forge 1.21.11)\build.gradle' line: 5 * What went wrong: Plugin [id: 'net.minecraftforge.gradle', version: '[6.0.46,6.2)'] was not found in any of the following sources: - Gradle Core Plugins (plugin is not in 'org.gradle' namespace) - Included Builds (No included builds contain this plugin) - Plugin Repositories (could not resolve plugin artifact 'net.minecraftforge.gradle:net.minecraftforge.gradle.gradle.plugin:[6.0.46,6.2)') Searched in the following repositories: Gradle Central Plugin Repository * Try: > Run with --stacktrace option to get the stack trace. > Run with --info or --debug option to get more log output. > Run with --scan to get full insights. > Get more help at https://help.gradle.org. BUILD FAILED in 4s Does somebody know what I may miss here?
-
dagobertdu94 started following [MC 1.21.11] Build failed because plugin is not found
-
dagobertdu94 changed their profile photo
-
[MC 1.20.1][Forge 47.2.0] Crash on startup
My game is crashing with a java.lang.module.ResolutionException with an varying error message but org.slf4j, sdrp and org.slf4j.helpers are always in the error message when this exception is thrown. The target module is never the same and seems to be any mod that is present. The latest exception is java.lang.module.ResolutionException: Modules org.slf4j and sdrp export package org.slf4j.helpers to module jei. The exception isn't appearing in the log or debug log file. I have catched it while I had the Game Output feature of the minecraft launcher enabled. MC Forge is able to start if there are no mods in the mods folder. Mods: https://pastebin.com/uRVBAnqZ Log & Debug Log: https://pastebin.com/UJC8TKUp & https://pastebin.com/TqXNqjEa Full Exception: https://pastebin.com/hJsteeUi
-
Missing classes [1.16.3]
This isn't working for me, and some of them won't be recognized by gradle/gradlew. The 2 imports are still (or again) missing...
-
Missing classes [1.16.3]
The problem was gone for a while and I don't how, but it is present again. My big problem with Gradle is that it seems to delete the imported jars for all other gradle projects if I refresh the imports for a gradle project. I don't know if it is normal but I know that it is happening to me. And I think that is the most problem why I have such problems mostly... I could try this, in the hope it will work...
-
Missing classes [1.16.3]
If I do that, I get this message from Eclipse: The import net.minecraftforge.eventbus.api.IEventBus cannot be resolved
-
Missing classes [1.16.3]
I refreshed my project multiple times, I restarted Eclipse multiple times and even my computer. The classes are still missing...
-
Missing classes [1.16.3]
SubscribeEvent cannot be imported because Eclipse cannot find it. And for IEventBus I get this message: The type net.minecraftforge.eventbus.api.IEventBus cannot be resolved. It is indirectly referenced from required .class files The other classes that I need for my mod are all present and I am able to import them, except the both above...
-
Missing classes [1.16.3]
I have create multiple projects with the Forge MDK for 1.16.3 and in every project the same classes are missing. I made the same as usual to initialize the MDK as mentioned in the Forge Wiki or how it is called...
-
Missing classes [1.16.3]
I wanted to update a little mod that I made. In 1.16.2 all classes are present, but in 1.16.3 seems that some classes are missing, like the most part of the event bus. Could it be a mistake by me that classes like IEventBus and SubscribeEvent aren't present? Or is the MDK incomplete? I would like to get an answer so I can update my mod, thanks!
-
[1.15.2] How to detect server connection at client?
Thanks, but now I need to resolve some problems with my external lib.
-
Bypassing JSON for texture registering
In the meanwhile I am updating my mods to the latest version, too. But I have problems with some things, like the ore gen or some events. I just can't find some important things I used earlier. Sometimes the old versions are better because I don't have to call multiple methods to do something which is in as example 1.12 only requiring a single method call. And I used the GameRegistry to register all of my recipes, which I can't use anymore since the method got removed. And of course without JSON I coudn't make my item models because I never understand to do that in Model classes.
-
[1.15.2] How to detect server connection at client?
In earlier versions I could detect a server connection on client with the ClientConnectionToServerEvent, but I can't find it anymore. Is there any replacement I can use to detect a server connection and disconnection on client? Thanks for any help!
-
java.lang.IllegalStateException: TickNextTick list out of synch
I have the feeling that you are running 1.12.2 and that a moderator will close this topic. It's just a feeling...
-
Detect Lightning Bolt impact with block
I am programming a block which should use the energy of a lightning bolt, but I am unable to detect such impacts. All entity detection methods from Block class aren't able to detect them, but I can detect every other kind of Entity. Is there any possibility for that? Thanks for answers!
IPS spam blocked by CleanTalk.