Should be the same as the one i posted earlier, but here you are: http://pastebin.com/pAj1Zit8 . I really want to learn how to hide links behind text on this forum haha. Looks so cluttered.
Yeah, you'll need to implement IWorldGenerator (like extending, but implements).
Also to hide those links, just highlight the world you want to contain the link, and then there is a paperclip looking icon on the top, and you can add the link that way
Fairly easy fix. You modid has a capital letter in it, in which they need to all be lowercase. Change that in your Reference class, and then refactor (renaming essentially) you texture's package in Eclipse to the new modid, and you should be good to go.
I'm on tutorial number 3 so far, doing everything as you said (hopefully) but still feel unsure about it. I'm getting multiple markers on certain lines and it's about annotations and items not being resolved to a type. What am I doing wrong? I have a feeling it's about the importing. A screenshot is attached to the post.
hey... is there no answer to my questions? they were on page 6 and have not even been mentioned!
I am unable to "import net.minecraft.client.renderer.texture.IIconRegister;"
in an example you gave another person asking a question you had your item class and that's where i noticed the import that i cannot use!
when i type "import net.minecraft.client.renderer.texture." after the last "." it gives me a bunch of options to select from and "IIconRegister" is not in the list!
if i manually type "IIconRegister" I get this error "the import net.minecraft.client.renderer.texture.IIconRegister cannot be resolved!"
I'm on tutorial number 3 so far, doing everything as you said (hopefully) but still feel unsure about it. I'm getting multiple markers on certain lines and it's about annotations and items not being resolved to a type. What am I doing wrong? I have a feeling it's about the importing. A screenshot is attached to the post.
Yeah, all of those need to be imported. Importing them should fix up your errors.
hey... is there no answer to my questions? they were on page 6 and have not even been mentioned!
I am unable to "import net.minecraft.client.renderer.texture.IIconRegister;"
in an example you gave another person asking a question you had your item class and that's where i noticed the import that i cannot use!
when i type "import net.minecraft.client.renderer.texture." after the last "." it gives me a bunch of options to select from and "IIconRegister" is not in the list!
if i manually type "IIconRegister" I get this error "the import net.minecraft.client.renderer.texture.IIconRegister cannot be resolved!"
what can I do about this?
Sorry about not getting to your question! I must have over looked it. Are you making your class extend the Item class?
ok so i've successfully ran both gradlew commands and opened eclipse, but i'm having trouble after that. it says i need to click browze, but i dont see a browse button, only open file. and when i do so and go to the forge folder (or what i beleive to be the forge folder, the forge files are in my 1.7 folder) click on my eclipse folder, and it just opens more and more files until i get to something like .location, which when i select it to open just comes out a a line of gibberish. am i missing something here?
ok so i've successfully ran both gradlew commands and opened eclipse, but i'm having trouble after that. it says i need to click browze, but i dont see a browse button, only open file. and when i do so and go to the forge folder (or what i beleive to be the forge folder, the forge files are in my 1.7 folder) click on my eclipse folder, and it just opens more and more files until i get to something like .location, which when i select it to open just comes out a a line of gibberish. am i missing something here?
No, you need to open Eclipse through the eclipse folder - nothing inside of it.
Salute. Good to know I haven't forgotten everything about coding from Warcraft 3 and that I'm facing the right direction but I'm not sure what I'm importing, good sir. Again, another screenshot. It gives me a few options but I don't know which one to choose.
Yeah, I'm not sure what I'm suppose to be importing to make these markers go away. "Mod cannot be resolved to a type"
Salute. Good to know I haven't forgotten everything about coding from Warcraft 3 and that I'm facing the right direction but I'm not sure what I'm importing, good sir. Again, another screenshot. It gives me a few options but I don't know which one to choose.
Yeah, I'm not sure what I'm suppose to be importing to make these markers go away. "Mod cannot be resolved to a type"
I think your environment is messed up actually. You may need to reset it up, as I don't think any of the Minecraft code got in.
when you extract the forge development it'll create a bunch of folders and files, one of the folder is eclipse, your eclipse should on startup be directed to that specific folder, nothing in it, but the folder itself
then i may have messed up somewhere because there are defiantly files in the eclipse folder
the dialog below should appear when you start eclipse, otherwise you have to (in eclipse) file->switch workspace->other... and that dialog should open, you press browse and take it to "forge/eclipse" as you can see mine is
I think your environment is messed up actually. You may need to reset it up, as I don't think any of the Minecraft code got in.
That was exactly it. LOL. Never been the best when it came to terminal/command prompt. Well, I'm more knowledgeable for it now. Still following your tutorials. Love it so far. Good stuff, ock.
i am having some trouble with the second tutorial, saying among other things that Reference can't be made into a variable.
what would i need to do or import to fix this?
Yeah, you'll need to implement IWorldGenerator (like extending, but implements).
Also to hide those links, just highlight the world you want to contain the link, and then there is a paperclip looking icon on the top, and you can add the link that way
Awesome. Glad you got both of those things working :P.
Thanks!
I am unable to "import net.minecraft.client.renderer.texture.IIconRegister;"
in an example you gave another person asking a question you had your item class and that's where i noticed the import that i cannot use!
when i type "import net.minecraft.client.renderer.texture." after the last "." it gives me a bunch of options to select from and "IIconRegister" is not in the list!
if i manually type "IIconRegister" I get this error "the import net.minecraft.client.renderer.texture.IIconRegister cannot be resolved!"
what can I do about this?
Yeah, all of those need to be imported. Importing them should fix up your errors.
Sorry about not getting to your question! I must have over looked it. Are you making your class extend the Item class?
No, you need to open Eclipse through the eclipse folder - nothing inside of it.
Yeah, I'm not sure what I'm suppose to be importing to make these markers go away. "Mod cannot be resolved to a type"
I think your environment is messed up actually. You may need to reset it up, as I don't think any of the Minecraft code got in.
does that mean i need to put the eclispe folder in the 1.7 folder too?
then i may have messed up somewhere because there are defiantly files in the eclipse folder
how can i tell? (sorry for the stupid questions, i just want to make sure that i dont end up messing anything up)
is this correct?
that is correct
That was exactly it. LOL. Never been the best when it came to terminal/command prompt. Well, I'm more knowledgeable for it now. Still following your tutorials. Love it so far. Good stuff, ock.
what would i need to do or import to fix this?