SeraphicKing Posted January 23, 2021 Share Posted January 23, 2021 (edited) I have a sword all made up, and I have tried different ways of achieving this effect I want. in sense I'm making this to be a troll item. if the user attacks any kind of mob. it would instead blow up the said user. My knowledge in modding varies on certain things, like making blocks and items. I honestly have no idea where to start when it comes to giving said things the ability to explode. Any help would be amazing. Edited January 23, 2021 by SeraphicKing Quote Link to comment Share on other sites More sharing options...
SeraphicKing Posted January 23, 2021 Author Share Posted January 23, 2021 10 minutes ago, diesieben07 said: Override hitEntity in your item class to do something when hitting an entity with it. Use World#createExplosion to create an explosion. Thanks for the reply, i will try this out soon. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.