Sorry for keeping you waiting. It might be because of your mod ID. Make sure the folder path is correct, such as src/main/resources/assets/yourmodid/textures etc. If the folder with your mod ID's name has uppercase letters, lowercase them. Make sure your MODID variable in Reference is also lowercase.
Double checked and all of those things are correct. This seems like a really weird problem. Isn't one of the main reasons for Forge API to avoid conflicting item ID's? Yet that seems to be the problem, conflicting ID's...
EDIT: I fixed it! The problem was, in my ClientProxy class I was calling the RegisterBlocks method again, which I guess confused the game and tried to register the same item/block twice. Now I'm just having trouble with the block texture showing up...xD
Double checked and all of those things are correct. This seems like a really weird problem. Isn't one of the main reasons for Forge API to avoid conflicting item ID's? Yet that seems to be the problem, conflicting ID's...
EDIT: I fixed it! The problem was, in my ClientProxy class I was calling the RegisterBlocks method again, which I guess confused the game and tried to register the same item/block twice. Now I'm just having trouble with the block texture showing up...xD
Hello I'm having an issue with the installing minecraft forge step. When I type in the gradlew setupDecompWorkspace eclipse it went for about a minute then said Build Failed. I tried it again and the only difference was it only took 5 seconds to tell me it failed. I tried doing the gradlew setupDeompWorkspace then doing gradlew eclipse but it didn't work. Thanks and please help.
Hello I'm having an issue with the installing minecraft forge step. When I type in the gradlew setupDecompWorkspace eclipse it went for about a minute then said Build Failed. I tried it again and the only difference was it only took 5 seconds to tell me it failed. I tried doing the gradlew setupDeompWorkspace then doing gradlew eclipse but it didn't work. Thanks and please help.
Post the error log. It's likely that you haven't installed the JDK, or it isn't configured properly.
The Meaning of Life, the Universe, and Everything.
Join Date:
7/27/2011
Posts:
49
Minecraft:
Green_Razor
Member Details
On the third 1.7.10 tutorial, proxies and helper classes, what do I need to import for both the LogHelper and RegistryHelper classes? In the RegistryHelper class I get an error on the Block part of registerBlock(Block block) and in the Loghelper class every time I put 'Level' it needs to import something. Both of these it gives me several options for what to import and I don't know which one is right. It would be really helpful if at the end of each tutorial you put the full code of each class, including imports, for reference.
The Meaning of Life, the Universe, and Everything.
Location:
The End
Join Date:
5/27/2014
Posts:
105
Minecraft:
DoomDwarf_347
Member Details
So now I've developed my mod to have a full set of tools made out of a new material, with an ore that doesn't generate but rather has its own crafting recipe implementing a new item, and the ore smelts into an ingot which you can craft into the tools. I've made it this far, all thanks to TheXFactor117 and also the people who answered my nooby questions on this thread xD So here's just a little shout out of thanks to XFactor and I'm hoping for more awesome stuff from him in the future!
PS: And everything is working smoothly, and I've learned some basic Java along the way!
On the third 1.7.10 tutorial, proxies and helper classes, what do I need to import for both the LogHelper and RegistryHelper classes? In the RegistryHelper class I get an error on the Block part of registerBlock(Block block) and in the Loghelper class every time I put 'Level' it needs to import something. Both of these it gives me several options for what to import and I don't know which one is right. It would be really helpful if at the end of each tutorial you put the full code of each class, including imports, for reference.
Press ctrl + shift + O. It's pretty easy to figure out which one to import. Except for the Level class.
From memory, these are the classes you misimported:
So now I've developed my mod to have a full set of tools made out of a new material, with an ore that doesn't generate but rather has its own crafting recipe implementing a new item, and the ore smelts into an ingot which you can craft into the tools. I've made it this far, all thanks to TheXFactor117 and also the people who answered my nooby questions on this thread xD So here's just a little shout out of thanks to XFactor and I'm hoping for more awesome stuff from him in the future!
PS: And everything is working smoothly, and I've learned some basic Java along the way!
You should have learned basic Java before following modding tutorials. He said you don't need to, but you.. can't really make a good mod without learning basic Java before. Following micdoodle8's advice, try watching these beautiful tutorials: https://www.youtube.com/playlist?list=PLFE2CE09D83EE3E28&feature=plcp
Will mods made using these tutorials work in single player and multiplayer?
This question is hard to answer without sounding rude...
If the mod is meant to be client-only (doesn't add blocks, items, entities etc.) you don't need to put the mod you're using in the server.
If the mod does add blocks, items etc. you need to put it in the server.
The tutorials you're using don't matter considering your question. This is just very basic knowledge.
If you're trying to make a mod for a server you're on with your friends, I suggest you try MCreator rather than waste your time on learning Java and modding. Although if you're trying to make a mod to distribute, learn Java and modding.
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumDouble checked and all of those things are correct. This seems like a really weird problem. Isn't one of the main reasons for Forge API to avoid conflicting item ID's? Yet that seems to be the problem, conflicting ID's...
EDIT: I fixed it!
The problem was, in my ClientProxy class I was calling the RegisterBlocks method again, which I guess confused the game and tried to register the same item/block twice. Now I'm just having trouble with the block texture showing up...xD
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumUgh...
I'm not gonna answer you anymore...
Hello I'm having an issue with the installing minecraft forge step. When I type in the gradlew setupDecompWorkspace eclipse it went for about a minute then said Build Failed. I tried it again and the only difference was it only took 5 seconds to tell me it failed. I tried doing the gradlew setupDeompWorkspace then doing gradlew eclipse but it didn't work. Thanks and please help.
Post the error log. It's likely that you haven't installed the JDK, or it isn't configured properly.
Is this what you need?
FAILURE: Build failed with and exception.
* What went wrong:
Execution failed for task ':makeStart'.
> Unable to find a javac complier;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK
It is currently set to "C:\Program Files (x86)\Java\jre1.8.0_45"
*Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
If you need any other information I'll give it. Thanks
Nevermind I fixed the issue. Thanks so much for helping, I didnt' have the JDK installed like you said.
On the third 1.7.10 tutorial, proxies and helper classes, what do I need to import for both the LogHelper and RegistryHelper classes? In the RegistryHelper class I get an error on the Block part of registerBlock(Block block) and in the Loghelper class every time I put 'Level' it needs to import something. Both of these it gives me several options for what to import and I don't know which one is right. It would be really helpful if at the end of each tutorial you put the full code of each class, including imports, for reference.
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumSo now I've developed my mod to have a full set of tools made out of a new material, with an ore that doesn't generate but rather has its own crafting recipe implementing a new item, and the ore smelts into an ingot which you can craft into the tools. I've made it this far, all thanks to TheXFactor117 and also the people who answered my nooby questions on this thread xD So here's just a little shout out of thanks to XFactor and I'm hoping for more awesome stuff from him in the future!
PS: And everything is working smoothly, and I've learned some basic Java along the way!
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumPress ctrl + shift + O. It's pretty easy to figure out which one to import. Except for the Level class.
From memory, these are the classes you misimported:
RegisterHelper:
import net.minecraft.block.Block;
LogHelper:
import org.apache.logging.log4j.Level
EDIT: Wow, I got them both right.
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumYou should have learned basic Java before following modding tutorials. He said you don't need to, but you.. can't really make a good mod without learning basic Java before. Following micdoodle8's advice, try watching these beautiful tutorials: https://www.youtube.com/playlist?list=PLFE2CE09D83EE3E28&feature=plcp
Went and ran the file after replacing the files with forge files. Im on mac OS X and this is what I got in the terminal:
c13:Medieval kianzinzell$ ./gradlew setupDecompWorkspace eclipse
****************************
Powered By MCP:
http://modcoderpack.com/
Searge, ProfMobius, Fesh0r,
R4wk, ZeuX, IngisKahn, bspkrs
MCP Data version : snapshot_20141130
****************************
:extractMcpData UP-TO-DATE
:getVersionJson
:extractUserDev UP-TO-DATE
:genSrgs SKIPPED
:extractNatives UP-TO-DATE
:getAssetsIndex
:getAssets
:makeStart SKIPPED
:downloadMcpTools SKIPPED
:downloadClient SKIPPED
:downloadServer SKIPPED
:mergeJars SKIPPED
:deobfuscateJar SKIPPED
:decompile SKIPPED
:processSources SKIPPED
:remapJar SKIPPED
:extractMinecraftSrc
:recompMinecraft
The system is out of resources.
Consult the following stack trace for details.
java.lang.OutOfMemoryError: Java heap space
at com.sun.tools.javac.code.Scope$ImportScope.makeEntry(Scope.java:385)
at com.sun.tools.javac.code.Scope.enter(Scope.java:196)
at com.sun.tools.javac.code.Scope.enter(Scope.java:183)
at com.sun.tools.javac.comp.MemberEnter.importAll(MemberEnter.java:132)
at com.sun.tools.javac.comp.MemberEnter.visitTopLevel(MemberEnter.java:509)
at com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:446)
at com.sun.tools.javac.comp.MemberEnter.memberEnter(MemberEnter.java:387)
at com.sun.tools.javac.comp.MemberEnter.complete(MemberEnter.java:819)
at com.sun.tools.javac.code.Symbol.complete(Symbol.java:384)
at com.sun.tools.javac.code.Symbol$ClassSymbol.complete(Symbol.java:766)
at com.sun.tools.javac.comp.Enter.complete(Enter.java:464)
at com.sun.tools.javac.comp.Enter.main(Enter.java:442)
at com.sun.tools.javac.main.JavaCompiler.enterTrees(JavaCompiler.java:822)
at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:727)
at com.sun.tools.javac.main.Main.compile(Main.java:353)
at com.sun.tools.javac.api.JavacTaskImpl.call(JavacTaskImpl.java:115)
at org.gradle.api.internal.tasks.compile.jdk6.Jdk6JavaCompiler.execute(Jdk6JavaCompiler.java:45)
at org.gradle.api.internal.tasks.compile.jdk6.Jdk6JavaCompiler.execute(Jdk6JavaCompiler.java:38)
at org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.delegateAndHandleErrors(NormalizingJavaCompiler.java:96)
at org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.execute(NormalizingJavaCompiler.java:49)
at org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.execute(NormalizingJavaCompiler.java:35)
at org.gradle.api.internal.tasks.compile.DelegatingJavaCompiler.execute(DelegatingJavaCompiler.java:29)
at org.gradle.api.internal.tasks.compile.DelegatingJavaCompiler.execute(DelegatingJavaCompiler.java:20)
at org.gradle.api.internal.tasks.compile.CleaningJavaCompilerSupport.execute(CleaningJavaCompilerSupport.java:33)
at org.gradle.api.internal.tasks.compile.CleaningJavaCompilerSupport.execute(CleaningJavaCompilerSupport.java:24)
at org.gradle.api.tasks.compile.JavaCompile.performCompilation(JavaCompile.java:87)
at org.gradle.api.tasks.compile.JavaCompile.compile(JavaCompile.java:65)
at org.gradle.api.tasks.compile.JavaCompile.compile(JavaCompile.java:53)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
:recompMinecraft FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':recompMinecraft'.
> Compilation failed; see the compiler error output for details.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
If it helps this is what I got from the forge download folder:
build.gradle
CREDITS-fml.txt
eclipse
forge-1.8-11.14.3.1502-changelog.txt
gradle
gradlew
gradlew.bat
LICENSE-fml.txt
MinecraftForge-Credits.txt
MinecraftForge-License.txt
README.txt
src
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumSounds like you either do not have enough system memory(RAM) or something is limiting the amount of RAM that this is allowed to use.
try putting "sudo" in front of that command.
Current Mod: Armerger | Light Drafter
Will mods made using these tutorials work in single player and multiplayer?
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumAssuming you have followed them properly yes.
For 1.7.10 onward the only style of mods that can be solely for single player are rendering and texture mods.
Anything that adds content will NOT work if it does not have working server side parts.
That said there can be poorly designed mods that work terrible in multiplayer even if they work well in single.
Current Mod: Armerger | Light Drafter
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumThis question is hard to answer without sounding rude...
If the mod is meant to be client-only (doesn't add blocks, items, entities etc.) you don't need to put the mod you're using in the server.
If the mod does add blocks, items etc. you need to put it in the server.
The tutorials you're using don't matter considering your question. This is just very basic knowledge.
If you're trying to make a mod for a server you're on with your friends, I suggest you try MCreator rather than waste your time on learning Java and modding. Although if you're trying to make a mod to distribute, learn Java and modding.
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumDammit, you ninja'd me.
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumAnd proud of it!
I mean given my avatar, it would be odd if i didn't.
Current Mod: Armerger | Light Drafter
Thanks, those worked!
hi xfactor
I am stuck at the end of Other Volumes part 3.
when I click the green button with arrow, It gives me a choice between java applet and java application.
when I try 'applet' it says 'selection does not contain an applet'.
when I try 'application' I get a window that says 'select type'
do you know what to to at this stage?
please respond asap.
thanks!
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumRight click on your project folder->run as->run configurations
the Project should be your project folder name
the main class should be "GradleStart"
Hit apply and run.
Now you should be able to run using the green arrow up top.
If you need to debug, the smaller icon to the left of the green arrow
do the same steps but choose debug as instead of run as
Current Mod: Armerger | Light Drafter