Posted June 17, 20187 yr I'm attempting to remove the ability for a creeper to explode when it is hit by a sword. I know that I need to remove EntityAICreeperSwell in the Entity class, but I'm not sure how to remove a value from the Set, because it is creating the object within the addTask method call.
June 17, 20187 yr Maybe you can handle an event like living hurt, death or an attack event and check if damage was caused by a sword. Whichever ievent s most close to the explosion. Then prevent it from happening by canceling the vanilla behavior and replacing with your own. Check out my tutorials here: http://jabelarminecraft.blogspot.com/
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.