Jump to content

[1.14.4] Mod Copy Error


WantaSanchez

Recommended Posts

Hello to all! I'm just starting to try version 1.14.4 and I have one problem. When you try to start any configuration, an error appears in the console. As I read, it may be associated with a copy of the mod, but there are no copies. How do I fix this?

 

2019-11-20 02:06:59,519 main WARN Advanced terminal features are not available in this environment
[02:06:59] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher running: args [--gameDir, ., --launchTarget, fmluserdevclient, --fml.mcpVersion, 20190829.143755, --fml.mcVersion, 1.14.4, --fml.forgeGroup, net.minecraftforge, --fml.forgeVersion, 28.1.0, --version, MOD_DEV, --assetIndex, 1.14, --assetsDir, C:\Users\WantaSanchez\.gradle\caches\forge_gradle\assets, --username, Dev, --accessToken, ????????, --userProperties, {}]
[02:06:59] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher 3.2.0+60+b86c1d4 starting: java version 1.8.0_231 by Oracle Corporation
[02:07:00] [main/INFO] [ne.mi.fm.lo.FixSSL/CORE]: Added Lets Encrypt root certificates as additional trust
Exception in thread "main" [02:07:01] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]: java.lang.IllegalStateException: Duplicate key net.minecraftforge.fml.loading.moddiscovery.ModFileInfo@4b8729ff
[02:07:01] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]: 	at java.util.stream.Collectors.lambda$throwingMerger$0(Unknown Source)
[02:07:01] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]: 	at java.util.HashMap.merge(Unknown Source)
[02:07:01] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]: 	at java.util.stream.Collectors.lambda$toMap$58(Unknown Source)
[02:07:01] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]: 	at java.util.stream.ReduceOps$3ReducingSink.accept(Unknown Source)
[02:07:01] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]: 	at java.util.stream.ReferencePipeline$3$1.accept(Unknown Source)
[02:07:01] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]: 	at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(Unknown Source)
[02:07:01] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]: 	at java.util.stream.ReferencePipeline$Head.forEach(Unknown Source)
[02:07:01] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]: 	at java.util.stream.ReferencePipeline$7$1.accept(Unknown Source)
[02:07:01] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]: 	at java.util.stream.ReferencePipeline$3$1.accept(Unknown Source)
[02:07:01] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]: 	at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(Unknown Source)
[02:07:01] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]: 	at java.util.stream.AbstractPipeline.copyInto(Unknown Source)
[02:07:01] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]: 	at java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
[02:07:01] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]: 	at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(Unknown Source)
[02:07:01] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]: 	at java.util.stream.AbstractPipeline.evaluate(Unknown Source)
[02:07:01] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]: 	at java.util.stream.ReferencePipeline.collect(Unknown Source)
[02:07:01] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]: 	at net.minecraftforge.fml.loading.LoadingModList.<init>(LoadingModList.java:60)
[02:07:01] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]: 	at net.minecraftforge.fml.loading.LoadingModList.of(LoadingModList.java:66)
[02:07:01] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]: 	at net.minecraftforge.fml.loading.ModSorter.sort(ModSorter.java:77)
[02:07:01] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]: 	at net.minecraftforge.fml.loading.moddiscovery.ModDiscoverer.discoverMods(ModDiscoverer.java:105)
[02:07:01] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]: 	at net.minecraftforge.fml.loading.FMLLoader.beginModScan(FMLLoader.java:202)
[02:07:01] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]: 	at net.minecraftforge.fml.loading.FMLServiceProvider.beginScanning(FMLServiceProvider.java:90)
[02:07:01] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]: 	at cpw.mods.modlauncher.TransformationServiceDecorator.runScan(TransformationServiceDecorator.java:110)
[02:07:01] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]: 	at cpw.mods.modlauncher.TransformationServicesHandler.lambda$runScanningTransformationServices$8(TransformationServicesHandler.java:112)
[02:07:01] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]: 	at java.util.HashMap$Values.forEach(Unknown Source)
[02:07:01] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]: 	at cpw.mods.modlauncher.TransformationServicesHandler.runScanningTransformationServices(TransformationServicesHandler.java:112)
[02:07:01] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]: 	at cpw.mods.modlauncher.TransformationServicesHandler.initializeTransformationServices(TransformationServicesHandler.java:63)
[02:07:01] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]: 	at cpw.mods.modlauncher.Launcher.run(Launcher.java:75)
[02:07:01] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]: 	at cpw.mods.modlauncher.Launcher.main(Launcher.java:65)
[02:07:01] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]: 	at net.minecraftforge.userdev.LaunchTesting.main(LaunchTesting.java:101)

 

