Jump to content

Recommended Posts

Posted

 

kitsu@kitsu-windows MINGW64 ~/Development/nmd_projects/ForgeCraft (master)

$ ls

build/          eclipse/                                ForgeCraft.ipr  gradlew*        MinecraftForge-Credits.txt                  photos/    run/

build.gradle    forge-1.10.2-12.18.2.2151-changelog.txt  ForgeCraft.iws  gradlew.bat      Paulscode IBXM Library License.txt          README.md  src/

CREDITS-fml.txt  ForgeCraft.iml                          gradle/        LICENSE-new.txt  Paulscode SoundSystem CodecIBXM License.txt  README.txt

 

kitsu@kitsu-windows MINGW64 ~/Development/nmd_projects/ForgeCraft (master)

$ java -version

java version "1.8.0_111"

Java SE Runtime Environment (build 1.8.0_111-b14)

Java HotSpot 64-Bit Server VM (build 25.111-b14, mixed mode)

 

kitsu@kitsu-windows MINGW64 ~/Development/nmd_projects/ForgeCraft (master)

$ ./gradlew build

#################################################

        ForgeGradle 2.2-SNAPSHOT-c438b06

  https://github.com/MinecraftForge/ForgeGradle

#################################################

              Powered by MCP unknown

            http://modcoderpack.com

        by: Searge, ProfMobius, Fesh0r,

        R4wk, ZeuX, IngisKahn, bspkrs

#################################################

:deobfCompileDummyTask

:deobfProvidedDummyTask

:sourceApiJava UP-TO-DATE

:compileApiJava UP-TO-DATE

:processApiResources UP-TO-DATE

:apiClasses UP-TO-DATE

:sourceMainJava UP-TO-DATE

:compileJavawarning: [options] bootstrap class path not set in conjunction with -source 1.6

C:\Users\kitsu\Development\nmd_projects\ForgeCraft\build\sources\main\java\nmd\primal\forgecraft\tiles\TileFirebox.java:3: warning: Bool is internal proprietary API and may be removed in a future release

import com.sun.org.apache.xpath.internal.operations.Bool;

                                                  ^

Note: C:\Users\kitsu\Development\nmd_projects\ForgeCraft\build\sources\main\java\nmd\primal\forgecraft\blocks\Firebox.java uses or overrides a deprecated API.

Note: Recompile with -Xlint:deprecation for details.

2 warnings

 

:processResources UP-TO-DATE

:classes

:jar UP-TO-DATE

:sourceTestJava UP-TO-DATE

:compileTestJava UP-TO-DATE

:processTestResources UP-TO-DATE

:testClasses UP-TO-DATE

:test UP-TO-DATE

:extractMcpData SKIPPED

:extractMcpMappings SKIPPED

:getVersionJson

:extractUserdev UP-TO-DATE

:genSrgs SKIPPED

:reobfJar FAILED

 

FAILURE: Build failed with an exception.

 

* What went wrong:

Execution failed for task ':reobfJar'.

> java.util.zip.ZipException: duplicate entry: assets/forgecraft/blockstates/firebox.json

 

* Try:

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

 

BUILD FAILED

 

Total time: 7.474 secs

 

 

 

Posted

What is ForgeCraft? It obviously has an internal error. Either rewrite your mod without ForgeCraft, or write to the ForgeCraft authors to repair their API.

 

I suspect that nobody here can help you, because the problem is not in Forge itself.

The debugger is a powerful and necessary tool in any IDE, so learn how to use it. You'll be able to tell us more and get better help here if you investigate your runtime problems in the debugger before posting.

Posted

I tested this from my Mac as well just to make sure it's not a windows thing.

 

The error is appearing during reobfJar.

 

When I run ./gradlew build -x reobfJar I can get a build but then I get two jar files

mminaie:libs mminaie$ ls
modid-1.0-sources.jar	modid-1.0.jar

Posted

The jar-file with sources is a decompiled version; It is there for easier developement reasons. The sources version is what should be used for addons, or even given out to other modders who want to use your mod as a dependency.

 

Look in your gradle file. There should be a comment telling you how to disable this feature, if you do not want it.

Also previously known as eAndPi.

"Pi, is there a station coming up where we can board your train of thought?" -Kronnn

Published Mods: Underworld

Handy links: Vic_'s Forge events Own WIP Tutorials.

Posted

No, this is definitely not working.

 

- When i do ./gradlew build i get the duplicate entry error

- When i do ./gradlew build -x reobfJar and add the mod to a test minecraft launcher i get this error

 

Caused by: java.lang.NoSuchMethodError: net.minecraft.block.properties.PropertyDirection.create(Ljava/lang/String;Lcom/google/common/base/Predicate;)Lnet/minecraft/block/properties/PropertyDirection;

 

And btw, the above classes that the error is referencing is definitely there

 

You can view the source code here:

https://bitbucket.org/kitsushadow/forgecraft/src/46874e6d0dd62273dfee1263ce87cc0ecbbfca1b/1.10.2/?at=master

Posted

When i unpack a super fresh instance of Forge and run  ./gradlew setupDecompWorkspace then copy the src directory over then ./gradlew build i get a succesful build but then block texture for when the block is an item does not load but when the Block is placed everything is right.

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.