Here's the code for my Mod; the error is in line 12 but I have no idea how to fix it. I'm not entirely new to Java, but I am new to modding. Thanks in advance.
package Dubs.InvisibleStairsMod.blocks;
import Dubs.InvisibleStairsMod.lib.ModVars;
import net.minecraft.block.Block;
import net.minecraft.block.BlockStairs;
import net.minecraft.block.material.Material;
import net.minecraft.creativetab.CreativeTabs;
public class TutorialBlock extends BlockStairs {
protected TutorialBlock(Material material, String name) {
super(material); // The error pops up right here
this.setBlockName(name);
this.setBlockTextureName(ModVars.MOD_ID+":"+this.getUnlocalizedName().substring(5));
this.setCreativeTab(CreativeTabs.tabMisc);
this.setHardness(-1.0F);
this.setLightLevel(0.0F);
this.setHarvestLevel("pickaxe", 3);
this.setResistance(100000000.0F);
this.setStepSound(soundTypeStone);
}
}
Here's the code for my Mod; the error is in line 12 but I have no idea how to fix it. I'm not entirely new to Java, but I am new to modding. Thanks in advance.
https://www.minecraftforum.net/forums/mapping-and-modding-java-edition/minecraft-mods/modification-development/2359808-problems-creating-custom-stairs-resolved