Is my build.gradle:

buildscript {

    repositories {
	
        maven { url = 'https://files.minecraftforge.net/maven' }
        jcenter()
        mavenCentral()
		
    }
	
    dependencies {
	
        classpath group: 'net.minecraftforge.gradle', name: 'ForgeGradle', version: '3.+', changing: true
		
    }
	
}

apply plugin: 'net.minecraftforge.gradle'
apply plugin: 'eclipse'
apply plugin: 'maven-publish'

version = '1.14.4-1.0.1'
group = 'ua.wantasanchez.fleshprocessing'
archivesBaseName = 'fleshprocessing'

sourceCompatibility = targetCompatibility = compileJava.sourceCompatibility = compileJava.targetCompatibility = '1.8'

minecraft {

    mappings channel: 'snapshot', version: '20190719-1.14.3'
	
    runs {
	
        client {
		
            workingDirectory project.file('run')
            property 'forge.logging.markers', 'SCAN,REGISTRIES,REGISTRYDUMP'
            property 'forge.logging.console.level', 'debug'

            mods {
			
                fleshprocessing {
				
                    source sourceSets.main
					
                }
				
            }
			
        }

        server {
		
            workingDirectory project.file('run')
            property 'forge.logging.markers', 'SCAN,REGISTRIES,REGISTRYDUMP'
            property 'forge.logging.console.level', 'debug'

            mods {
			
                fleshprocessing {
				
                    source sourceSets.main
					
                }
				
            }
			
        }

        data {
        
            workingDirectory project.file('run')
            property 'forge.logging.markers', 'SCAN,REGISTRIES,REGISTRYDUMP'
            property 'forge.logging.console.level', 'debug'
            args '--mod', 'fleshprocessing', '--all', '--output', file('src/generated/resources/')

            mods {
			
                fleshprocessing {
				
                    source sourceSets.main
					
                }
				
            }
			
        }
		
    }
	
}

dependencies {

    minecraft 'net.minecraftforge:forge:1.14.4-28.1.0'

}

jar {

    manifest {
	
        attributes([
		
            "Specification-Title": "fleshprocessing",
            "Specification-Vendor": "wantasanchez",
            "Specification-Version": "1",
            "Implementation-Title": project.name,
            "Implementation-Version": "${version}",
            "Implementation-Vendor" :"WantaSanchez",
            "Implementation-Timestamp": new Date().format("yyyy-MM-dd'T'HH:mm:ssZ")
			
        ])
		
    }
	
}

def reobfFile = file("$buildDir/reobfJar/output.jar")

def reobfArtifact = artifacts.add('default', reobfFile) {

    type 'jar'
    builtBy 'reobfJar'
	
}

publishing {

    publications {
	
        mavenJava(MavenPublication) {
		
            artifact reobfArtifact
			
        }
		
    }
	
    repositories {
	
        maven {
		
            url "file:///${project.projectDir}/mcmodsrepo"
			
        }
		
    }
	
}

task sourcesJar(type: Jar, dependsOn: classes) {

	classifier = 'sources'
	from sourceSets.main.allSource
	
}

build.dependsOn sourcesJar

artifacts {

	archives sourcesJar
	
}

processResources {

	inputs.property 'version', project.version
	
	from(sourceSets.main.resources.srcDirs) {
	
		include 'META-INF/mods.toml'
		expand 'version':project.version
		
	}

	from(sourceSets.main.resources.srcDirs) {
	
		exclude 'META-INF/mods.toml'
		
	}
	
}

 

Is my mods.toml:

modLoader="javafml"
loaderVersion="[28,)"
[[mods]]
modId="fleshprocessing"
version="${version}"
displayName="Flesh Processing"
updateJSONURL="https://raw.githubusercontent.com/WantaSanchez/FleshProcessing/master/versions.json"
displayURL="https://www.curseforge.com/minecraft/mc-mods/fleshprocessing"
credits="Thank's Cadiboo's tutorials and mcmodding forum"
authors="WantaSanchez"
description='''
Make leather grom rotten flesh and more!
'''
[[dependencies.fleshprocessing]]
    modId="forge"
    mandatory=true
    versionRange="[28,)"
    ordering="NONE"
    side="BOTH"
[[dependencies.fleshprocessing]]
    modId="minecraft"
    mandatory=true
    versionRange="[1.14.4]"
    ordering="NONE"
    side="BOTH"

 

Link to comment
Share on other sites

  • 4 weeks later...
  • 4 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.