To download forge gradle you have to go http://files.minecraftforge.net and find the version you want (I suggest you to start with 1.7.10 because a lot of mod are still in that version, and update it to 1.8 in the future, or maybe 1.9 ) press the "src" button and download the zip (in 1.8 the button is called "mdk").
Even better if he know the files that will be added in speechbank folder (I mean that the users should not add their own) he can simply store in an ArrayList the content of file on class loading and then get a random line from it.
1) yes the hasEffect method exists but it has only ItemStack argument
2)Choonster the 1.6.4 doesn't require to install jdk 7 if you use the latest 1.6.4 version (but there is javalegacyfixer that fix for older dev environment)
P.S. a little example:
@SideOnly(Side.CLIENT)
public boolean hasEffect(ItemStack par1ItemStack) {
return true;
}
And another thing, I had to comment out ALOT of stuff, and only stairs and the stone brick exisit, (there should be planks, and beacon aswell for this test).
For the second problem I don't see any reference to set block to beacon or planks.
For the commented part as said above:
that is the tutorial i followed, there a few things I had to do differently , like go in and set all the 0's that were suppose to be air to Blocks.air.
0
There are 2 possibilities:
1) You accessed the wrong folder with eclipse (it's located under "eclipse" in your src folder)
2) You didn't execute "gradlew eclipse"
0
To download forge gradle you have to go http://files.minecraftforge.net and find the version you want (I suggest you to start with 1.7.10 because a lot of mod are still in that version, and update it to 1.8 in the future, or maybe 1.9 ) press the "src" button and download the zip (in 1.8 the button is called "mdk").
Then I suggest you to follow this tutorial: http://www.minecraftforge.net/forum/index.php?topic=14048.0
0
you put Message instead of IMessageEDIT: oh ops I didn't see that it was the name of your class
0
the passed te argument seems to be null. try to debug using
if it print "te is null? true" then check the instantiation of your ContainerItem_Compacter
0
Even better if he know the files that will be added in speechbank folder (I mean that the users should not add their own) he can simply store in an ArrayList the content of file on class loading and then get a random line from it.
EDIT: I made this so far https://gist.github.com/andry08/d37d38e944d858b7355c
0
In your code you are first reading all the lines to count them. after that you are at the end of the text file.
then you get a random and you read the following j (the random value) that are all null because you already reached the end.
and finally you are setting Speech variable reading another line (why!?).
You are getting null because you read a lot of line that are over the end of the file.
You need to rewrite your code to use readline only during the iteration through all lines and saving them (for example in an array).
when I get home (about three hours) I'll try to write something
0
1) yes the hasEffect method exists but it has only ItemStack argument
2)Choonster the 1.6.4 doesn't require to install jdk 7 if you use the latest 1.6.4 version (but there is javalegacyfixer that fix for older dev environment)
P.S. a little example:
0
Then try putting it as argument when decompiling like this:
https://github.com/MinecraftForge/ForgeGradle/issues/298#issuecomment-158982268
P.S. I know that this can be a stupid question but do you have java 64 bit? With 32 bit one you can allocate max 1.5GB
0
ah ops, I wrote the bad name
0
add this in your build.gradle:
it simply requires more ram
0
conv() function is referenced in Vec3M.java
but the conv() function have an error, it construct Vec3 using constructor that in 1.7.10 is not visible. simply replace conv() with this:
0
texture paths are case-sensitive.
in your path sandstorm is with capital letter but as your log say it has to be lowercase.
0
and it worked finally?
0
In the log that you posted seems that the zip file downloaded by gradle (the client) is damaged or unreadable.
EDIT: read what wrote Choonster
0
For the second problem I don't see any reference to set block to beacon or planks.
For the commented part as said above: