Posted February 21, 201510 yr Hi, i'm new to forge and i'm following a basic tutorial. I have written all like in the tutorial but i'm getting this error: Implicit super constructor Block() is undefined. Must explicitly invoke another constructor This is my code: package com.saphire.saphiremod; import net.minecraft.block.Block; import net.minecraft.block.material.Material; import net.minecraft.client.renderer.texture.IIconRegister; import net.minecraft.creativetab.CreativeTabs; public class saphireOre extends Block { public saphireOre(int id, Material mat) { supper(mat); this.setCreativeTab(CreativeTabs.tabBlock); } @Override public void registerBlockIcons(IIconRegister p_149651_1_) { this.blockIcon = p_149651_1_.registerIcon("saphire:orePuplet"); } } Sorry if i dont use the insert code button, but it doesn't works.
February 21, 201510 yr supper(mat); != super. Is this the problem? 1.7.10 is no longer supported by forge, you are on your own.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.