adding a effect to monsters attack (tutorial)

Started by macmaster on Sat, 12/15/2018 - 07:19

Topic category: User side tutorials

Last seen on 19:42, 30. May 2020
Joined Mar 2016
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
adding a effect to monsters attack (tutorial)
Sat, 12/15/2018 - 07:20 (edited)

hello

as you see in the title i found out a way to make a monsters attack have a effect like a poison attack or it explodes when attacks well in this really simple tutorial i will show you how

 

step 1

make the mob that you want to have a attack

 

 

step 2

make a produce that has a potion effect or explosion nothing else.

 

step 3

add that produce into when player collides this mod

 

step 4

test it

 

so there will be a few problems with this like the monster giving it to a player in creative but that is all the problem is so i hope you liked this little tutorial  and goodbye

Edited by macmaster on Sat, 12/15/2018 - 07:20
Last seen on 11:41, 17. Oct 2020
Joined Jun 2016
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Doesn't it cause lag?
Sat, 12/15/2018 - 16:49

Doesn't it cause lag?

Last seen on 19:42, 30. May 2020
Joined Mar 2016
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
it did not when i tested it
Sat, 12/15/2018 - 22:46

it did not when i tested it

Last seen on 15:08, 20. Oct 2020
Joined Feb 2016
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
To stop the creative thing,…
Wed, 12/26/2018 - 18:38

To stop the creative thing, just make it check if the player is in creative or not and act only if it's not.

Last seen on 22:00, 27. Sep 2020
Joined Apr 2014
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
You can simply add if not…
Thu, 12/27/2018 - 03:27

You can simply add if not player in creative

To remove your problem with creative mode :) 

Last seen on 19:42, 30. May 2020
Joined Mar 2016
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
ok thank you
Sat, 12/29/2018 - 05:36

ok thank you