Sword that summon a helper

Started by ExplosiveLogin on Thu, 03/02/2017 - 22:27

Topic category: Advanced modding

Last seen on 20:14, 21. Mar 2018
Joined Jun 2016
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Sword that summon a helper
Thu, 03/02/2017 - 22:27

What I have in mind is this: a sword that, when it kills a mob, a "mob helper" is invoked that stays alive for a maximum of 10 seconds. But I have no idea what to do and I need help.

Last seen on 23:44, 18. Aug 2019
Joined Apr 2016
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
I don't know about summoning
Fri, 03/03/2017 - 19:34

I don't know about summoning the helper when a mob is killed with the sword, but to make the mob stay around for 10 seconds, I would make a mob with 5 half heartsof  health, and use an event to make it so that it spawns with the wither effect for 200 ticks (10 seconds). That should kill the mob after exactly 10 seconds, assuming the mob did not take any external damage.

Last seen on 20:14, 21. Mar 2018
Joined Jun 2016
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
RE:I don't know about summoning
Fri, 03/03/2017 - 21:10

@#1 Really thanks!!! Now half the sword is done :)