Jump to content

Eyowin

Members
  • Posts

    15
  • Joined

  • Last visited

Converted

  • Gender
    Undisclosed
  • Personal Text
    People tell me that I'm to smart for my own good.

Eyowin's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. diesieben07: thanks you for your attempt to help me, but the location you gave me for the textures did not work. If you have any other suggestions I would be glad to hear them. elantzb: Thanks, I wasn't aware that I even need to have the unlocalized names on my items. I am going to put them in and see if it solves the problem. EDIT: elantzb I went through and added int eh unlocalized names for all of the blocks and items, and it solved the crashing problem. I have still not been able to find the correct location for the texture files though. Any help would be greatly appreciated. EDIT: I looked at the newly generated error report after adding in the unlocalized names and I was able to discover something. The location for the texture files given to be me diesieben07 was correct, but in the code I had added the file extension to the names so it was looking for item.png.png instead of just item.png. I removed the extra code and it works great. Thanks to you both for all your help.
  2. Okay, so I have two problems. The first problem is that i can't figure out where I need to put my textures to get them to work. I know that they need to be in mods/usefull_cobble/textures/blocks or /items but I can't figure out where to put the /mods folder. For my second problem I would direct you to the attached fml log file. If you scroll to the bottom of the file, there is an error there that is preventing my Minecraft from starting. I have never seen this error before, and I haven't been able to figure out exactly what it is saying is the problem. If it is related to the first problem, then please refer back to the aforementioned problem. Any and all assistance would be greatly appreciated. EDIT: The attachment is not working, so here is a link to the file. https://dl.dropbox.com/u/45954436/ForgeModLoader-client-0.log
  3. It is not a problem with the IDs, I would be able to recognize that. Plus I have all of the IDs, and they are not all 0. I don't understand what it means when it says Slot 0, or how to change which slot it is going into. I would really love some help from someone.
  4. Hey, I have added a config file to my mod, and after fixing around a dozen other things, I am stumped by this. Here is the error report. If anybody can help me, I would greatly appreciate it.
  5. Muse, my original post had very little info because I had very little info, and the whole point of posting it was to get help in finding out what the problem was. I have figured out what the problem is and it has been fixed. It was just a simple problem with the way the mod files were organized. I no longer need help.
  6. I'm not entirely sure what you just said, but I do know that it was in no way helpful to me. Also... sorry that the error report was not hidden. I meant to have it that way, but I was having some serious trouble with getting this post to go through at all. If anybody out there can help me I would really appreciate it.
  7. I have been working on updating my mod recently, but I have run into an issue. Here is the page that I am given upon the crash of Minecraft when I try and run it with my mod installed. [hide] Minecraft has crashed! ---------------------- Minecraft has stopped running because it encountered a problem; Failed to start game A full error report has been saved to C:\Users\Dawson\AppData\Roaming\.minecraft\crash-reports\crash-2013-01-06_22.41.28-client.txt - Please include a copy of that file (Not this screen!) if you report this crash to anyone; without it, they will not be able to help fix the crash --- BEGIN ERROR REPORT d7808cbe -------- Full report at: C:\Users\Dawson\AppData\Roaming\.minecraft\crash-reports\crash-2013-01-06_22.41.28-client.txt Please show that file to Mojang, NOT just this screen! Generated 1/6/13 10:41 PM -- System Details -- Details: Minecraft Version: 1.4.6 Operating System: Windows 7 (amd64) version 6.1 Java Version: 1.7.0_02, Oracle Corporation Java VM Version: Java HotSpot 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 430478592 bytes (410 MB) / 514523136 bytes (490 MB) up to 954466304 bytes (910 MB) JVM Flags: 2 total; -Xms512m -Xmx1024m AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used Suspicious classes: FML and Forge are installed IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0 FML: MCP v7.25 FML v4.6.12.511 Minecraft Forge 6.5.0.467 4 mods loaded, 4 mods active mcp [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed FML [Forge Mod Loader] (coremods) Unloaded->Constructed Forge [Minecraft Forge] (coremods) Unloaded->Constructed mod_Usefull_Cobble [mod_Usefull_Cobble] (usefull_cobble1.11.1[1.4.6].zip) 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; Client brand changed to 'forge,fml' Type: Client (map_client.txt) Texture Pack: Default Profiler Position: N/A (disabled) Vec3 Pool Size: ~~ERROR~~ NullPointerException: null cpw.mods.fml.common.LoaderException: java.lang.ClassNotFoundException: net.minecraft.usefull_cobble.mod_Usefull_Cobble at cpw.mods.fml.common.LoadController.transition(LoadController.java:117) at cpw.mods.fml.common.Loader.loadMods(Loader.java:484) at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:161) at net.minecraft.client.Minecraft.a(Minecraft.java:410) at asq.a(SourceFile:56) at net.minecraft.client.Minecraft.run(Minecraft.java:744) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.ClassNotFoundException: net.minecraft.usefull_cobble.mod_Usefull_Cobble at cpw.mods.fml.relauncher.RelaunchClassLoader.findClass(RelaunchClassLoader.java:179) 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.ModClassLoader.loadBaseModClass(ModClassLoader.java:87) at cpw.mods.fml.common.modloader.ModLoaderModContainer.constructMod(ModLoaderModContainer.java:489) 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:140) 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:83) at cpw.mods.fml.common.Loader.loadMods(Loader.java:478) ... 5 more Caused by: java.lang.NullPointerException at cpw.mods.fml.relauncher.RelaunchClassLoader.findClass(RelaunchClassLoader.java:172) ... 33 more --- END ERROR REPORT e157adf9 ---------- [/hide] I don't know what is wrong since the code gives me no errors, and it runs fine when I use Eclipse(pre-recompilation). If anyone cab help me out I would be very grateful. And for some reason the forum won't let me upload crash report file, so if anybody wants to see it(it says the same thing as what is written above) I can upload it somewhere else and post a link to it here.
  8. You were on the right track with the first thing you tried. You just need to add on to your if statement when it checks the ID of the block you are clicking on. You need to make it so that it will check to make sure that they block you are clicking on is your FarmField, and check that it is not Grass or Dirt it would look something like this protected boolean canThisPlantGrowOnThisBlockID(int i) { return i == Mod_Mark136.FarmField.blockID i != Block.Dirt && i != Block.Grass; } I'm not sure if that is exactly correct, but it will be something like that.
  9. I didn't know that, thanks. I will add this in and hope it works. Thanks again.
  10. tarun1998 I'm not sure what you mean. I am new to using forge so I'm still getting familiar with how it works.
  11. I have switched over from using a gazillion @overrides and using to many sprite indices to using a sprite sheet, but now I have a new problem. I have looked at several tutorials and as far as I can tell I have the code correctly written, but when I start the game, the textures for the items get loaded from the default mineraft Item sprites, meaning that all of the pictures are wrong and some of them get no image at all since the spot used in my sprite sheet are empty on the default one. If you want to see my code, I can upload it. Please help me get this fixed.
  12. now that I know what the problem is, I have been able to fix it. I have made a sprite sheet, and will use that from now on. Thank you for all of your help.
  13. This mod was originally a ModLoader mod, so I had to use a sprite for each one. I totaled to be somewhere around 60 or 70. Thanks for you help.
  14. I am the creator of the Usefull_Cobble mod, and I wanted to switch from ModLoader to FML, but when I try and run Minecraft through eclipse (so that I can test my mod) I get an error. I checked after installing Forge into my mcp and Minecraft was able to run just fine, but after adding in my mod, it no longer works. I have checked for errors in the code, but eclipse doesn't show any. Here is the error that is given when trying to run: If more info is needed, just let me know and I will happily provide. I would like to get this problem fixed soon, so that I can update my mod once again.
×
×
  • Create New...

Important Information

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