Jump to content

WantaSanchez

Members
  • Posts

    11
  • Joined

  • Last visited

Everything posted by WantaSanchez

  1. I'm use Java 10, if I change to Java 8, is work! But, Forge\Forge Gradlew can't use java 9+?
  2. For examle, I have a custom food, also, how add this to minecraft:balanced_diet?
  3. Hi, everyone. I can't setup forge mdk, how to I can fix this? Console output witch --info: Initialized native services in: C:\Users\WantaSanchez\.gradle\native To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: https://docs.gradle.org/4.9/userguide/gradle_daemon.html. Starting process 'Gradle build daemon'. Working directory: C:\Users\WantaSanchez\.gradle\daemon\4.9 Command: C:\Program Files\Java\jdk-10.0.2\bin\java.exe -Xms4G -Xmx4G -Dfile.encoding=windows-1251 -Duser.country=RU -Duser.language=ru -Duser.variant -cp C:\Users\WantaSanchez\.gradle\wrapper\dists\gradle-4.9-bin\e9cinqnqvph59rr7g70qubb4t\gradle-4.9\lib\gradle-launcher-4.9.jar org.gradle.launcher.daemon.bootstrap.GradleDaemon 4.9 Successfully started process 'Gradle build daemon' An attempt to start the daemon took 2.18 secs. The client will now receive all logging from the daemon (pid: 7144). The daemon log file: C:\Users\WantaSanchez\.gradle\daemon\4.9\daemon-7144.out.log Daemon will be stopped at the end of the build stopping after processing Using 4 worker leases. Starting Build Settings evaluated using settings file 'C:\Users\WantaSanchez\Documents\Mod Name\settings.gradle'. Projects loaded. Root project using build file 'C:\Users\WantaSanchez\Documents\Mod Name\build.gradle'. Included projects: [root project 'Mod Name'] > Configure project : Evaluating root project 'Mod Name' using build file 'C:\Users\WantaSanchez\Documents\Mod Name\build.gradle'. New Dep: net.minecraftforge:forge:1.14.4-28.1.0 All projects evaluated. Selected primary task 'build' from project : Tasks to be executed: [task ':compileJava', task ':processResources', task ':classes', task ':jar', task ':downloadMcpConfig', task ':extractSrg', task ':createMcpToSrg', task ':reobfJar', task ':assemble', task ':compileTestJava', task ':processTestResources', task ':testClasses', task ':test', task ':check', task ':build'] :compileJava (Thread[Daemon worker,5,main]) started. > Task :compileJava UP-TO-DATE Skipping task ':compileJava' as it is up-to-date. :compileJava (Thread[Daemon worker,5,main]) completed. Took 0.238 secs. :processResources (Thread[Daemon worker,5,main]) started. > Task :processResources UP-TO-DATE Skipping task ':processResources' as it is up-to-date. :processResources (Thread[Daemon worker,5,main]) completed. Took 0.016 secs. :classes (Thread[Daemon worker,5,main]) started. > Task :classes UP-TO-DATE Skipping task ':classes' as it has no actions. :classes (Thread[Daemon worker,5,main]) completed. Took 0.0 secs. :jar (Thread[Daemon worker,5,main]) started. > Task :jar Task ':jar' is not up-to-date because: Input property 'rootSpec$2$1' file C:\Users\WantaSanchez\Documents\Mod Name\build\tmp\jar\MANIFEST.MF has changed. :jar (Thread[Daemon worker,5,main]) completed. Took 0.085 secs. :downloadMcpConfig (Thread[Daemon worker,5,main]) started. > Task :downloadMcpConfig Task ':downloadMcpConfig' is not up-to-date because: Task.upToDateWhen is false. :downloadMcpConfig (Thread[Daemon worker,5,main]) completed. Took 0.029 secs. :extractSrg (Thread[Daemon worker,5,main]) started. > Task :extractSrg UP-TO-DATE Skipping task ':extractSrg' as it is up-to-date. :extractSrg (Thread[Daemon worker,5,main]) completed. Took 0.002 secs. :createMcpToSrg (Thread[Daemon worker,5,main]) started. > Task :createMcpToSrg FAILED :createMcpToSrg (Thread[Daemon worker,5,main]) completed. Took 0.004 secs. FAILURE: Build failed with an exception. * What went wrong: A problem was found with the configuration of task ':createMcpToSrg'. > No value has been specified for property 'mappings'. * Try: Run with --stacktrace option to get the stack trace. Run with --debug option to get more log output. Run with --scan to get full insights. * Get more help at https://help.gradle.org Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0. Use '--warning-mode all' to show the individual deprecation warnings. See https://docs.gradle.org/4.9/userguide/command_line_interface.html#sec:command_line_warnings BUILD FAILED in 10s 6 actionable tasks: 3 executed, 3 up-to-date Для продолжения нажмите любую клавишу . . . To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: https://docs.gradle.org/4.9/userguide/gradle_daemon.html.
  4. Hi anyone! I use MDK for 1.14.4 and I can't use old method of changing jvm argumets, for example: runClient { args = ["--username=WantaSanchez"] jvmArgs "-Xms4G", "-Xmx4G", "-XX:+UnlockExperimentalVMOptions", "-XX:+UseG1GC", "-XX:G1NewSizePercent=20", "-XX:G1ReservePercent=20", "-XX:MaxGCPauseMillis=50", "-XX:G1HeapRegionSize=32M" } Now, in new Forge Gradle isn't working. So what I can use?
  5. UP: I fix it, but I have new error: [13:42:27] [Server thread/ERROR] [minecraft/AdvancementManager]: Parsing error loading custom advancement fleshprocessing:recipes/misc/rags: Unknown item tag 'minecraft:rotten_flesh' [13:42:27] [Server thread/ERROR] [minecraft/AdvancementManager]: Parsing error loading custom advancement fleshprocessing:recipes/misc/leather: Unknown item tag 'fleshprocessing:rags' I only trying 1.14.4 modding, what is Tags? How to I can add tag for my items or blocks?
  6. The recipes themselves work, but their output does not work under conditions, although the code seems to be correct. { "parent": "fleshprocessing:recipes/root", "rewards": { "recipes": [ "fleshprocessing:rags" ] }, "criteria": { "has_rotten_flesh": { "trigger": "minecraft:inventory_changed", "conditions": { "items": [ { "tag": "minecraft:rotten_flesh" } ] } }, "has_the_recipe": { "trigger": "minecraft:recipe_unlocked", "conditions": { "recipe": "fleshprocessing:rags" } } }, "requirements": [ [ "has_rotten_flesh", "has_the_recipe" ] ] }
  7. 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"
  8. Hello! How to check for the presence of a lava block next to the block generation?
×
×
  • Create New...

Important Information

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