How to make a procedure that does not let an entity attack to any target?

Started by errorsanstale on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jul 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make a procedure that does not let an entity attack to any target?

The title may not be clear, so let me break it down.

I tried to create a procedure for a 'Paralysis' effect that stops the entity it affects from dealing damage with anything. When that entity attacks, it should be impossible for them to deal damage to anything in effect's duration. there is also other stuff it does but dont worry, i managed to figure it out by myself.

i've tried so much things but eventually gave up, any ideas? thanks in advance.

Joined Feb 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
what about giving it…
Mon, 07/21/2025 - 20:53

what about giving it weakness 255?