Jump to content

iOppy

Members
  • Posts

    3
  • Joined

  • Last visited

Everything posted by iOppy

  1. Thanks Choonster this has fixed my problem... Also I tried learning java in several different places but none seem seem to stick recommend any places?
  2. Hello everyone today I bring an issue to the forums about an error I cannot seem to fix on my mod... Here is the code with the error package com.ioppy.industrialrevolution.init; import net.minecraft.item.Item; public class IndustrialRevolutionItems { public static Item pocket_watch; public static void register() { pocket_watch = new Item().setUnlocalizedName(pocket_watch); } } It is the line "pocket_watch = new Item().setUnlocalizedName(pocket_watch);" I keep getting the error: "The method setUnlocalizedName(String) in the type Item is not applicable for the arguments (Item)" As you can probably tell I am brand new to mod creation and I was hoping someone could help me resolve this so that I can learn from it.... Note: if you need to see any other part of my mod please let me know! Regards, ~Ops
×
×
  • Create New...

Important Information

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