Sorry if this is obvious, I'm just getting started in modding, but I'm getting this error when running my mod. I'm almost certain that this is my fault, but I can't figure out why it's saying this.
When I try to add a new block, I get this error: "The method setStepSound(StepSound) from the type Block is not visible" when I put the code "decrafter = new BlockName(522, 0).setStepSound(Block.soundWoodFootstep).setHardness(2.5F).setResistance(1.0F).setBlockName("name");"
I am using eclipse, and I get the same error on setStepSound, setHardness and setResistance. Is this my own fault or is there a bug in Forge?
2 replies
Important Information
By using this site, you agree to our Terms of Use.