Error: Could not find or load main class GradleStart Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release
I just finished the basic items course and when I run it this happens
Try upgrading Forge Gradle, or make sure that the main class of the run configuration is right.
Sorry for asking, but i don't really have the time to scan through the entire forum post looking for an answer. How exactly am i supposed to type in the command setup in the 5th paragraph of the first tutorial? i'm getting an error "the filename, directory name, or volume label syntax is incorrect" obviously i'm doing something wrong, but i just about never type commands in the command prompt window and I'm not sure how to type it properly, i dunno i must have done something wrong but i really can't tell what.
Sorry for asking, but i don't really have the time to scan through the entire forum post looking for an answer. How exactly am i supposed to type in the command setup in the 5th paragraph of the first tutorial? i'm getting an error "the filename, directory name, or volume label syntax is incorrect" obviously i'm doing something wrong, but i just about never type commands in the command prompt window and I'm not sure how to type it properly, i dunno i must have done something wrong but i really can't tell what.
Change the directory to the right folder using "cd directory", then type in "gradlew setupDecompWorkspace eclipse".
I'm having problems with step #1 (yay, right from the beginning). Everything seems to work fine (Build Succesful with both gradlew commands), but when I open the eclipse workspace, the Minecraft folder is empty. What am I doing wrong?
The files didn't get loaded in properly. Best thing to do is just restart and see if that fixes things.
Alright then... I'm not getting it. What exactly am i typing it? i have issues understanding what people are saying/typing and i'm just not getting it.
what do you mean by directory? you mean,i should type the word or drag and drop the Mods folder i created after cd. and why am i typing cd? should i be adding quotation marks? i have almost zero knowledge with how command prompt accepts commands and i also have trouble like, understanding what your saying. so yeah. i still don't get it. apparently step-by-step hurts my brain.
Alright then... I'm not getting it. What exactly am i typing it? i have issues understanding what people are saying/typing and i'm just not getting it.
what do you mean by directory? you mean,i should type the word or drag and drop the Mods folder i created after cd. and why am i typing cd? should i be adding quotation marks? i have almost zero knowledge with how command prompt accepts commands and i also have trouble like, understanding what your saying. so yeah. i still don't get it. apparently step-by-step hurts my brain.
You don't add the quotation marks, and you can just copy and paste the commands in. "cd" means change directory, and the directory would be the folder where the forge files are located. Just drag that folder into the window.
Ok, I tried again and again and nothing happenden. I noticed then that I was unzipping the forge folder in the Desktop and my user folder have an "é" character in it, so maybe that was causing some problems when building the project (weird, it would be the first time...). I moved it directly to C: and everything worked fine
So why dont we set unlocalized names in blocks? at least the block tutorial does not say to do that. And also TheXfactor117 I found some bugs in that tutorial like "setCreativeTab(CreativeTabs.tabBlock); when you said "setCreativeTabs(CreativeTab.tabBlocks);" and maybe some other small errors that I was able to fix.
So why dont we set unlocalized names in blocks? at least the block tutorial does not say to do that. And also TheXfactor117 I found some bugs in that tutorial like "setCreativeTab(CreativeTabs.tabBlock); when you said "setCreativeTabs(CreativeTab.tabBlocks);" and maybe some other small errors that I was able to fix.
For blocks, #setBlockName does the same thing. In 1.8, everything switches back to #setUnlocalizedName.
Yeah, I've gotten that one quite a bit; just never got around to fixing it.
Hey, I can you pls post the code on how to make the RegisterHelper register the ModEntity ? And I don't really understand what I should write instead of the Ascension.instances in my Mod ?
Make an instance variable using the @Instance annotation in your main class.
You also don't need the RegisterHelper class to create entities.
Try upgrading Forge Gradle, or make sure that the main class of the run configuration is right.
Any chance of a tile entity tutorial in the near future?
As well as metadate for sub-items.
How do you upgrade forge gradle? and what main class of the run configuration?
EDIT:my gradle version is 1.2-SNAPSHOT which I think is the highest
@PhoenixOfWar - Yup. I'll stick it in with Entities somewhere.
@BurnsyLadBoy - Register the item in #registerSpawnEgg.
@Firestone10101 - Check here for more information.
That helped me as to what step in eclipse, but I don't have an eclipse folder in my forge. I have no clue what I'm doing wrong
Awesome. Thank you!
Ok so I cleaned the gradlew and built it and it still wont load so here is my code because I think I messed up bigtime
http://prntscr.com/6k4c75
http://prntscr.com/6k4cdf
http://prntscr.com/6k4chr
EDIT:I meant the files that the hovverng over the errors created.
Edit2:I now get this error http://prntscr.com/6k5pg1
Why do you have other packages besides your mods packages in the same location? I'd backup your source code, and re-set everything up.
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumSorry for asking, but i don't really have the time to scan through the entire forum post looking for an answer. How exactly am i supposed to type in the command setup in the 5th paragraph of the first tutorial? i'm getting an error "the filename, directory name, or volume label syntax is incorrect" obviously i'm doing something wrong, but i just about never type commands in the command prompt window and I'm not sure how to type it properly, i dunno i must have done something wrong but i really can't tell what.
Change the directory to the right folder using "cd directory", then type in "gradlew setupDecompWorkspace eclipse".
The files didn't get loaded in properly. Best thing to do is just restart and see if that fixes things.
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumAlright then... I'm not getting it. What exactly am i typing it? i have issues understanding what people are saying/typing and i'm just not getting it.
what do you mean by directory? you mean,i should type the word or drag and drop the Mods folder i created after cd. and why am i typing cd? should i be adding quotation marks? i have almost zero knowledge with how command prompt accepts commands and i also have trouble like, understanding what your saying. so yeah. i still don't get it. apparently step-by-step hurts my brain.
You don't add the quotation marks, and you can just copy and paste the commands in. "cd" means change directory, and the directory would be the folder where the forge files are located. Just drag that folder into the window.
Glad you got it working correctly
Can you do tutorials on trees, custom GUIs and possibly Dimensions?
So why dont we set unlocalized names in blocks? at least the block tutorial does not say to do that. And also TheXfactor117 I found some bugs in that tutorial like "setCreativeTab(CreativeTabs.tabBlock); when you said "setCreativeTabs(CreativeTab.tabBlocks);" and maybe some other small errors that I was able to fix.
Eventually
For blocks, #setBlockName does the same thing. In 1.8, everything switches back to #setUnlocalizedName.
Yeah, I've gotten that one quite a bit; just never got around to fixing it.
Make an instance variable using the @Instance annotation in your main class.
You also don't need the RegisterHelper class to create entities.
I wrote those lines in my mob class :
{
if (Math.random()*100 > 50){
return BofCraftItems.item1;
}
if (Math.random()*100 > 50){
return BofCraftItems.item2;
}
if (Math.random()*100 > 20){
return BofCraftItems.item3;}
if (Math.random()*100 > 100){
return BofCraftItems.item4;
}
return null;
}
And I don't know how to return two or three items at the same time
When I type the gradlew setupDecompWorkspace into the command window this pops up,
'gradlew' is not recognized as an internal or external command,
operable program or batch file.
Any idea what I'm doing wrong?