Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Error installer forge


Recommended Posts

FAILURE: Build failed with an exception.

* What went wrong:
Could not resolve all dependencies for configuration ':minecraftNatives'.
> Could not resolve org.lwjgl.lwjgl:lwjgl-platform:2.9.1.
  Required by:
      com.yourname.modid:forge:1.0
   > Could not HEAD 'http://repo1.maven.org/maven2/org/lwjgl/lwjgl/lwjgl-platform/2.9.1/lwjgl-platform-2.9.1.pom'. Received status code 501 from server: HTTPS Required
   > Could not parse POM https://libraries.minecraft.net/org/lwjgl/lwjgl/lwjgl-platform/2.9.1/lwjgl-platform-2.9.1.pom
      > Could not resolve org.lwjgl.lwjgl:parent:2.9.1.
         > Could not GET 'http://repo1.maven.org/maven2/org/lwjgl/lwjgl/parent/2.9.1/parent-2.9.1.pom'. Received status code 501 from server: HTTPS Required

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

 

 

 

my build.gradle: 

 

buildscript {
    repositories {
        maven {url =  "https://repo1.maven.org/maven2"}
        maven {
            name = "forge"
            url = "http://files.minecraftforge.net/maven"
        }
        maven {
            name = "sonatype"
            url = "https://oss.sonatype.org/content/repositories/snapshots/"
        }
    }
    dependencies {
        classpath 'net.minecraftforge.gradle:ForgeGradle:1.2-SNAPSHOT'
    }
}

apply plugin: 'forge'

version = "1.0"
group= "com.yourname.modid" // http://maven.apache.org/guides/mini/guide-naming-conventions.html
archivesBaseName = "modid"

minecraft {
    version = "1.7.10-10.13.4.1558-1.7.10"
    runDir = "eclipse"
}

dependencies {
    // you may put jars on which you depend on in ./libs
    // or you may define them like so..
    //compile "some.group:artifact:version:classifier"
    //compile "some.group:artifact:version"
      
    // real examples
    //compile 'com.mod-buildcraft:buildcraft:6.0.8:dev'  // adds buildcraft to the dev env
    //compile 'com.googlecode.efficient-java-matrix-library:ejml:0.24' // adds ejml to the dev env

    // for more info...
    // http://www.gradle.org/docs/current/userguide/artifact_dependencies_tutorial.html
    // http://www.gradle.org/docs/current/userguide/dependency_management.html

}

processResources
{
    // this will ensure that this task is redone when the versions change.
    inputs.property "version", project.version
    inputs.property "mcversion", project.minecraft.version

    // replace stuff in mcmod.info, nothing else
    from(sourceSets.main.resources.srcDirs) {
        include 'mcmod.info'
                
        // replace version and mcversion
        expand 'version':project.version, 'mcversion':project.minecraft.version
    }
        
    // copy everything else, thats not the mcmod.info
    from(sourceSets.main.resources.srcDirs) {
        exclude 'mcmod.info'
    }
}
 

