How can i give a mob special abilities?

Started by RX808 Productions on

Topic category: Help with modding (Java Edition)

Last seen on 16:28, 27. Jun 2020
Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How can i give a mob special abilities?

How can i give a mob special abilities? please help for mcreator 2020.3 1.15.2minecraftversion

Last seen on 19:53, 2. Jun 2021
Joined Sep 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
each variable is a different…
Sat, 06/27/2020 - 21:19

each variable is a different code/process, what 'special abilitie' ? you got to specify it. i can help with some but others i cant do myself.. for example, im trying to code a mob that walks on land and swim on water, i cant do it. nor can i change the swim speed of my mobs.

Last seen on 21:55, 16. Oct 2022
Joined Aug 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You could add these …
Wed, 07/22/2020 - 00:22

You could add these "abilities" to a procedure when a mob is hurt. For example, lets say you wanted a mob to have a chance of activating a regenerative ability when it is damaged. Here is what it might look like:

If health < [value] and random number < [percent/100]

then,

give effect regeneration [time] [strength]

(OPTIONAL) spawn particles at x y z

(OPTIONAL) play noise at x y z

 

This is just an example of what you can do with procedures, so mess around with procedures a bit and you might be able to make an "ability" working the way you want.