[Procedure Template] Using procedures to make entities (even vanilla ones) attack each other. Supports tags.

Started by COMMANDO66 on

Topic category: User side tutorials

Last seen on 00:07, 8. Apr 2024
Joined Nov 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
[Procedure Template] Using procedures to make entities (even vanilla ones) attack each other. Supports tags.

So, I've seen a few people (and have been one of said people) who wanted to make it possible for entities to select targets from a tag. That isn't possible, but here's a workaround. This also works if you want to make vanilla mobs attack something.

Just replace all references to the husk with the entity, entities, or tag you want to do the attacking, and all references to the wolf with the entity, entities, or tag you want to be attacked. Keep the global trigger.

This doesn't override regular attacking; if something has regular targets, it'll attack them, too. It justs adds targets.

Download: https://drive.google.com/uc?export=download&id=1sgVm-NDAwQd5VdZpdTlBJBZFs73EqCjY

Last seen on 21:35, 6. May 2024
Joined Mar 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Nice, but what should be the…
Sun, 07/02/2023 - 17:31

Nice, but what should be the trigger that the procedure is on? when i import none is selected

Last seen on 11:20, 7. Aug 2023
Joined Jun 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Probably "on entity tick…
Tue, 07/18/2023 - 16:55

Probably "on entity tick update"

Last seen on 11:20, 7. Aug 2023
Joined Jun 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
No. I was wrong. HELP!
Tue, 07/18/2023 - 17:10

No. I was wrong. HELP!

Last seen on 18:13, 3. May 2024
Joined Mar 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Is this some kind of…
Thu, 02/01/2024 - 15:55

Is this some kind of trolling? The procedure does not work even without changes.