Posted January 23, 20214 yr 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, 20214 yr by SeraphicKing
January 23, 20214 yr Author 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.
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.