Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 11/18/17 in all areas

  1. Ok, you coded your mod. Now you need to compile it. I don't know accurate instructions, but know how to compile mod. FIRST. Open your build.gradle file with notepad or something like notepad to change version and name of your Mod. (You may not do this) You can change this: version = "1.0" //any version, e.g. "8.46.1.1046 pre-alpha" group= "com.yourname.modid" // Not necessary, e.g. "megacrafter.mods.mybestmodevar" archivesBaseName = "modid" //Name of mod, e.g. "My Best Mod EVAR" save build.gradle and exit SECOND. Run gradlew.bat with command build In another words create bat-file if forge folder with gradlew.bat build and start it. Congratulations! Your mod compiled and in build folder. [spoiler=If you getting error while building on :deobf] First run gradlew.bat with command cleancache --refresh-dependencies (Just edit your bat-file to "gradlew.bat cleancache --refresh-dependencies") and paste this code to bottom of your build.gradle reobf {deobfFile = new net.minecraftforge.gradle.delayed.DelayedFile(project, "build/tmp/deobfBinJar/deobfed.jar") } If you getting error again reinstall forge acoording to my tutorial. Good luck with coding.
    1 point
  2. For reference, that is an error that is trapped with a try...catch block. As there is a sensible thing to do in the event of failure, the error is printed to the console and the game moves on with its life.
    1 point
  3. I think you also need an item model. Look at the cobblestone wall blockstate/models.
    1 point
  4. :'( I really need help with CSM Everytime I put it in my mods folder in .minecraft And I open minecraft it gets up to the Mojang screen thing then crashes showing this message Minecraft has crashed! ---------------------- Minecraft has stopped running because it encountered a problem; Failed to start game This error has been saved to C:\Users\N<MyName>\AppData\Roaming\.minecraft\crash-reports\crash-2012-10-01_22.58.42-client.txt for your convenience. Please include a copy of this file if you report this crash to anyone. --- BEGIN ERROR REPORT fca37ea4 -------- Generated 1/10/12 10:58 PM - Minecraft Version: 1.3.2 - Operating System: Windows 7 (x86) version 6.1 - Java Version: 1.6.0_35, Sun Microsystems Inc. - Java VM Version: Java HotSpot Client VM (mixed mode), Sun Microsystems Inc. - Memory: 426298664 bytes (406 MB) / 519110656 bytes (495 MB) up to 1037959168 bytes (989 MB) - JVM Flags: 2 total; -Xms512m -Xmx1024m - FML: FML v3.0.196.366 Minecraft Forge 4.1.1.251 3 mods loaded, 3 mods active FML [Forge Mod Loader] (coremods) Unloaded->Constructed Forge [Minecraft Forge] (coremods) Unloaded->Constructed ClaySoldiersMod [Clay Soldiers Mod] (minecraft.jar) Unloaded->Errored - LWJGL: 2.4.2 - OpenGL: Intel 965/963 Graphics Media Accelerator GL version 2.0.0 - Build 8.14.10.1930, Intel - Is Modded: Definitely; 'forge,fml' - Type: Client - Texture Pack: Default - Profiler Position: N/A (disabled) cpw.mods.fml.common.LoaderException: java.lang.ClassNotFoundException: SanAndreasP.mods.ClaySoldiersMod.CSM_ModRegistry at cpw.mods.fml.common.LoadController.transition(LoadController.java:102) at cpw.mods.fml.common.Loader.loadMods(Loader.java:459) at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:144) at net.minecraft.client.Minecraft.a(Minecraft.java:405) at net.minecraft.client.Minecraft.run(Minecraft.java:737) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.ClassNotFoundException: SanAndreasP.mods.ClaySoldiersMod.CSM_ModRegistry at cpw.mods.fml.relauncher.RelaunchClassLoader.findClass(RelaunchClassLoader.java:125) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at cpw.mods.fml.common.ModClassLoader.loadClass(ModClassLoader.java:57) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:341) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:69) at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45) at com.google.common.eventbus.EventBus.dispatch(EventBus.java:317) at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:300) at com.google.common.eventbus.EventBus.post(EventBus.java:268) at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:124) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:69) at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45) at com.google.common.eventbus.EventBus.dispatch(EventBus.java:317) at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:300) at com.google.common.eventbus.EventBus.post(EventBus.java:268) at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:81) at cpw.mods.fml.common.Loader.loadMods(Loader.java:458) ... 4 more Caused by: java.lang.NullPointerException at org.objectweb.asm.ClassReader.<init>(Unknown Source) at cpw.mods.fml.common.asm.transformers.SideTransformer.transform(SideTransformer.java:27) at cpw.mods.fml.relauncher.RelaunchClassLoader.runTransformers(RelaunchClassLoader.java:167) at cpw.mods.fml.relauncher.RelaunchClassLoader.findClass(RelaunchClassLoader.java:118) ... 31 more --- END ERROR REPORT f80c1a34 ---------- I have forge installed and it works but this comes up still
    1 point
×
×
  • Create New...

Important Information

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