Posted November 27, 20213 yr I am creating a new custom boss. I want to make it immune to shulker bullets and explosions in general. There is another boss I created and I want it to be immune to ALL projectiles, even ones from other mods. Maybe using a tag. Does anyone know how to do it? Thank you in advance.
November 27, 20213 yr Override attackEntityFrom and do checks there, for example DamageSource#isProjectile. Or check how Enderman does it.
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.