When entity hurts entity (trigger procedure)

Started by bananarang_mods on Sat, 10/31/2020 - 14:35

Topic category: Feature requests and ideas for MCreator

Last seen on 00:33, 4. Dec 2021
Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
When entity hurts entity (trigger procedure)
Sat, 10/31/2020 - 14:35 (edited)

I need this for my mod so jellyfish are dangerous (they poison when they attack entities)

Edited by bananarang_mods on Sat, 10/31/2020 - 14:35
Last seen on 21:46, 8. Nov 2021
Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
There is a workaround. First…
Sat, 10/31/2020 - 14:48

There is a workaround. First, create a procedure. Then, select global trigger when entity attacked. Then, make an if block that tests if the source entity is your mob, and if it is, it poisons the victim

There is already a trigger…
Sat, 10/31/2020 - 16:58

There is already a trigger for this so I am not sure what this request is requesting. When entity is hurt does this, just check the sourceentity

Last seen on 00:33, 4. Dec 2021
Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
klemen the trigger is "when…
Sun, 11/01/2020 - 00:26

klemen the trigger is "when entity kills another" that means when entity killed, not when lowered health