Jump to content

killerjdog51

Members
  • Posts

    56
  • Joined

  • Last visited

Everything posted by killerjdog51

  1. ahhh, i see now. i didnt notice before, thank you. so how do you actually have it brew the potion when you insert a certain item. am i supose to use an If statement?
  2. Ok, so am i suppose to subscribe it like this? package com.Deer.Main; import cpw.mods.fml.common.eventhandler.SubscribeEvent; import com.Deer.Item.Items; import net.minecraft.item.ItemStack; import net.minecraftforge.common.MinecraftForge; import net.minecraftforge.event.brewing.PotionBrewedEvent; public class PotionEventHandler{ @SubscribeEvent public void PotionEventHandler(ItemStack[] brewingStacks) { } }
  3. Alright, so im trying to brew a custom potion using the resistance effect in the game (a resistance potion) and to do that im trying to use the PotionBrewedEvent. the problem is im not exactly sure how to use this event or how it works... but this is my code so far. package com.Deer.Main; import cpw.mods.fml.common.eventhandler.SubscribeEvent; import com.Deer.Item.Items; import net.minecraft.item.ItemStack; import net.minecraftforge.common.MinecraftForge; import net.minecraftforge.event.brewing.PotionBrewedEvent; public class PotionEventHandler extends PotionBrewedEvent{ public PotionEventHandler(ItemStack[] brewingStacks) { super(brewingStacks); } } please help me with this. i would really appreciate it. sincerely killerjdog51
  4. Alright. so what i want is to add a brewing recipe for resistance potions using my custom item. so basically you have an awkward potion and then you put my custom item in and it brews into resistance potions and then you can extend them, make them tier 2, and make them splash potions after that. but what i want to know is how do i do that? because im assuming that resistance potions, normal, extended, tier 2, and splash are already in the code. and i already know the effect for resistance is in the code. but what i want to know is how to brew the resistance potions. I would really appreciate the help, sorry i dont really have any code for you guys to work off of, but i couldnt find the brewing recipes in mojangs code so thats why i came here. Thanks in advance for whoever helps me. sincerely killerjdog51
  5. ok, so i read the get started forum for forgeGradle but i still dont understand how to do anything. because im trying to recompile my mod and then reobfuscate it but the forum just says how to get started. so if someone could please, in simple terms, tell me how im suppose to recompile and reobfuscate with this new system that would be really helpful. sincerely killerjdog51 http://minecraftforge.net/forum/Smileys/default/embarrassed.gif
×
×
  • Create New...

Important Information

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