Jump to content

coldblade2000

Members
  • Posts

    11
  • Joined

  • Last visited

Everything posted by coldblade2000

  1. It's not working either, I tried this: package tutorial.coldblademod; import net.minecraft.entity.passive.EntityPig; import net.minecraft.item.Item; import net.minecraft.world.World; import tutorial.coldblademod.ColdbladeMod; public class EntityDropCBMod extends EntityPig { public EntityDropCBMod(World par1World) { super(par1World); } protected void LivingDeathEvent(){ this.dropItem(ColdbladeMod.baconRawID, 2); } } But it doesn't drop anything. I've tried the LivingDeathEvent, LivingDropEvent and about other 5.
  2. I'm in 1.5 and I want to make my mod compatible with the mods folder.
  3. How do I do that?
  4. I'm having that problem too, eclipse doesn't show any error and I've already checked the names. package tutorial.coldblademod; import net.minecraft.block.*; import net.minecraft.block.material.Material; import net.minecraft.creativetab.CreativeTabs; import net.minecraft.item.Item; import net.minecraftforge.common.MinecraftForge; import cpw.mods.fml.common.Mod; import cpw.mods.fml.common.Mod.Init; import cpw.mods.fml.common.Mod.Instance; import cpw.mods.fml.common.Mod.PostInit; import cpw.mods.fml.common.Mod.PreInit; 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.network.NetworkMod; import cpw.mods.fml.common.registry.GameRegistry; import cpw.mods.fml.common.registry.LanguageRegistry; @Mod(modid="CBMod", name="ColdBlade2000's Mod", version="0.0.4") @NetworkMod(clientSideRequired=true, serverSideRequired=false) public class ColdbladeMod { public static Item muttonRaw; public static Item muttonCooked; public static Item baconRaw; public static Item baconCooked; public final static Block coalBlock = new BlockCoalBlock(500, Material.iron) .setHardness(0.5F).setStepSound(Block.soundMetalFootstep) .setUnlocalizedName("coalBlock").setCreativeTab(CreativeTabs.tabBlock); int muttonRawID = 801; int muttonCookedID = 802; int coalBlockID = 803; int baconRawID = 804; int baconCookedID = 805; // The instance of your mod that Forge uses. @Instance("CBMod") public static ColdbladeMod instance; // Says where the client and server 'proxy' code is loaded. @SidedProxy(clientSide="tutorial.coldblademod.client.ClientProxy", serverSide="tutorial.coldblademod.CommonProxy") public static CommonProxy proxy; @PreInit public void preInit(FMLPreInitializationEvent event) { // Stub Method } @Init public void load(FMLInitializationEvent event) { proxy.registerRenderers(); muttonRaw = new ItemMuttonRaw(muttonRawID, 3, 0.3F, true); LanguageRegistry.addName(muttonRaw, "Raw mutton"); muttonCooked = new ItemMuttonCooked(muttonCookedID, 8, 0.8F, true); LanguageRegistry.addName(muttonCooked, "Cooked Mutton"); baconRaw = new ItemBaconRaw(baconRawID, 3, 0.3F, true); LanguageRegistry.addName(baconRaw, "Raw Bacon"); baconCooked = new ItemBaconCooked(baconCookedID, 8, 0.8F, true); LanguageRegistry.addName(baconCooked, "Cooked Bacon"); LanguageRegistry.addName(coalBlock, "Block of Coal"); MinecraftForge.setBlockHarvestLevel(coalBlock, "pickaxe", 1); GameRegistry.registerBlock(coalBlock, "coalBlock"); } @PostInit public void postInit(FMLPostInitializationEvent event) { // Stub Method } }
  5. Nevermind, I found the problem. I added the name BEFORE I declared the variables.
  6. What could be causing this? I don't get any errors in eclipse. Also muttonRaw is properly decalred and the game runs fine without the names.
  7. Whenever I use LanguageRegistry.addName(muttonRaw, "Raw mutton"); the game crashed with the above log when starting the game.
  8. Do I select the latest universal download in http://files.minecraftforge.net/?
  9. So yeah, the title explains most of it. I am using magic launcher. This is the forge log: 2012-10-28 09:32:20 [iNFO] [ForgeModLoader] Forge Mod Loader version 4.2.6.422 for Minecraft 1.4.2 loading 2012-10-28 09:32:20 [FINEST] [ForgeModLoader] All core mods are successfully located 2012-10-28 09:32:20 [FINEST] [ForgeModLoader] Discovering coremods 2012-10-28 09:32:20 [FINEST] [ForgeModLoader] Found library file argo-2.25.jar present and correct in lib dir 2012-10-28 09:32:20 [FINEST] [ForgeModLoader] Found library file guava-12.0.1.jar present and correct in lib dir 2012-10-28 09:32:20 [FINEST] [ForgeModLoader] Found library file asm-all-4.0.jar present and correct in lib dir 2012-10-28 09:32:20 [FINEST] [ForgeModLoader] Running coremod plugins 2012-10-28 09:32:20 [FINEST] [ForgeModLoader] Running coremod plugin FMLCorePlugin 2012-10-28 09:32:20 [FINEST] [ForgeModLoader] Coremod plugin FMLCorePlugin run successfully 2012-10-28 09:32:20 [FINEST] [ForgeModLoader] Running coremod plugin FMLForgePlugin 2012-10-28 09:32:20 [FINEST] [ForgeModLoader] Coremod plugin FMLForgePlugin run successfully 2012-10-28 09:32:20 [FINEST] [ForgeModLoader] Validating minecraft 2012-10-28 09:32:20 [FINEST] [ForgeModLoader] Minecraft validated, launching... 2012-10-28 09:32:22 [iNFO] [sTDOUT] 27 achievements 2012-10-28 09:32:22 [iNFO] [sTDOUT] 208 recipes 2012-10-28 09:32:22 [iNFO] [sTDOUT] Setting user: [email protected], 195080163 2012-10-28 09:32:22 [iNFO] [sTDERR] Client asked for parameter: server 2012-10-28 09:32:22 [iNFO] [sTDOUT] LWJGL Version: 2.4.2 2012-10-28 09:32:23 [iNFO] [sTDOUT] OptiFine_1.4.2_HD_U_A7 2012-10-28 09:32:23 [iNFO] [sTDOUT] Sun Oct 28 09:32:23 COT 2012 2012-10-28 09:32:23 [iNFO] [sTDOUT] OS: Windows 7 (amd64) version 6.1 2012-10-28 09:32:23 [iNFO] [sTDOUT] Java: 1.7.0_05, Oracle Corporation 2012-10-28 09:32:23 [iNFO] [sTDOUT] VM: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation 2012-10-28 09:32:23 [iNFO] [sTDOUT] LWJGL: 2.4.2 2012-10-28 09:32:23 [iNFO] [sTDOUT] OpenGL: GeForce 9400/PCI/SSE2 version 3.3.0, NVIDIA Corporation 2012-10-28 09:32:23 [iNFO] [sTDOUT] OpenGL Version: 3.3 2012-10-28 09:32:23 [iNFO] [sTDOUT] Checking for new version 2012-10-28 09:32:24 [iNFO] [sTDOUT] Version found: A7 2012-10-28 09:32:24 [iNFO] [sTDOUT] setupTexture: "/title/mojang.png", id: 1 2012-10-28 09:32:24 [iNFO] [ForgeModLoader] Attempting early MinecraftForge initialization 2012-10-28 09:32:24 [iNFO] [sTDOUT] MinecraftForge v6.0.1.341 Initialized 2012-10-28 09:32:24 [iNFO] [ForgeModLoader] MinecraftForge v6.0.1.341 Initialized 2012-10-28 09:32:24 [iNFO] [ForgeModLoader] Completed early MinecraftForge initialization 2012-10-28 09:32:24 [iNFO] [ForgeModLoader] Forge Mod Loader has detected optifine OptiFine_1.4.2_HD_U_A7, enabling compatibility features 2012-10-28 09:32:24 [FINE] [ForgeModLoader] Building injected Mod Containers [cpw.mods.fml.common.FMLDummyContainer, net.minecraftforge.common.ForgeDummyContainer] 2012-10-28 09:32:24 [FINE] [ForgeModLoader] Attempting to load mods contained in the minecraft jar file and associated classes 2012-10-28 09:32:24 [FINE] [ForgeModLoader] Found a minecraft related file at G:\Windows\Downloads\OptiFine_1.4.2_HD_U_A7.zip, examining for mod candidates 2012-10-28 09:32:24 [FINE] [ForgeModLoader] Found a minecraft related file at G:\Windows\Downloads\[1.4.2]ReiMinimap_v3.2_05.zip, examining for mod candidates 2012-10-28 09:32:24 [FINE] [ForgeModLoader] Found a minecraft related file at G:\Windows\Downloads\minecraftforge-universal-6.0.1.341.zip, examining for mod candidates 2012-10-28 09:32:24 [FINE] [ForgeModLoader] Found a minecraft related file at C:\Users\Diego Granada\AppData\Roaming\.minecraft\bin\1.4\minecraft.jar, examining for mod candidates 2012-10-28 09:32:24 [FINE] [ForgeModLoader] Skipping known library file C:\Users\Diego Granada\AppData\Roaming\.minecraft\bin\jinput.jar 2012-10-28 09:32:24 [FINE] [ForgeModLoader] Skipping known library file C:\Users\Diego Granada\AppData\Roaming\.minecraft\bin\lwjgl.jar 2012-10-28 09:32:24 [FINE] [ForgeModLoader] Skipping known library file C:\Users\Diego Granada\AppData\Roaming\.minecraft\bin\lwjgl_util.jar 2012-10-28 09:32:24 [FINE] [ForgeModLoader] Skipping known library file C:\Users\Diego Granada\AppData\Roaming\.minecraft\lib\argo-2.25.jar 2012-10-28 09:32:24 [FINE] [ForgeModLoader] Skipping known library file C:\Users\Diego Granada\AppData\Roaming\.minecraft\lib\guava-12.0.1.jar 2012-10-28 09:32:24 [FINE] [ForgeModLoader] Skipping known library file C:\Users\Diego Granada\AppData\Roaming\.minecraft\lib\asm-all-4.0.jar 2012-10-28 09:32:24 [FINE] [ForgeModLoader] Minecraft jar mods loaded successfully 2012-10-28 09:32:24 [iNFO] [ForgeModLoader] Searching C:\Users\Diego Granada\AppData\Roaming\.minecraft\mods for mods 2012-10-28 09:32:24 [FINE] [ForgeModLoader] Found a candidate mod directory camerastudio 2012-10-28 09:32:24 [FINE] [ForgeModLoader] Ignoring unknown file CameraStudioV2.3(1.3.2).zipX in mods directory 2012-10-28 09:32:24 [FINE] [ForgeModLoader] Ignoring unknown file ElementalCreepers_v2.5_forge_MC1.3.2.zipX in mods directory 2012-10-28 09:32:24 [FINE] [ForgeModLoader] Ignoring unknown file Explosives+ v3.9 PreRelease 4.jarX in mods directory 2012-10-28 09:32:24 [FINE] [ForgeModLoader] Ignoring unknown file mFC.zipX in mods directory 2012-10-28 09:32:24 [FINE] [ForgeModLoader] Found a candidate mod directory mocreatures 2012-10-28 09:32:24 [FINE] [ForgeModLoader] Ignoring unknown file mods.zipX in mods directory 2012-10-28 09:32:24 [FINE] [ForgeModLoader] Found a candidate mod directory rei_minimap 2012-10-28 09:32:24 [FINE] [ForgeModLoader] Ignoring unknown file SoundPacksMod V2.0.jarX in mods directory 2012-10-28 09:32:24 [FINE] [ForgeModLoader] Ignoring unknown file TFCraft-Universal-Core-B2-Build52e.zipX in mods directory 2012-10-28 09:32:24 [FINE] [ForgeModLoader] Examining file OptiFine_1.4.2_HD_U_A7.zip for potential mods 2012-10-28 09:32:24 [FINE] [ForgeModLoader] The mod container OptiFine_1.4.2_HD_U_A7.zip appears to be missing an mcmod.info file 2012-10-28 09:32:24 [FINE] [ForgeModLoader] Examining file [1.4.2]ReiMinimap_v3.2_05.zip for potential mods 2012-10-28 09:32:24 [FINE] [ForgeModLoader] The mod container [1.4.2]ReiMinimap_v3.2_05.zip appears to be missing an mcmod.info file 2012-10-28 09:32:24 [FINE] [ForgeModLoader] Identified a BaseMod type mod mod_ReiMinimap 2012-10-28 09:32:24 [FINE] [ForgeModLoader] Examining file minecraftforge-universal-6.0.1.341.zip for potential mods 2012-10-28 09:32:24 [FINE] [ForgeModLoader] The mod container minecraftforge-universal-6.0.1.341.zip appears to be missing an mcmod.info file 2012-10-28 09:32:24 [FINE] [ForgeModLoader] Examining file minecraft.jar for potential mods 2012-10-28 09:32:24 [FINE] [ForgeModLoader] The mod container minecraft.jar appears to be missing an mcmod.info file 2012-10-28 09:32:25 [FINE] [ForgeModLoader] Examining directory camerastudio for potential mods 2012-10-28 09:32:25 [FINE] [ForgeModLoader] No mcmod.info file found in directory camerastudio 2012-10-28 09:32:25 [FINEST] [ForgeModLoader] Recursing into package path 2012-10-28 09:32:25 [FINE] [ForgeModLoader] Examining directory mocreatures for potential mods 2012-10-28 09:32:25 [FINE] [ForgeModLoader] No mcmod.info file found in directory mocreatures 2012-10-28 09:32:25 [FINE] [ForgeModLoader] Examining directory rei_minimap for potential mods 2012-10-28 09:32:25 [FINE] [ForgeModLoader] No mcmod.info file found in directory rei_minimap 2012-10-28 09:32:25 [iNFO] [ForgeModLoader] Forge Mod Loader has identified 4 mods to load 2012-10-28 09:32:25 [FINE] [ForgeModLoader] Received a system property request '' 2012-10-28 09:32:25 [FINE] [ForgeModLoader] System property request managing the state of 0 mods 2012-10-28 09:32:25 [FINE] [ForgeModLoader] After merging, found state information for 0 mods 2012-10-28 09:32:25 [FINE] [ForgeModLoader] Activating mod mcp 2012-10-28 09:32:25 [FINE] [ForgeModLoader] Activating mod FML 2012-10-28 09:32:25 [FINE] [ForgeModLoader] Activating mod Forge 2012-10-28 09:32:25 [FINE] [ForgeModLoader] Enabling mod mod_ReiMinimap 2012-10-28 09:32:25 [FINE] [ForgeModLoader] Activating mod mod_ReiMinimap 2012-10-28 09:32:25 [FINE] [ForgeModLoader] Verifying mod requirements are satisfied 2012-10-28 09:32:25 [FINE] [ForgeModLoader] All mod requirements are satisfied 2012-10-28 09:32:25 [FINE] [ForgeModLoader] Sorting mods into an ordered list 2012-10-28 09:32:25 [FINE] [ForgeModLoader] Mod sorting completed successfully 2012-10-28 09:32:25 [FINE] [ForgeModLoader] Mod sorting data: 2012-10-28 09:32:25 [FINE] [ForgeModLoader] mod_ReiMinimap(mod_ReiMinimap:Not available): [1.4.2]ReiMinimap_v3.2_05.zip () 2012-10-28 09:32:25 [FINER] [ForgeModLoader] Sending event FMLConstructionEvent to mod mcp 2012-10-28 09:32:25 [FINER] [ForgeModLoader] Sent event FMLConstructionEvent to mod mcp 2012-10-28 09:32:25 [FINER] [ForgeModLoader] Sending event FMLConstructionEvent to mod FML 2012-10-28 09:32:25 [FINER] [ForgeModLoader] Sent event FMLConstructionEvent to mod FML 2012-10-28 09:32:25 [FINER] [ForgeModLoader] Sending event FMLConstructionEvent to mod Forge 2012-10-28 09:32:25 [FINER] [ForgeModLoader] Sent event FMLConstructionEvent to mod Forge 2012-10-28 09:32:25 [FINER] [ForgeModLoader] Sending event FMLConstructionEvent to mod mod_ReiMinimap 2012-10-28 09:32:25 [FINE] [ForgeModLoader] No MLProp configuration for mod_ReiMinimap found or required. No file written 2012-10-28 09:32:25 [FINE] [ForgeModLoader] Injecting dummy network mod handler for BaseMod mod_ReiMinimap 2012-10-28 09:32:25 [FINE] [ForgeModLoader] Attempting to inject @SidedProxy classes into mod_ReiMinimap 2012-10-28 09:32:25 [FINER] [ForgeModLoader] Sent event FMLConstructionEvent to mod mod_ReiMinimap 2012-10-28 09:32:25 [FINER] [ForgeModLoader] Sending event FMLPreInitializationEvent to mod mcp 2012-10-28 09:32:25 [FINER] [ForgeModLoader] Sent event FMLPreInitializationEvent to mod mcp 2012-10-28 09:32:25 [FINER] [ForgeModLoader] Sending event FMLPreInitializationEvent to mod FML 2012-10-28 09:32:25 [FINER] [ForgeModLoader] Sent event FMLPreInitializationEvent to mod FML 2012-10-28 09:32:25 [FINER] [ForgeModLoader] Sending event FMLPreInitializationEvent to mod Forge 2012-10-28 09:32:25 [iNFO] [ForgeModLoader] Configured a dormant chunk cache size of 0 2012-10-28 09:32:25 [FINER] [ForgeModLoader] Sent event FMLPreInitializationEvent to mod Forge 2012-10-28 09:32:25 [FINER] [ForgeModLoader] Sending event FMLPreInitializationEvent to mod mod_ReiMinimap 2012-10-28 09:32:25 [FINER] [ForgeModLoader] Sent event FMLPreInitializationEvent to mod mod_ReiMinimap 2012-10-28 09:32:26 [iNFO] [sTDERR] Exception in thread "Minecraft main thread" java.lang.NoSuchMethodError: ix.a(Liz;)Lix; 2012-10-28 09:32:26 [iNFO] [sTDERR] at net.minecraft.client.Minecraft.a(Minecraft.java:434) 2012-10-28 09:32:26 [iNFO] [sTDERR] at net.minecraft.client.Minecraft.run(Minecraft.java:752) 2012-10-28 09:32:26 [iNFO] [sTDERR] at java.lang.Thread.run(Unknown Source) 2012-10-28 10:02:59 [iNFO] [sTDERR] Someone is closing me!
  10. I get this log on magic launcher: *** MagicMinecraftLauncher 1.0.0 *** Disable inactive mods Disabled: CameraStudioV2.3(1.3.2).zip Disabled: mFC.zip Disabled: TFCraft-Universal-Core-B2-Build52e.zip Disabled: Explosives+ v3.9 PreRelease 4.jar Disabled: SoundPacksMod V2.0.jar Disabled: ElementalCreepers_v2.5_forge_MC1.3.2.zip Disabled: mods.zip 2012-10-28 09:32:20 [iNFO] [ForgeModLoader] Forge Mod Loader version 4.2.6.422 for Minecraft 1.4.2 loading 2012-10-28 09:32:22 [iNFO] [sTDOUT] 27 achievements 2012-10-28 09:32:22 [iNFO] [sTDOUT] 208 recipes 2012-10-28 09:32:22 [iNFO] [sTDOUT] Setting user: [email protected], 195080163 2012-10-28 09:32:22 [iNFO] [sTDERR] Client asked for parameter: server 2012-10-28 09:32:22 [iNFO] [sTDOUT] LWJGL Version: 2.4.2 2012-10-28 09:32:23 [iNFO] [sTDOUT] OptiFine_1.4.2_HD_U_A7 2012-10-28 09:32:23 [iNFO] [sTDOUT] Sun Oct 28 09:32:23 COT 2012 2012-10-28 09:32:23 [iNFO] [sTDOUT] OS: Windows 7 (amd64) version 6.1 2012-10-28 09:32:23 [iNFO] [sTDOUT] Java: 1.7.0_05, Oracle Corporation 2012-10-28 09:32:23 [iNFO] [sTDOUT] VM: Java HotSpot 64-Bit Server VM (mixed mode), Oracle Corporation 2012-10-28 09:32:23 [iNFO] [sTDOUT] LWJGL: 2.4.2 2012-10-28 09:32:23 [iNFO] [sTDOUT] OpenGL: GeForce 9400/PCI/SSE2 version 3.3.0, NVIDIA Corporation 2012-10-28 09:32:23 [iNFO] [sTDOUT] OpenGL Version: 3.3 2012-10-28 09:32:23 [iNFO] [sTDOUT] Checking for new version 2012-10-28 09:32:24 [iNFO] [sTDOUT] Version found: A7 2012-10-28 09:32:24 [iNFO] [sTDOUT] setupTexture: "/title/mojang.png", id: 1 2012-10-28 09:32:24 [iNFO] [ForgeModLoader] Attempting early MinecraftForge initialization 2012-10-28 09:32:24 [iNFO] [sTDOUT] MinecraftForge v6.0.1.341 Initialized 2012-10-28 09:32:24 [iNFO] [ForgeModLoader] MinecraftForge v6.0.1.341 Initialized 2012-10-28 09:32:24 [iNFO] [ForgeModLoader] Completed early MinecraftForge initialization 2012-10-28 09:32:24 [iNFO] [ForgeModLoader] Forge Mod Loader has detected optifine OptiFine_1.4.2_HD_U_A7, enabling compatibility features 2012-10-28 09:32:24 [iNFO] [ForgeModLoader] Searching C:\Users\Diego Granada\AppData\Roaming\.minecraft\mods for mods 2012-10-28 09:32:25 [iNFO] [ForgeModLoader] Forge Mod Loader has identified 4 mods to load 2012-10-28 09:32:25 [iNFO] [ForgeModLoader] Configured a dormant chunk cache size of 0 2012-10-28 09:32:26 [iNFO] [sTDERR] Exception in thread "Minecraft main thread" java.lang.NoSuchMethodError: ix.a(Liz;)Lix; 2012-10-28 09:32:26 [iNFO] [sTDERR] at net.minecraft.client.Minecraft.a(Minecraft.java:434) 2012-10-28 09:32:26 [iNFO] [sTDERR] at net.minecraft.client.Minecraft.run(Minecraft.java:752) 2012-10-28 09:32:26 [iNFO] [sTDERR] at java.lang.Thread.run(Unknown Source)
×
×
  • Create New...

Important Information

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