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 06:14, 29. Nov 2020
Joined Jul 2020
User 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 19:52, 28. Nov 2020
Joined Mar 2020
User 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

Last seen on 20:44, 28. Nov 2020
Joined Apr 2010
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
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 06:14, 29. Nov 2020
Joined Jul 2020
User 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