Started by
Xiela1
on
Topic category: Help with Minecraft modding (Java Edition)
I'm making an entity that flies and shoots at the player, but I want it to give a poison effect to the entity it shoots, as if it were shooting "poison arrows".
Make an unobtainable ranged item with the properties and appearance you want; then, make a procedure under 'When Projectile Hits Living Entity' that adds the poison effect to the target entity. (Make sure it's the target entity, not the source entity, which would poison whichever mob shot it.) Then, for your custom mob, in the AI settings, make it shoot the custom ranged item for its attack.