Jump to content

TorchicBlaziken

Members
  • Posts

    14
  • Joined

  • Last visited

Everything posted by TorchicBlaziken

  1. That particular code for ReflectionHelper isn't valid, so I just did ModLoader instead and it worked. The OP's issue is solved, but I still want to find out how to make it a coremod.
  2. I didn't know about that. How do I do that? Although I doubt it'd solve the problem I'm having now, I am interested in doing this. The class that I edit is WorldGenPumpkin.
  3. Since I couldn't get the mod to not edit any base classes, I ended up just having it be a jar mod for now. Since it was working perfectly in Eclipse, I thought I was finally ready to release my first Forge mod. But, when I recompiled it, reobfuscated it, and installed it on my game, it crashed. This is my mod file: It seems to be tripping up at the part where I set the pumpkin stem to grow my custom pumpkin instead of the vanilla pumpkin.
  4. This is something I am interested in as well. Something I would also like is being able to set an item or block so that if it is on your head, an Enderman won't attack you if you look at one, also like a pumpkin. That way we can have that functionality on our custom block helmet. (And we could have blocks that go on your head that don't do this.)
  5. If I were satisfied with letting my mod go in the jar instead of the mods folder, I would release it now. But there is one base class that I still haven't found out how to get away with not editing. I've made the game load a custom class in place of BlockPumpkin, but I don't know how to do the same with WorldGenPumpkin.
  6. I figured it out. The code I needed was: ModLoader.setPrivateValue(net.minecraft.src.BlockStem.class, (BlockStem)Block.pumpkinStem, "fruitType", realPumpkin);
  7. How exactly would I use this to make the particles based off the top texture instead? EDIT: This is unrelated, but how do I remove a vanilla recipe? I know it has something to do with CraftingManager but I don't know how to remove a recipe from the mod file.
  8. I want to change a property of a block that is defined in the Block class, but I don't know how to do that without editing the base class. There must be some way for Forge to remove it and then put it back in again. The block in question is the pumpkin stem. I don't want to edit the BlockStem class, just change the FruitType of the pumpkin stem.
  9. Particle textures for blocks don't work for blocks from Forestry and some other mods I know. There should be a hook to change what the textures are for the particles the block will have when you break it or sprint on it. It also bugged me personally as a modder when the particles from my mod block were taken from the bottom texture and it looked ugly, and I wished I could set them to be taken from another texture.
  10. An issue that I have with the main menu in Forge is that if you add more buttons to it, it will cover up the words on the bottom left. OK, it doesn't do that when I increase the window size (I'm on Mac), but it still irks me every time I load up Minecraft. In this image I have the Sound Packs mod, and it adds a "Sound Packs" button to another row, so the "Language" and "Options..." buttons cover up the words. (I also didn't like that the "Mods" button got to be next to "Texture Packs" and the "Sound Packs" button didn't.) That could be a lot more compact. So I decided to play around with MCP to see just how compact you could make it. I put "Singleplayer" and "Multiplayer" on one row (which makes logical sense) and put the "Mods" button next to "Options..." instead of "Quit Game". I made a new icon-based "Quit Game" button to the right of "Mods", just like the "Language" icon button is to the left of "Options...". I don't see how I could make this into an actual mod compatible with Forge, Forge mods that add more buttons, and Sound Packs. I just copy-pasted the "Destroy Item" button into gui.png because I am not good at making textures, and it was only going to be used in this screenshot. My initial plan was to make the "Mods" button icon-based and keep the "Quit Game" button where it is, but I changed my mind when I realized that people wouldn't understand what it did unless they clicked it. Quitting, on the other hand, is something that every computer user can understand if it's symbolized with an X. Besides, while making an icon symbolizing mods might be possible, it would be way too hard for me to make hackily and lazily. This is what the above would look like if the Sound Packs mod had the "Sound Packs" button next to "Texture Packs". And the "Sound Packs" button just goes to the mod list because it doesn't matter, it's just for a screenshot. As you might notice, my resolution for Eclipse testing the workspace is bigger than my resolution for loading up Minecraft. With this compact main menu, you would be able to add another row of buttons before it started covering up any words, not including the "Sound Packs" button. Also, the existence of the icon-based "Quit Game" button would make it more symmetrical.
  11. Well, I had the bin folder and decompiling the client worked perfectly, it was only when it got to the server that things started going wrong.
  12. I am using minecraftforge-src-4.1.1.251, and a minecraft_server.jar straight from minecraft.net. Also mcp72. When I try to run install.sh, it says that the server jar is modified, but it isn't. When I go ahead anyway, it says this: == MCP 7.2 (data: 7.2, client: 1.3.2, server: 1.3.2) == # found ff, ff patches, srgs, name csvs, doc csvs, param csvs, renumber csv, astyle, astyle config > Creating Retroguard config files == Decompiling client using fernflower == > Creating SRGs > Applying Retroguard > Compiling AccessTransformer > Compiling MCPMerger > Running MCPMerger Exception in thread "main" java.lang.IndexOutOfBoundsException: Index: 3, Size: 2 at java.util.ArrayList.add(ArrayList.java:367) at cpw.mods.fml.common.asm.transformers.MCPMerger.processFields(MCPMerger.java:468) at cpw.mods.fml.common.asm.transformers.MCPMerger.processClass(MCPMerger.java:384) at cpw.mods.fml.common.asm.transformers.MCPMerger.processJar(MCPMerger.java:217) at cpw.mods.fml.common.asm.transformers.MCPMerger.main(MCPMerger.java:107) Decompile Exception: 1
  13. I think there should be a hook for adding new blocks to the list of blocks that can't be destroyed by the Ender Dragon. This would be good for adding new blocks to the End. I thought of it when I noticed that the Dragon destroyed End Hives from Forestry.
  14. For me, Rei's Minimap will not work with Forge. First I install Forge, then Rei's Minimap. But whenever I load the game, it gets to the Mojang screen and doesn't do anything. It doesn't even go to an error screen. I normally use MCPatcher because of the auto-updating Dynamic Lights, but I used Magic Launcher and the exact same thing happened. For the sake of the test I did no other mod but Forge and Rei's Minimap. I am also on Mac. Log: 2012-08-24 18:45:42 [iNFO] [ForgeModLoader] Forge Mod Loader version 3.0.80.291 for Minecraft client:1.3.2, server:1.3.2 loading 2012-08-24 18:45:42 [FINEST] [ForgeModLoader] All core mods are successfully located 2012-08-24 18:45:42 [FINEST] [ForgeModLoader] Discovering coremods 2012-08-24 18:45:42 [FINEST] [ForgeModLoader] Found library file argo-2.25.jar present and correct in lib dir 2012-08-24 18:45:42 [FINEST] [ForgeModLoader] Found library file guava-12.0.1.jar present and correct in lib dir 2012-08-24 18:45:42 [FINEST] [ForgeModLoader] Found library file asm-all-4.0.jar present and correct in lib dir 2012-08-24 18:45:42 [FINEST] [ForgeModLoader] Running coremod plugins 2012-08-24 18:45:42 [FINEST] [ForgeModLoader] Running coremod plugin FMLCorePlugin 2012-08-24 18:45:42 [FINEST] [ForgeModLoader] Coremod plugin FMLCorePlugin run successfully 2012-08-24 18:45:42 [FINEST] [ForgeModLoader] Running coremod plugin FMLForgePlugin 2012-08-24 18:45:42 [FINEST] [ForgeModLoader] Coremod plugin FMLForgePlugin run successfully 2012-08-24 18:45:42 [FINEST] [ForgeModLoader] Validating minecraft 2012-08-24 18:45:42 [FINEST] [ForgeModLoader] Minecraft validated, launching... 2012-08-24 18:45:43 [iNFO] [sTDOUT] MCPatcherUtils initialized. Directory /Users/AV/Library/Application Support/minecraft 2012-08-24 18:45:44 [iNFO] [sTDOUT] 27 achievements 2012-08-24 18:45:44 [iNFO] [sTDOUT] 195 recipes 2012-08-24 18:45:44 [iNFO] [sTDOUT] Setting user: TorchicBlaziken, 5e84756edf451a9ddbc501d4b372c67bdb4ca05e 2012-08-24 18:45:44 [iNFO] [sTDOUT] LWJGL Version: 2.4.2 2012-08-24 18:45:45 [iNFO] [ForgeModLoader] Attempting early MinecraftForge initialization 2012-08-24 18:45:45 [iNFO] [ForgeModLoader] Completed early MinecraftForge initialization 2012-08-24 18:45:45 [FINE] [ForgeModLoader] Building injected Mod Containers [cpw.mods.fml.common.FMLDummyContainer, net.minecraftforge.common.ForgeDummyContainer] 2012-08-24 18:45:45 [FINE] [ForgeModLoader] Attempting to load mods contained in the minecraft jar file and associated classes 2012-08-24 18:45:45 [FINE] [ForgeModLoader] Skipping known library file /Users/redacted/Library/Application Support/minecraft/bin/lwjgl.jar 2012-08-24 18:45:45 [FINE] [ForgeModLoader] Skipping known library file /Users/redacted/Library/Application Support/minecraft/bin/jinput.jar 2012-08-24 18:45:45 [FINE] [ForgeModLoader] Skipping known library file /Users/redacted/Library/Application Support/minecraft/bin/lwjgl_util.jar 2012-08-24 18:45:45 [FINE] [ForgeModLoader] Found a minecraft related file at /Users/redacted/Library/Application Support/minecraft/bin/minecraft.jar, examining for mod candidates 2012-08-24 18:45:45 [FINE] [ForgeModLoader] Skipping known library file /Users/redacted/Library/Application Support/minecraft/lib/argo-2.25.jar 2012-08-24 18:45:45 [FINE] [ForgeModLoader] Skipping known library file /Users/redacted/Library/Application Support/minecraft/lib/guava-12.0.1.jar 2012-08-24 18:45:45 [FINE] [ForgeModLoader] Skipping known library file /Users/redacted/Library/Application Support/minecraft/lib/asm-all-4.0.jar 2012-08-24 18:45:45 [FINE] [ForgeModLoader] Minecraft jar mods loaded successfully 2012-08-24 18:45:45 [iNFO] [ForgeModLoader] Searching /Users/redacted/Library/Application Support/minecraft/mods for mods 2012-08-24 18:45:46 [FINE] [ForgeModLoader] Ignoring unknown file .DS_Store in mods directory 2012-08-24 18:45:46 [FINE] [ForgeModLoader] Found a candidate mod directory daftpvf 2012-08-24 18:45:46 [FINE] [ForgeModLoader] Found a candidate mod directory mocreatures 2012-08-24 18:45:46 [FINE] [ForgeModLoader] Found a candidate mod directory rei_minimap 2012-08-24 18:45:46 [FINE] [ForgeModLoader] Examining file minecraft.jar for potential mods 2012-08-24 18:45:46 [FINER] [ForgeModLoader] Located mcmod.info file in file minecraft.jar 2012-08-24 18:45:47 [FINE] [ForgeModLoader] Identified a BaseMod type mod mod_ReiMinimap 2012-08-24 18:45:47 [FINE] [ForgeModLoader] Examining directory daftpvf for potential mods 2012-08-24 18:45:48 [iNFO] [ForgeModLoader] No mcmod.info file found in directory daftpvf 2012-08-24 18:45:48 [FINE] [ForgeModLoader] Examining directory mocreatures for potential mods 2012-08-24 18:45:48 [iNFO] [ForgeModLoader] No mcmod.info file found in directory mocreatures 2012-08-24 18:45:49 [FINE] [ForgeModLoader] Examining directory rei_minimap for potential mods 2012-08-24 18:45:49 [FINE] [ForgeModLoader] Found an mcmod.info file in directory rei_minimap 2012-08-24 18:45:49 [iNFO] [ForgeModLoader] Forge Mod Loader has identified 3 mods to load 2012-08-24 18:45:49 [FINE] [ForgeModLoader] Received a system property request '' 2012-08-24 18:45:49 [FINE] [ForgeModLoader] System property request managing the state of 0 mods 2012-08-24 18:45:49 [FINE] [ForgeModLoader] After merging, found state information for 0 mods 2012-08-24 18:45:49 [FINE] [ForgeModLoader] Verifying mod requirements are satisfied 2012-08-24 18:45:49 [FINE] [ForgeModLoader] All mod requirements are satisfied 2012-08-24 18:45:49 [FINE] [ForgeModLoader] Sorting mods into an ordered list 2012-08-24 18:45:49 [FINE] [ForgeModLoader] Mod sorting completed successfully 2012-08-24 18:45:49 [FINE] [ForgeModLoader] Mod sorting data: 2012-08-24 18:45:49 [FINE] [ForgeModLoader] mod_ReiMinimap(mod_ReiMinimap): minecraft.jar () 2012-08-24 18:45:49 [FINE] [ForgeModLoader] Activating mod FML 2012-08-24 18:45:49 [FINE] [ForgeModLoader] Activating mod Forge 2012-08-24 18:45:49 [FINE] [ForgeModLoader] Enabling mod mod_ReiMinimap 2012-08-24 18:45:49 [FINE] [ForgeModLoader] Activating mod mod_ReiMinimap 2012-08-24 18:45:49 [FINER] [ForgeModLoader] Posting state event cpw.mods.fml.common.event.FMLConstructionEvent@2207b0fb to mod FML 2012-08-24 18:45:49 [FINER] [ForgeModLoader] State event cpw.mods.fml.common.event.FMLConstructionEvent@2207b0fb delivered to mod FML 2012-08-24 18:45:49 [FINER] [ForgeModLoader] Posting state event cpw.mods.fml.common.event.FMLConstructionEvent@2207b0fb to mod Forge 2012-08-24 18:45:49 [FINER] [ForgeModLoader] State event cpw.mods.fml.common.event.FMLConstructionEvent@2207b0fb delivered to mod Forge 2012-08-24 18:45:49 [FINER] [ForgeModLoader] Posting state event cpw.mods.fml.common.event.FMLConstructionEvent@2207b0fb to mod mod_ReiMinimap 2012-08-24 18:45:49 [FINE] [ForgeModLoader] No MLProp configuration for mod_ReiMinimap found or required. No file written 2012-08-24 18:45:49 [iNFO] [sTDERR] Exception in thread "Minecraft main thread" java.lang.NoSuchMethodError: ModLoader.setInGameHook(LBaseMod;ZZ)Z 2012-08-24 18:45:49 [iNFO] [sTDERR] at mod_ReiMinimap.<init>(mod_ReiMinimap.java:12) 2012-08-24 18:45:49 [iNFO] [sTDERR] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) 2012-08-24 18:45:49 [iNFO] [sTDERR] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) 2012-08-24 18:45:49 [iNFO] [sTDERR] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) 2012-08-24 18:45:49 [iNFO] [sTDERR] at java.lang.reflect.Constructor.newInstance(Constructor.java:513) 2012-08-24 18:45:49 [iNFO] [sTDERR] at java.lang.Class.newInstance0(Class.java:355) 2012-08-24 18:45:49 [iNFO] [sTDERR] at java.lang.Class.newInstance(Class.java:308) 2012-08-24 18:45:49 [iNFO] [sTDERR] at cpw.mods.fml.common.modloader.ModLoaderModContainer.constructMod(ModLoaderModContainer.java:486) 2012-08-24 18:45:49 [iNFO] [sTDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2012-08-24 18:45:49 [iNFO] [sTDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 2012-08-24 18:45:49 [iNFO] [sTDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 2012-08-24 18:45:49 [iNFO] [sTDERR] at java.lang.reflect.Method.invoke(Method.java:597) 2012-08-24 18:45:49 [iNFO] [sTDERR] at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:69) 2012-08-24 18:45:49 [iNFO] [sTDERR] at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45) 2012-08-24 18:45:49 [iNFO] [sTDERR] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:317) 2012-08-24 18:45:49 [iNFO] [sTDERR] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:300) 2012-08-24 18:45:49 [iNFO] [sTDERR] at com.google.common.eventbus.EventBus.post(EventBus.java:268) 2012-08-24 18:45:49 [iNFO] [sTDERR] at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:123) 2012-08-24 18:45:49 [iNFO] [sTDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2012-08-24 18:45:49 [iNFO] [sTDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 2012-08-24 18:45:49 [iNFO] [sTDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 2012-08-24 18:45:49 [iNFO] [sTDERR] at java.lang.reflect.Method.invoke(Method.java:597) 2012-08-24 18:45:49 [iNFO] [sTDERR] at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:69) 2012-08-24 18:45:49 [iNFO] [sTDERR] at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45) 2012-08-24 18:45:49 [iNFO] [sTDERR] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:317) 2012-08-24 18:45:49 [iNFO] [sTDERR] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:300) 2012-08-24 18:45:49 [iNFO] [sTDERR] at com.google.common.eventbus.EventBus.post(EventBus.java:268) 2012-08-24 18:45:49 [iNFO] [sTDERR] at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:81) 2012-08-24 18:45:49 [iNFO] [sTDERR] at cpw.mods.fml.common.Loader.loadMods(Loader.java:408) 2012-08-24 18:45:49 [iNFO] [sTDERR] at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:133) 2012-08-24 18:45:49 [iNFO] [sTDERR] at net.minecraft.client.Minecraft.a(Minecraft.java:402) 2012-08-24 18:45:49 [iNFO] [sTDERR] at net.minecraft.client.Minecraft.run(Minecraft.java:734) 2012-08-24 18:45:49 [iNFO] [sTDERR] at java.lang.Thread.run(Thread.java:680) EDIT: When I clicked the Edit button to find a related topic, I found someone who had the same problem as me, and fixed it by redownloading Rei's Minimap. I did the same, and it actually worked...! I think I've figured out what happened. Rei must have updated the mod, using the same version number and download URL, without telling people on the forums.
×
×
  • Create New...

Important Information

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