Jump to content

Nikolater

Members
  • Posts

    7
  • Joined

  • Last visited

Converted

  • Gender
    Undisclosed
  • Personal Text
    I am new!

Nikolater's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. Ah Yes found it, was being silly and left Item and Block infront... Thank you!
  2. I just decided to look at the log and apparently the registry is not adding any of the recipes that I have made. Any tips for how I would fix that?
  3. Yeah I had tried registering it in the preInit before but it still didn't wok
  4. Its just as I said nothing crashes its just that when I try to use any of the recipes nothing comes up in the result box.
  5. Hey! Newtime modder here and I am having some trouble with getting recipes to work. I have looked through countless tutorials to see if I am doing anything wrong but to no avail. Here's my code. package nikolater.RiseOfAvnycyn; import net.minecraft.block.Block; import net.minecraft.block.Block.SoundType; import net.minecraft.block.material.Material; import net.minecraft.init.Blocks; import net.minecraft.init.Items; import net.minecraft.item.Item; import net.minecraft.item.ItemStack; import net.minecraft.item.crafting.FurnaceRecipes; import net.minecraftforge.common.ForgeHooks; import net.minecraftforge.common.MinecraftForge; import cpw.mods.fml.common.Mod; import cpw.mods.fml.common.Mod.EventHandler; import cpw.mods.fml.common.Mod.Instance; import cpw.mods.fml.common.SidedProxy; import cpw.mods.fml.common.event.FMLInitializationEvent; import cpw.mods.fml.common.event.FMLPostInitializationEvent; import cpw.mods.fml.common.event.FMLPreInitializationEvent; import cpw.mods.fml.common.registry.GameRegistry; @Mod (modid="ROA", name="RiseOfAvnycyn", version="0.0.0") public class RiseOfAvnycyn { @Instance(value="ROA") public static RiseOfAvnycyn instance; @SidedProxy(clientSide="nikolater.RiseOfAvnycyn.client.ClientProxy", serverSide="nikolater.RiseOfAvnycyn.CommonProxy") public static CommonProxy proxy; public static Item bronzeIngot; public static Item bronzeMeld; public static Block copperOre; public static Block tinOre; @EventHandler public void preInit(FMLPreInitializationEvent event) { Item bronzeIngot = new GenericItem(64, "BronzeIngot"); Item bronzeMeld = new GenericItem(64, "BronzeMeld"); Block copperOre = new GenericBlock(Material.rock, 2.0F, Block.soundTypeStone, "CopperOre", "pickaxe", 1); Block tinOre = new GenericBlock(Material.rock, 2.0F, Block.soundTypeStone, "TinOre", "pickaxe", 1); GameRegistry.registerItem(bronzeIngot, bronzeIngot.getUnlocalizedName()); GameRegistry.registerItem(bronzeMeld, bronzeMeld.getUnlocalizedName()); GameRegistry.registerBlock(copperOre, "CopperOre"); GameRegistry.registerBlock(tinOre, "TinOre"); } @EventHandler public void init(FMLInitializationEvent event) { proxy.registerRenderers(); ItemStack copperOreStack = new ItemStack(RiseOfAvnycyn.copperOre); ItemStack tinOreStack = new ItemStack(RiseOfAvnycyn.tinOre); GameRegistry.addShapelessRecipe(new ItemStack(RiseOfAvnycyn.bronzeMeld, 4), copperOreStack, copperOreStack, copperOreStack, tinOreStack); GameRegistry.addSmelting(RiseOfAvnycyn.bronzeMeld, new ItemStack(RiseOfAvnycyn.bronzeIngot), 1F); } @EventHandler public void postInit(FMLPostInitializationEvent event) { } }
  6. After I had copied the libraries from the .minecraft to my server i got this error.(The version of forge I am using is 1.6.4-9.11.0.881) 2013-09-21 10:19:43 [iNFO] [ForgeModLoader] Launching wrapped minecraft 2013-09-21 10:19:43 [iNFO] [sTDERR] A problem occurred running the Server launcher.java.lang.reflect.InvocationTargetException 2013-09-21 10:19:43 [iNFO] [sTDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2013-09-21 10:19:43 [iNFO] [sTDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) 2013-09-21 10:19:43 [iNFO] [sTDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 2013-09-21 10:19:43 [iNFO] [sTDERR] at java.lang.reflect.Method.invoke(Unknown Source) 2013-09-21 10:19:43 [iNFO] [sTDERR] at cpw.mods.fml.relauncher.ServerLaunchWrapper.run(ServerLaunchWrapper.java:48) 2013-09-21 10:19:43 [iNFO] [sTDERR] at cpw.mods.fml.relauncher.ServerLaunchWrapper.main(ServerLaunchWrapper.java:17) 2013-09-21 10:19:43 [iNFO] [sTDERR] Caused by: java.lang.NoSuchFieldError: blackboard 2013-09-21 10:19:43 [iNFO] [sTDERR] at cpw.mods.fml.common.launcher.FMLTweaker.getLaunchArguments(FMLTweaker.java:73) 2013-09-21 10:19:43 [iNFO] [sTDERR] at net.minecraft.launchwrapper.Launch.launch(Launch.java:57) 2013-09-21 10:19:43 [iNFO] [sTDERR] at net.minecraft.launchwrapper.Launch.main(Launch.java:18) 2013-09-21 10:19:43 [iNFO] [sTDERR] ... 6 more
×
×
  • Create New...

Important Information

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