Why isnt my texture loading for my basic item i put it in the correct folder but it doesnt load my item (moon rock) shows up but thats it and i can hold it and its just a purple and black checker board so please help!!!!!!!!!
Where you have case 0, you need it to be just chunkX and chunkZ. I cant remember if its that or chunkX*16, ChunkZ*16. I wil check my code when i get home.
Basically right now you are trying to spawn ores in a chunk bigger than 16*16, which dont exist.
So then can you please tell me how I make it farther apart and more rare?
I have a really powerful material that I want spawning in 3s and only 2 veins in a chunk. How would I do that?
So then can you please tell me how I make it farther apart and more rare?
I have a really powerful material that I want spawning in 3s and only 2 veins in a chunk. How would I do that?
In your for statement, decrease the i<10. The lower the number, the rarer it is. Did you fix where you had chunkX and chunkY wrong?
Can you go into detail with the i<10 thing, Can you compare all oft the numbers? Like 10 = AOre 9 = anotherOre?<br/>
That would be good
Your for statement basically says this:
'i = 0;"
This just declares a value i.
"I<10;"
This part of the code says keep doing the for loop while 'i' is less than 10.
"I++;"
This last part of the loop says every time you execute the loop, add 1 to 'i'.
To put this in terms of generation:
Because of the way ore is generated, it attempts to generate ore multiple times. Your for loop says "try to generate this ore while int i is less than 10. But every time you try to generate this ore, add 1 to i." By lowering i<10, to say i<5, it will attempt to generate ore less times, thus making it less common.
Your for statement basically says this:
'i = 0;"
This just declares a value i.
"I<10;"
This part of the code says keep doing the for loop while 'i' is less than 10.
"I++;"
This last part of the loop says every time you execute the loop, add 1 to 'i'.
To put this in terms of generation:
Because of the way ore is generated, it attempts to generate ore multiple times. Your for loop says "try to generate this ore while int i is less than 10. But every time you try to generate this ore, add 1 to i." By lowering i<10, to say i<5, it will attempt to generate ore less times, thus making it less common.
I didn't mean it in that way, what I meant was like can you compare each number below 10 to a ore in minecraft. For example
I didn't mean it in that way, what I meant was like can you compare each number below 10 to a ore in minecraft. For example
i<10 is like Coal
i<9 is like Iron
That type of thing :/
no, it doesnt work that way. And haha sorry for the confusion
. You can add another new(WorldGenMinable... If thats what you mean. By doing that it will generate another ore at the same time
no, it doesnt work that way. And haha sorry for the confusion
. You can add another new(WorldGenMinable... If thats what you mean. By doing that it will generate another ore at the same time
Nobody will feed you code. When i explain anything, i try my best to not feed people code, because then you dont learn anything.
Post your render codes and the location of your textures
Ok but how do I know the actual rarity of the ore increases after I change the 10 to a lower number?
I want to make my Ore as rare as diamond. How do I do that? Or is that not possible? :/
Yes, if you do i<2 or 3 it will be like diamond. I forget what the exact number is. You could see exactly how many generated by doing a system.out.println ("Generated an ore") in your for statementHold on ive had this wrong the whole time, sorry when it says i<10, that means it will generate it 10 times per chunk. Apologies, but i checked my code today and i realized that.
So i recently finished my mod and i am trying to figure out on how to convert it into .class files
I create my mod in a seperate java project as seen here: http://i.imgur.com/Yu4BhZo.png
and i have the mod saved to my desktop ( the source folder) as seen here: http://i.imgur.com/UL96WZL.png
So i recently finished my mod and i am trying to figure out on how to convert it into .class files
I create my mod in a seperate java project as seen here: http://i.imgur.com/Yu4BhZo.png
and i have the mod saved to my desktop ( the source folder) as seen here: http://i.imgur.com/UL96WZL.png
Will anyone willing to help me
Thank killer
run "recompile" in the mcp folder then run "reobfuscate_srg", or just normal "reobfuscate" if u don't want it to be able to run on a server.
Yes, if you do i<2 or 3 it will be like diamond. I forget what the exact number is. You could see exactly how many generated by doing a system.out.println ("Generated an ore") in your for statement
Hold on ive had this wrong the whole time, sorry when it says i<10, that means it will generate it 10 times per chunk. Apologies, but i checked my code today and i realized that.
Oh I get it now! Thanks sooo much Ill be sure to put you in the "Contributed" spoiler
So then can you please tell me how I make it farther apart and more rare?
I have a really powerful material that I want spawning in 3s and only 2 veins in a chunk. How would I do that?
In your for statement, decrease the i<10. The lower the number, the rarer it is. Did you fix where you had chunkX and chunkY wrong?
Can you go into detail with the i<10 thing, Can you compare all oft the numbers? Like 10 = AOre 9 = anotherOre?<br/> That would be good
Your for statement basically says this:
'i = 0;"
This just declares a value i.
"I<10;"
This part of the code says keep doing the for loop while 'i' is less than 10.
"I++;"
This last part of the loop says every time you execute the loop, add 1 to 'i'.
To put this in terms of generation:
Because of the way ore is generated, it attempts to generate ore multiple times. Your for loop says "try to generate this ore while int i is less than 10. But every time you try to generate this ore, add 1 to i." By lowering i<10, to say i<5, it will attempt to generate ore less times, thus making it less common.
I didn't mean it in that way, what I meant was like can you compare each number below 10 to a ore in minecraft. For example
i<10 is like Coal
i<9 is like Iron
That type of thing :/
. You can add another new(WorldGenMinable... If thats what you mean. By doing that it will generate another ore at the same time
Nobody will feed you code. When i explain anything, i try my best to not feed people code, because then you dont learn anything.
Post your render codes and the location of your textures
Did you call RenderingRegistry.registerEntityRenderingHandler in your client proxy or mod file
Ok but how do I know the actual rarity of the ore increases after I change the 10 to a lower number?
You dont, its a random number
I want to make my Ore as rare as diamond. How do I do that? Or is that not possible? :/
Yes, if you do i<2 or 3 it will be like diamond. I forget what the exact number is. You could see exactly how many generated by doing a system.out.println ("Generated an ore") in your for statementHold on ive had this wrong the whole time, sorry
So i recently finished my mod and i am trying to figure out on how to convert it into .class files
I create my mod in a seperate java project as seen here: http://i.imgur.com/Yu4BhZo.png
and i have the mod saved to my desktop ( the source folder) as seen here: http://i.imgur.com/UL96WZL.png
Will anyone willing to help me
Thank killer
-
View User Profile
-
View Posts
-
Send Message
Curse Premiumrun "recompile" in the mcp folder then run "reobfuscate_srg", or just normal "reobfuscate" if u don't want it to be able to run on a server.
food is easy dude!
Help modders out by contributing to the Forge Ore Dictionary List! http://mce626.wix.com/odnlist
I already did that and there is nothing in the reodf file. O_o
Oh I get it now! Thanks sooo much
Just model it with techne. THats the easiest way.