I Am Trying To Make Slimes Passive Animals On My Server But Recently Found That `Slimes` Are Having A Hard Time Detecting. When Usually All I Need To Do Is: 'attacker is slime', it thinks I'm talking about the visual effect as shown in the error messages. If anyone can tell me any alternatives to fix this bug, that would be great!
Entity Target Works, Just the Damage Canceler Doesn't.
Code:
on damage:
attacker is slime
cancel event
on entity target:
if target is a player:
if event-entity is slime:
cancel event
Entity Target Works, Just the Damage Canceler Doesn't.