Jump to content

Morpheus420

Forge Modder
  • Posts

    125
  • Joined

  • Last visited

Everything posted by Morpheus420

  1. Soooo wait this doesn't have anything to do with my actual problem?
  2. Ooookkkkaaayy so I pop this code into where exactly, the item class?
  3. ait but what does this have to do with the crafting recipe?
  4. But the thing is I just tried a tutorial and copied the code the person used and I can make a VANILLA item just fine in a different way that I programmed
  5. Ok but the thing is I am registering my textures the items have textures but if I try to craft the items then my game crashes
  6. Oh I need to get rid of that block so why does it keep crashing whenever I try to craft something from my mod?
  7. heres the whole class so you can see all of what ive done if that affects it:http://pastebin.com/5FTcqsFr
  8. I have done that when I first did it when I first made a recipe it worked but now that doesn't work so I'm not really sure
  9. Ok so whenever I try to craft an item from my mod my game crashes but also how would I make it so I can craft an item using an item from my mod? oh and btw heres the crash report:http://pastebin.com/JdAhYnBG
  10. Hi so how would I make it so I code it so I can craft with my modded items, I tried this:StormMastery.extraction,'D',Items.potionitem,'P'); but this doesn't work any ideas?
  11. Hi so I keep trying to get to my test world to ya know test heres the link to the crash report:http://pastebin.com/BUtaYq5H yeah please help guys
  12. Sory I didn't know what to do/how to code armour so I followed tutorial
  13. heres armour material:public static final ItemArmor.ArmorMaterial phsikArmourMaterial = EnumHelper.addArmorMaterial("phsikArmourMaterial", 0 ,new int[]{19,25,20,15}, 30); public static Item helmet; public static Item legs; public static Item chest; public static Item foot; aaaaand here foot = new ItemArmour(phsikArmourMaterial, 0, 0).setUnlocalizedName("foot").setTextureName("al:head").setCreativeTab(tabAlchimia); chest= new ItemArmour(phsikArmourMaterial, 0, 1).setUnlocalizedName("chest").setTextureName("al:chest").setCreativeTab(tabAlchimia); legs = new ItemArmour(phsikArmourMaterial, 0, 2).setUnlocalizedName("legs").setTextureName("al:legs").setCreativeTab(tabAlchimia); helmet = new ItemArmour(phsikArmourMaterial, 0, 3).setUnlocalizedName("helmet").setTextureName("al:boots").setCreativeTab(tabAlchimia);
  14. hi my armour wont protect and ive done this for my code any ideas why it wont? http://pastebin.com/iCmNSVmw
  15. Uhhm sorry if I'm being a bit thivk but do I need to debug my code then?
  16. so I gt an error whenever I load up mc in development heres the crash report:http://pastebin.com/e9ntjc3A
  17. Oh sorry to bother I just figured it out!
  18. SO like I said I have no package explorer showing for me any ideas on a fix?
  19. Ok so I registered it in my main class but I tried like the tutorial said so I did BiomeRegistry.mainregistry(); but that came up with erros so I then put in BiomeRegistry.StormMastery(); but it also came up with this error Syntax error on token "StormMastery", Identifier expected after this token, do I need to somehow identifie it like it says or something entirely different?
  20. Ok so the tutorial I am following Is talking about a main registery class but I don't have one of them should I just do what the tutorial says in my main class? heres the link to the tutorial:https://www.youtube.com/watch?v=PztKQPfFC54&list=PLQutSmhiLfZlxpv2R7JYCv0Ad63cXD0Nv&index=11
  21. Oh it works now thanks and for your info I am learning java
  22. So I get an error in my biome registry class here is what I have put so far and the error is here:public static BiomeGenBase Biomearcane; on the ; here is what it says package Morpheus420.StormMastery.biome; import net.minecraft.world.biome.BiomeGenBase; import net.minecraftforge.common.BiomeDictionary; import net.minecraftforge.common.BiomeDictionary.Type; import net.minecraftforge.common.BiomeManager; public class BiomeRegistry { public static void MainClass(){ initializeBiome(); registerBiome(); } public static BiomeGenBase Biomearcane; biomearcane = new BiomeGenarcane(137).setBiomeName("Arcane"); public static void initializeBiome(){ } public static void registerBiome(){ BiomeDictionary.registerBiomeType(Biomearcane,Type.FOREST); BiomeManager.addSpawnBiome(Biomearcane); } } Syntax error on token ";", , expected. ive tried adding in commas but it doesn't work any ideas?
  23. Oh god I posted the wrong report: ---- Minecraft Crash Report ---- // Ooh. Shiny. Time: 28/07/15 16:01 Description: Initializing game java.lang.NullPointerException: Initializing game at Morpheus420.StormMastery.StormMastery.preInit(StormMastery.java:149) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:513) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) at com.google.common.eventbus.EventBus.post(EventBus.java:275) at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:208) at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:187) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) at com.google.common.eventbus.EventBus.post(EventBus.java:275) at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:118) at cpw.mods.fml.common.Loader.preinitializeMods(Loader.java:513) at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:239) at net.minecraft.client.Minecraft.startGame(Minecraft.java:522) at net.minecraft.client.Minecraft.run(Minecraft.java:931) at net.minecraft.client.main.Main.main(Main.java:164) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) at net.minecraft.launchwrapper.Launch.main(Launch.java:28) at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source) at GradleStart.main(Unknown Source) A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- Head -- Stacktrace: at Morpheus420.StormMastery.StormMastery.preInit(StormMastery.java:149) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:513) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) at com.google.common.eventbus.EventBus.post(EventBus.java:275) at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:208) at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:187) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) at com.google.common.eventbus.EventBus.post(EventBus.java:275) at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:118) at cpw.mods.fml.common.Loader.preinitializeMods(Loader.java:513) at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:239) at net.minecraft.client.Minecraft.startGame(Minecraft.java:522) -- Initialization -- Details: Stacktrace: at net.minecraft.client.Minecraft.run(Minecraft.java:931) at net.minecraft.client.main.Main.main(Main.java:164) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) at net.minecraft.launchwrapper.Launch.main(Launch.java:28) at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source) at GradleStart.main(Unknown Source) -- System Details -- Details: Minecraft Version: 1.7.10 Operating System: Windows 8.1 (amd64) version 6.3 Java Version: 1.8.0_31, Oracle Corporation Java VM Version: Java HotSpot 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 214191064 bytes (204 MB) / 381681664 bytes (364 MB) up to 1881145344 bytes (1794 MB) JVM Flags: 0 total; AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0 FML: MCP v9.05 FML v7.10.85.1291 Minecraft Forge 10.13.2.1291 4 mods loaded, 4 mods active mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized FML{7.10.85.1291} [Forge Mod Loader] (forgeSrc-1.7.10-10.13.2.1291.jar) Unloaded->Constructed->Pre-initialized Forge{10.13.2.1291} [Minecraft Forge] (forgeSrc-1.7.10-10.13.2.1291.jar) Unloaded->Constructed->Pre-initialized al{1.0} [Alchimia] (bin) Unloaded->Constructed->Errored Launched Version: 1.7.10 LWJGL: 2.9.1 OpenGL: GeForce GTX 750/PCIe/SSE2 GL version 4.5.0 NVIDIA 353.30, NVIDIA Corporation GL Caps: Using GL 1.3
×
×
  • Create New...

Important Information

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