How to have multiple attacks that an entity can do?

Started by noeties on Mon, 10/25/2021 - 01:13

Topic category: Help with modding (Java Edition)

Last seen on 03:52, 25. Jan 2022
Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How to have multiple attacks that an entity can do?
Mon, 10/25/2021 - 01:13

Similar to the evoker

Please also explain the code/procedure

Last seen on 21:08, 28. Jan 2022
Joined Mar 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
use a numeric NBT  which…
Wed, 11/24/2021 - 07:06

use a numeric NBT 

which constantly goes upwards

when it reaches certain value

use procedures to make the attack

what evoker does. is similar to this but more improved

it summons several entities. towards his target. these entites have this same value

when it reaches certain value. and an entity is colliding with it. deals damage to that entity

and sometimes summons that annoying winged things

 

be creative with this

is used on almost Every game with a - path attack like -

Last seen on 03:52, 25. Jan 2022
Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
what procedure would you use…
Sat, 11/27/2021 - 23:49

what procedure would you use to make it go up

Last seen on 22:56, 12. Jan 2022
Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
You could use on loaded…
Sun, 12/19/2021 - 06:08

You could use

on loaded entity tick procedure

for the top block, and then

if [is [Event/target entity] (sub)type of (CUSTOM:(your entity here))
do Set [Event/target entity] data number NBT tag ["(your nbt here)"] to [Get [Event/target entity] data number NBT tag ["(same nbt here)"] + [1]]
Note this is in BLOCK procedures, not actual JavaScript

 

Last seen on 03:52, 25. Jan 2022
Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
is loaded entity tick the…
Mon, 12/20/2021 - 19:43

is loaded entity tick the same as update tick?

Last seen on 03:52, 25. Jan 2022
Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
nevermind
Mon, 12/20/2021 - 19:45

nevermind

Last seen on 22:56, 12. Jan 2022
Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
yea kinda
Wed, 12/22/2021 - 21:21

yea kinda