Posted April 23, 201411 yr Hello, I am currently working on a mod, and modding tutorials only go so far. I am trying to add custom seeds that you can get 1 of 3 ways, dropped from the grass (like wheat seeds), traded from villagers, and spawned in villages. if anyone can help me with any of these 3 that would be great i am using forge 9.11.1.964 and gradle, thank you in advanced
April 23, 201411 yr MinecraftForge.addGrassSeed(new ItemStack(myItem), weight); (weight is how often it should be dropped) VillagerRegistry.addEmeraldSellRecipe(); you'll have to add some parameters try to figure it out. My mod for futher awesomeness: http://www.minecraftforum.net/topic/1714396-the-decopack-collection-v010-wip-made-a-signature-new-snapshot-1-screenshots-are-up-small-snapshot-1-is-out-for-147/#entry21250399
April 23, 201411 yr Author Okay, the MinecraftForge.addGrassSeed(new ItemStack(myItem), weight); works perfectly, as for the VillagerRegistry.addEmeraldSellRecipe(); I am completly lost on this, I know a little bit, otherwise I would not even have a mod, but i am not sure how to use this or where it goes exactly, if you could explain it a little more i would be greatful.
April 23, 201411 yr Ohh, if you want to add loot too a dungeon chest/ mineshaft then use the ChestGenHooks.addDungeonlLoot(); The params should be fairly straight forward. I hope that helps. My mod for futher awesomeness: http://www.minecraftforum.net/topic/1714396-the-decopack-collection-v010-wip-made-a-signature-new-snapshot-1-screenshots-are-up-small-snapshot-1-is-out-for-147/#entry21250399
April 23, 201411 yr Author hey thanks, i will use that one, and the code you gave me led me to this http://www.minecraftforum.net/topic/1779997-forge-micros-151-slab-and-custom-trades/ thank you!
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.