I am a new modder trying to get comfortable with the absolute Forge basics, and I was following some tutorials on how to create a new block, but I encountered two problems while doing so.
1:
When i try to use the setBlockName(string) method in my mods main class, Eclipse tells me the method is undefined for the type "Block", while it works fine in the tutorial. This is my code:
2:
The tutorial tells me to add the line "super(par1, par2, Material.rock);" to my block class. However, Eclipse tells me the constructor is undefined, and recommends me to delete the par2 variable. My code:
My tutorial link: http://www.minecraftforge.net/wiki/Your_first_block