Jump to content

HydroBane

Members
  • Posts

    69
  • Joined

  • Last visited

Everything posted by HydroBane

  1. Does anyone know how I get more than one block/item from a crafting recipe? Like, 1 log gives 4 planks ~ Hydro
  2. Does anyone know how I get more than one block/item from a crafting recipe? Like, 1 log gives 4 planks ~ Hydro
  3. And that would go in my load event? Sorry for all the questions, forge modding isn't my strong point.
  4. And that would go in my load event? Sorry for all the questions, forge modding isn't my strong point.
  5. So... public class ItemSpear extends Item{ public final int damage; public ItemSpear(int id, int dmg){ damage = dmg } } is my ItemSpear.class, yes? I'm probably going to sound like a complete idiot here but; How, then, do I add textures to the individual spears?
  6. So... public class ItemSpear extends Item{ public final int damage; public ItemSpear(int id, int dmg){ damage = dmg } } is my ItemSpear.class, yes? I'm probably going to sound like a complete idiot here but; How, then, do I add textures to the individual spears?
  7. I want to create a spear for my mod, Mo Tools, and I was wondering how to create an ItemSpear.class to save myself the time of declaring all the properties individually in my IitemWoodenSpear.class, ItemStoneSpear.class etc.. Can anyone give me a hand? ~ Hydro
  8. I want to create a spear for my mod, Mo Tools, and I was wondering how to create an ItemSpear.class to save myself the time of declaring all the properties individually in my IitemWoodenSpear.class, ItemStoneSpear.class etc.. Can anyone give me a hand? ~ Hydro
  9. Not sure if this is the correct forum but; I'm looking for a texture artist for my mod "Mo' Tools". I you are interested or know somebody that would be, please PM me or comment in this thread ~ HydroBane
  10. Not sure if this is the correct forum but; I'm looking for a texture artist for my mod "Mo' Tools". I you are interested or know somebody that would be, please PM me or comment in this thread ~ HydroBane
  11. Yes, it would. Thanks!
  12. Is it possible for me to stop people being able to enchant my custom tool? Thanks in advance ~Hydro
  13. I think it is the forge version. I've updated and re-wrote my mod (I didn't get very far so it wasn't a long job), and it works. It was Forge version 1.5.1-7.7.1.629, just for future reference.
  14. It's probably silly but could anyone assist me on creating ores in The End? I have my WorldGenerator.class file, but I can't get an ore to generate in The End Thanks in advance ~Hydro
  15. I have found a fix, and while inconvenient; I've installed the very latest MCForge and re-written my mod, and it seems to have worked. If anyone can find a more convenient fix, I'd be grateful, but if not don't worry
  16. Yeah, sure; http://paste.minecraftforge.net/view/639c8c34 Stuck it on MCForge's paste-thingy, I didn't really want to spam 208 lines of java on here
  17. EDIT: I changed it to that. Still didn't work
  18. 13th line of azuritePickaxe.java: super(id, enumToolMaterial); 75th line of motools.java: azuritePickaxe = new azuritePickaxe(azuritePickaxeID, AZURITETOOL).setUnlocalizedName("azuritepickaxe"); Eclipse can't find any errors here, and neither can I really, so...?
  19. I'm creating a mod called Mo' Tools, and I keep getting a crash when using my own custom Tool Material. The crash report I'm getting is this: ---- Minecraft Crash Report ---- // Would you like a cupcake? Time: 09/04/13 14:44 Description: Failed to start game java.lang.NullPointerException at net.minecraft.item.ItemTool.<init>(ItemTool.java:30) at net.minecraft.item.ItemPickaxe.<init>(ItemPickaxe.java:13) at mods.hydro.motools.common.azuritePickaxe.<init>(azuritePickaxe.java:13) at mods.hydro.motools.common.motools.load(motools.java:75) 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 cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:515) 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:74) at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45) at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314) at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296) at com.google.common.eventbus.EventBus.post(EventBus.java:267) at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:165) 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:74) at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45) at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314) at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296) at com.google.common.eventbus.EventBus.post(EventBus.java:267) at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:98) at cpw.mods.fml.common.Loader.initializeMods(Loader.java:690) at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:206) at net.minecraft.client.Minecraft.startGame(Minecraft.java:444) at net.minecraft.client.MinecraftAppletImpl.startGame(MinecraftAppletImpl.java:44) at net.minecraft.client.Minecraft.run(Minecraft.java:729) at java.lang.Thread.run(Unknown Source) A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- System Details -- Details: Minecraft Version: 1.5.1 Operating System: Windows 7 (amd64) version 6.1 Java Version: 1.7.0_10, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 974807304 bytes (929 MB) / 1038876672 bytes (990 MB) up to 1038876672 bytes (990 MB) JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M 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.44 FML v5.1.13.629 Minecraft Forge 7.7.1.629 4 mods loaded, 4 mods active mcp [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized FML [Forge Mod Loader] (coremods) Unloaded->Constructed->Pre-initialized->Initialized Forge [Minecraft Forge] (coremods) Unloaded->Constructed->Pre-initialized->Initialized Mo_Tools [Mo' Tools] (bin) Unloaded->Constructed->Pre-initialized->Errored LWJGL: 2.4.2 OpenGL: AMD Radeon HD 6450 GL version 4.2.12002 Compatibility Profile Context 9.12.0.0, ATI Technologies Inc. Is Modded: Definitely; Client brand changed to 'fml,forge' Type: Client (map_client.txt) Texture Pack: Default Profiler Position: N/A (disabled) Vec3 Pool Size: ~~ERROR~~ NullPointerException: null I'm not sure why this is happening? I've followed numerous tutorials and they all say to do the same thing, but it doesn't work for me. I can use existing Tool Materials, such as EnumToolMaterial.IRON, but not custom ones. The line creating the Tool Material: public static EnumToolMaterial AZURITETOOL = EnumHelper.addToolMaterial("AZURITETOOL", 2, 400, 6.0F, 2, 14); And my tool load method: azuritePickaxe = new azuritePickaxe(azuritePickaxeID, AZURITETOOL).setUnlocalizedName("azuritepickaxe"); Can anyone help me? HydroBane
×
×
  • Create New...

Important Information

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