Jump to content

konxet

Members
  • Posts

    6
  • Joined

  • Last visited

Everything posted by konxet

  1. Hello. I was just wondering how you would go about making a custom tool repairable. Let's say I have an Obsidian Pickaxe (ModItems.obsidian_pickaxe) and I want to repair it with Obsidian (Blocks.obsidian) in an anvil. How might I do that? Best regards, Jarod Beau [email protected]
  2. At the moment, basically everything about them. I don't know how to get started.
  3. Yes, but I was really needing a walkthrough of a sort. I'm relatively new to Minecraft modding (other than items and blocks) and I don't have any previous experience working with things that aren't items and blocks. Like I said earlier, any help would be highly appreciated.
  4. Hi. I'm currently working on mod that will add a few new crops to the game. I've looked all over the place for info, but it seems there is no documentation. Anyway, any help with this would be highly appreciated. Thanks, Jarod Beau [email protected]
  5. Refer to this class: https://gist.github.com/zach-baldwin/54deb928658b720382fb
  6. Hi. I'm currently working on a Minecraft Forge 1.8 mod that I plan to release later this year. The mod involves new crops, and in order to obtain seeds for the new crops, you need to break regular grass blocks, just like getting wheat seeds. The problem is, the method of doing this has changed since I last worked with it. This is the code that I had before: @SubscribeEvent public void BlockDestroyed(HarvestDropsEvent event) { if (event.harvester != null) { if (event.block == Blocks.tallgrass)) { event.dropChance = (float) 0.3; event.drops.add(new ItemStack(CustomItems.tomato_seed, 1)); } } } This is how the class was registered: @Mod.EventHandler public static void preInit(FMLPreInitializationEvent event) { MinecraftForge.EVENT_BUS.register(new CustomEventHandlers()); } CustomEventHandlers is the name of the class where the events are contained. This doesn't appear to work in Minecraft Forge 1.8. Any help would be highly appreciated. Thanks in advance. - Jarod Beau [email protected]
×
×
  • Create New...

Important Information

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