Hello Forge Modders!
I recently registered a Minecraft Forge subreddit dedicated to forge modding help, releases and news!
However, I could use some help in the moderating and community building aspects. I figured I would drop over to the Forum and ask around, any Redditors willing to help, PM me at BurnQuest. Otherwise, as we start to build a subscriber base, check out the content, and submit some of your own!
/r/MineCraftForge
I am currently programming a mod, a part of which involves adding drops to vanilla mobs. I used LivingDeathEvents to call a DropItem when a player kills a Squid or Sheep.
These methods are located in my foodKillEvent class, which I am using for all of the LivingDeathEvent related lines. Upon testing the mod in Eclipse, i found that when a player kills a squid or sheep, it drops the right Item, but also drops a clone of that Item that cannot be picked up (ghosted entity?). I've set it to only drop one of the Item.
These lines are from my foodKillEvent class:
This is where I register the events in my main class:
1 reply
Important Information
By using this site, you agree to our Terms of Use.