how do I make an entity with two ranged attacks?

Started by Averagemcreato… on

Topic category: Help with Minecraft modding (Java Edition)

Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
how do I make an entity with two ranged attacks?

I am making a boss for a mod that has two attacks, and both are ranged attacks, one of them is a regular ranged attack, and the other is a slower attack that only fires every ten seconds. how do I make that without adding another entity?

 

Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
use tick updates. and…
Sat, 07/16/2022 - 14:25

use tick updates. and instead of waiting ticks just make it tick once in 200 game ticks..

Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
ok, but how do I make the…
Sat, 07/16/2022 - 14:51

ok, but how do I make the entity target and aim at the player before making it fire?

Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
also it needs to use the…
Sat, 07/16/2022 - 14:51

also it needs to use the secondary attack only when there's a player who can be targeted