Link to post
Share on other sites
Guest
This topic is now closed to further replies.


  • Recently Browsing

    No registered users viewing this page.

  • Posts

    • minecraft forge 1.12.2 keeps crashing when loading a new or already played on world. It keeps blaming it on MiniDumps after I fixed it. Im using tlauncher 6gb ram for the game and 47 mods (mcp and other forge thing included) it gives me a error log and crash log but the logger doesn`t give any crash informatiopn.
    • it means that the event fires on the server, not on the client... here's a resource to understand what the server and client are (and how single player also has this client/server distinction): https://forge.gemwire.uk/wiki/Sides
    • the 3 first no, not really. but you should fix them the last 2 should point you torwards the general direction of how to solve your problem   but here is the thing when using RegistryObjects: you can call .get() on static initialization (so since your items are statically initialized, you can't call any RegistryObject#get() in their definition). that's because at static initialization, the RegistryObjects haven't been populated yet, you need to wait until setup to be able to call .get() so the way to work around this, is to just pass the RegistryObject itself (or any other supplier, the RegistryObject is just a fancy supplier). so then the entity won't try to be unpacked when it doesn't exist yet (i.e.: static initialization), and you unpack the Entity registry object whenever you actually need it.   Also, if you look at the vanilla spawn egg, you won't see this that I'm talking about, because vanilla doesn't use RegistryObjects
    • ---- Minecraft Crash Report ---- WARNING: coremods are present:   AutoCorrectTweaker (Autocorrect-1.1 (1.8.9).jar)   LoadingPlugin (ReplayMod.jar)   TNTTimerTweaker (TNT Time-1.0 (1.8.9).jar)   FMLLoadingPlugin (MemoryFix.jar)   FMLLoadingPlugin (Motion Blur-2.0 (1.8.9).jar)   PatcherTweaker (Patcher-1.5.1 (1.8.9).jar)   FMLLoadingPlugin (Keystrokes-8.0.2 (1.8.9).jar)   ModTweaker (Patcher-1.5.1 (1.8.9).jar) Contact their authors BEFORE contacting forge // Why did you do that? Time: 6/15/21 9:16 AM Description: Unexpected error java.lang.NullPointerException: Unexpected error     at me.semx11.autotip.event.impl.EventClientTick.onClientTick(EventClientTick.java:23)     at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_59_EventClientTick_onClientTick_ClientTickEvent.invoke(.dynamic)     at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:49)     at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:140)     at net.minecraftforge.fml.common.FMLCommonHandler.onPostClientTick(FMLCommonHandler.java:336)     at net.minecraft.client.Minecraft.func_71407_l(Minecraft.java:2151)     at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:1024)     at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:349)     at net.minecraft.client.main.Main.main(SourceFile:124)     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)     at java.lang.reflect.Method.invoke(Method.java:497)     at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)     at net.minecraft.launchwrapper.Launch.main(Launch.java:28) A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- System Details -- Details:     Minecraft Version: 1.8.9     Operating System: Windows 8.1 (amd64) version 6.3     CPU: 4x Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz     Java Version: 1.8.0_51, Oracle Corporation     Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation     Memory: 909806976 bytes (867 MB) / 1543503872 bytes (1472 MB) up to 4160749568 bytes (3968 MB)     JVM Flags: 8 total; -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M -Xmx3945m -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump     IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0     FML: MCP 9.19 Powered by Forge 11.15.1.2318 Optifine OptiFine_1.8.9_HD_U_I7 32 mods loaded, 32 mods active     States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored     UCHIJA    mcp{9.19} [Minecraft Coder Pack] (minecraft.jar)      UCHIJA    FML{8.0.99.99} [Forge Mod Loader] (forge-1.8.9-11.15.1.2318-1.8.9.jar)      UCHIJA    Forge{11.15.1.2318} [Minecraft Forge] (forge-1.8.9-11.15.1.2318-1.8.9.jar)      UCHIJA    nick_hider{3.1} [Nick Hider] (NickHider.jar)      UCHIJA    replaymod-compat{1.8.9-2.0.1} [Replay Mod - Compatibility] (ReplayMod.jar)      UCHIJA    replaymod-replay{1.8.9-2.0.1} [Replay Mod - Replay] (ReplayMod.jar)      UCHIJA    replaymod{1.8.9-2.0.1} [Replay Mod] (ReplayMod.jar)      UCHIJA    replaymod-render{1.8.9-2.0.1} [Replay Mod - Render] (ReplayMod.jar)      UCHIJA    replaymod-editor{1.8.9-2.0.1} [Replay Mod - Replay Editor] (ReplayMod.jar)      UCHIJA    replaymod-extras{1.8.9-2.0.1} [Replay Mod - Extras] (ReplayMod.jar)      UCHIJA    replaymod-online{1.8.9-2.0.1} [Replay Mod - Online] (ReplayMod.jar)      UCHIJA    replaymod-recording{1.8.9-2.0.1} [Replay Mod - Recording] (ReplayMod.jar)      UCHIJA    replaymod-simplepathing{1.8.9-2.0.1} [Replay Mod - Simple Pathing] (ReplayMod.jar)      UCHIJA    modcore{0.1.47} [ModCore] (Sk1er Modcore-0.1.47 (1.8.9).jar)      UCHIJA    autocorrect{1.1} [AutoCorrect] (Autocorrect-1.1 (1.8.9).jar)      UCHIJA    autogg{2.0.4} [Auto GG] (AutoGG.jar)      UCHIJA    autotip{3.0} [Autotip] (Autotip.jar)      UCHIJA    by{0.1} [com.behindyou.mod.BehindYou! Mod] (BehindYou.jar)      UCHIJA    blockoverlay{3.0} [Block Overlay] (BlockOverlay.jar)      UCHIJA    keystrokesmod{8.0.2} [KeystrokesMod] (Keystrokes-8.0.2 (1.8.9).jar)      UCHIJA    memoryfix{0.3} [MemoryFix] (MemoryFix.jar)      UCHIJA    motionblurmod{2.0} [Motion Blur] (Motion Blur-2.0 (1.8.9).jar)      UCHIJA    namehistory{1.1} [Player Name History Checker] (NameHistory.jar)      UCHIJA    animations{6.7} [Orange's 1.7 Animations] (Orange_s1.7Animations.jar)      UCHIJA    orangesimplemod{1.0} [orangesimplemod] (Orange_sSimpleMods.jar)      UCHIJA    Particle_Mod{6.9} [Particle_Mod] (ParticleMod.jar)      UCHIJA    patcher{1.5.1} [Patcher] (Patcher-1.5.1 (1.8.9).jar)      UCHIJA    simpleafk{1.0} [Simple AFK] (SimpleAfk.jar)      UCHIJA    tnttime{1.0} [TNT Time] (TNT Time-1.0 (1.8.9).jar)      UCHIJA    publictogglechat{2.1.0} [§6Hypixel §7-§a ToggleChat] (ToggleChat.jar)      UCHIJA    enhancements{7.7} [Vanilla Enhancements] (VanillaEnhancements.jar)      UCHIJA    fw{1.3.0} [Fullscreen Windowed] (WindowedFullscreen.jar)      Loaded coremods (and transformers):  AutoCorrectTweaker (Autocorrect-1.1 (1.8.9).jar)   club.sk1er.autocorrect.tweaker.ClassTransformer LoadingPlugin (ReplayMod.jar)    TNTTimerTweaker (TNT Time-1.0 (1.8.9).jar)   club.sk1er.mods.tnttimer.tweaker.ClassTransformer FMLLoadingPlugin (MemoryFix.jar)   io.prplz.memoryfix.ClassTransformer FMLLoadingPlugin (Motion Blur-2.0 (1.8.9).jar)
    • These things you've said interferes in the problem?
  • Topics

  • Who's Online (See full list)

×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.