Jump to content

Kakarotvg

Members
  • Posts

    124
  • Joined

  • Last visited

Converted

  • Gender
    Male
  • URL
    http://www.cloudmesa.com/kakarotvgs
  • Location
    Realm of Darkness!
  • Personal Text
    Hi... Im Kakarotvg, and I like hamburgers

Kakarotvg's Achievements

Creeper Killer

Creeper Killer (4/8)

6

Reputation

  1. it was the sidedproxy
  2. I compiled my mod successfully but when i try to load it into mine craft it gives me this crash the classes are all there, so i don't know whats the problem
  3. so it turns out the tileentitys were the problem, but the mod also had other problems, so i removed the problematic stuff, and I'm going to rewrite them using the new code... I hope this works.
  4. I did use debug mode it crashes right around client proxy, but it doesn't tell you why it crashed or what caused it specifically.
  5. the problem occurs after loading client proxy ao please help
  6. I just ran debug, and got the same thing
  7. I don't see whats causing it to be null
  8. its either a problem with the block icons, item icons, tool icons, armor icons, tile entity textures, crop icons, or gui textures
  9. error log crash report code for metadata icons code for normal icons BlockHandler itemmetablock
  10. I think i got it working, the harvest level is specified in the tool material area, so i think that tool class is no longer needed.
  11. I found it and opened it, but i didn't find anything helpful
  12. what was setToolClass replaced with, because I'm having trouble finding it.
  13. MetaBlock class package kakarotvg.omega.blocks; import java.util.List; import kakarotvg.omega.Reference; import net.minecraft.block.Block; import net.minecraft.block.material.Material; import net.minecraft.client.renderer.texture.IIconRegister; import net.minecraft.creativetab.CreativeTabs; import net.minecraft.item.Item; import net.minecraft.item.ItemStack; import net.minecraft.util.IIcon; import cpw.mods.fml.relauncher.Side; import cpw.mods.fml.relauncher.SideOnly; public class MetaBlock extends Block { public MetaBlock(Material material) { super(material); } @Override public int damageDropped(int par1) { return par1; } @SideOnly(Side.CLIENT) private IIcon[] icons; @SideOnly(Side.CLIENT) @Override public void registerIcons(IIconRegister register) { icons = new IIcon[3]; for (int i = 0; i < icons.length; i++) { icons[i] = register.registerIcon(Reference.MOD_ID + ":" + (this.getUnlocalizedName().substring(5)) + i); } } @SideOnly(Side.CLIENT) @Override public IIcon getIcon(int par1, int par2) { return icons[par2]; } @SideOnly(Side.CLIENT) @Override public void getSubBlocks(Item par1, CreativeTabs tab, List list) { for (int i = 0; i < 3; i++) { list.add(new ItemStack(par1, 1, i)); } } } "the line public void registerIcons(IIconRegister register) {" keeps saying remove @Override annotation, but the annotation needs to be there so whats wrong with the line here is what it says specifically "The method registerIcons(IIconRegister) of type MetaBlock must override or implement a super type method" im not sure what that means.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.