I've begun to work on a website to make things easier - you can check it out at http://www.legendtutorials.weebly.com! I have not been able to port any tutorials yet, though.
Your tutorials have been extremely helpful. Would you be able to do some redstone tutorials, Like when a redstone signal is applied a texture of a block changes, stuff like that?
The way you make blocks doesn't work in Minecraft 1.5.1.
There is no method called setBlockName anymore so this will give us an error in the Block class.
Also the way you give your block texture won't work either.
This is how you do textures for blocks in Minecraft 1.5.1:
public void registerIcons(IconRegister iconRegister) {
blockIcon = iconRegister.registerIcon("yourModName:nameOfThePicture");
}
And then you put the picture in these folder before putting it into the minecraft.jar : /mods/yourModName/textures/blocks/placePictureHere.
EDIT:
Forgot to mention, instead of the setBlockName() method you must use the setUnlocalizedName().
The way you make blocks doesn't work in Minecraft 1.5.1.
There is no method called setBlockName anymore so this will give us an error in the Block class.
Also the way you give your block texture won't work either.
This is how you do textures for blocks in Minecraft 1.5.1:
public void registerIcons(IconRegister iconRegister) {
blockIcon = iconRegister.registerIcon("yourModName:nameOfThePicture");
}
And then you put the picture in these folder before putting it into the minecraft.jar : /mods/yourModName/textures/blocks/placePictureHere.
EDIT:
Forgot to mention, instead of the setBlockName() method you must use the setUnlocalizedName().
Do you know how to make armor? I'm *dying* to know how
The way you make blocks doesn't work in Minecraft 1.5.1.
There is no method called setBlockName anymore so this will give us an error in the Block class.
Also the way you give your block texture won't work either.
This is how you do textures for blocks in Minecraft 1.5.1:
public void registerIcons(IconRegister iconRegister) {
blockIcon = iconRegister.registerIcon("yourModName:nameOfThePicture");
}
And then you put the picture in these folder before putting it into the minecraft.jar : /mods/yourModName/textures/blocks/placePictureHere.
EDIT:
Forgot to mention, instead of the setBlockName() method you must use the setUnlocalizedName().
OK, the
setBlockName
was just a mistake I forgot to change when updating the tutorials - however, I did not know about the textures. Thank you for telling me!
I really want to get into Minecraft modding, I'm doing what your tutorial says and downloading the stuff. What do I do with the forge scr build though? EDIT: If you could do video's showing how to set up etc it'd be epic and nice. EDIT2 - HELP: For the navigation of eclipse is this correct C:\Users\myprofilename\Desktop\forge\mcp\eclipse\Minecraft ?
No that's not correct it should be C:\Users\myprofilename\Desktop\forge\mcp\eclipse
That's it, no Minecraft at the end.
Easier said just choose the eclipse folder you got when you installed MCP.
I still don't understand tell me what I have to do exactly with creating the packages and classes please and in where.
So, create a package in the "src" folder in Eclipse, then in that package create your classes. For the ClientProxy, create a new package in "src" and put ClientProxy in it. If this is not clear, I am planning to do a video tutorial soon. It should be out within the next week.
I really want to get into Minecraft modding, I'm doing what your tutorial says and downloading the stuff. What do I do with the forge scr build though? EDIT: If you could do video's showing how to set up etc it'd be epic and nice. EDIT2 - HELP: For the navigation of eclipse is this correct C:\Users\myprofilename\Desktop\forge\mcp\eclipse\Minecraft ?
Very close, just do this: C:\Users\YourName\Desktop\forge\mcp\eclipse
Xeto great tutorial, I read and added the codes etc I get this error in eclipse: Description Resource Path Location Type
BlockTutorial cannot be resolved to a type Tutorial.java /Minecraft/src/com/xeto/tutorial line 38 Java Problem -- The code is tutorialBlock = newBlockTutorial(1000, "tutorialBlock").setUnlocalizedName("tutorialBlock").setHardness(3.0F).setResistance(10.0F);
Did you add the line in the @SidedProxy mentioned? It is:
public static Block yourBlock;
In the tutorials, I subclass Block which means I put most of the information in its own class. That may also affect it, but I am not sure. Just add the line of code above into your @SidedProxy method.
Did you add the line in the @SidedProxy mentioned? It is:
public static Block yourBlock;
In the tutorials, I subclass Block which means I put most of the information in its own class. That may also affect it, but I am not sure. Just add the line of code above into your @SidedProxy method.
@SidedProxy isn't really a method, it just tells you were the proxies is. They actually have nothing to do with the blocks.
The public static Block yourBlock is needed though for it to work, but it doesn't seem to be the problem in this case.
Thank you, I will keep updating the tutorials...
Thanks! I'm making basic tutorials to start, but soon I'll make tutorials like these.
There is no method called setBlockName anymore so this will give us an error in the Block class.
Also the way you give your block texture won't work either.
This is how you do textures for blocks in Minecraft 1.5.1:
And then you put the picture in these folder before putting it into the minecraft.jar : /mods/yourModName/textures/blocks/placePictureHere.
EDIT:
Forgot to mention, instead of the setBlockName() method you must use the setUnlocalizedName().
Do you know how to make armor? I'm *dying* to know how
OK, the was just a mistake I forgot to change when updating the tutorials - however, I did not know about the textures. Thank you for telling me!
No that's not correct it should be C:\Users\myprofilename\Desktop\forge\mcp\eclipse
That's it, no Minecraft at the end.
Easier said just choose the eclipse folder you got when you installed MCP.
The YourMod Class stays the same.
You only need to make a YourBlock class.
For help you can look at the youtube video I made for 1.4.7. All in that video still works, but those for blocks and items doesn't.
Here is the link:
Thank you, but it's fine! Don't worry about it - I'm not planning to upgrade my domain name or anything. Again, thank you for the offer!
I'm sorry if I'm not clear - just create a new YourBlock class and keep the same YourMod class.
So, create a package in the "src" folder in Eclipse, then in that package create your classes. For the ClientProxy, create a new package in "src" and put ClientProxy in it. If this is not clear, I am planning to do a video tutorial soon. It should be out within the next week.
Very close, just do this: C:\Users\YourName\Desktop\forge\mcp\eclipse
Did you add the line in the @SidedProxy mentioned? It is: In the tutorials, I subclass Block which means I put most of the information in its own class. That may also affect it, but I am not sure. Just add the line of code above into your @SidedProxy method.
@SidedProxy isn't really a method, it just tells you were the proxies is. They actually have nothing to do with the blocks.
The public static Block yourBlock is needed though for it to work, but it doesn't seem to be the problem in this case.
If you don't have it it could fix it. But if you follow my tutorial it should work perfectly fine.
I haven't had the time to update that tutorial yet, but it should be up in a few days. Sorry!
As stated in previous posts, I am doing simple tutorials first then doing requests. But I'll be happy to do it in the future!
Hmmm…
I'm sorry, but I don't understand why that would happen. That is strange, though. Could you send the code? I could probably help more. Thanks!
Legendary177