lock on projectile

Started by galaxyfox on

Topic category: Help with Minecraft modding (Java Edition)

Joined Oct 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
lock on projectile

i want a lock on projectile

Joined Jul 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
sooo lock onto players, mobs…
Sun, 10/20/2024 - 23:38

sooo lock onto players, mobs? we need more information

Joined Oct 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
players and mobs
Wed, 10/23/2024 - 09:49

players and mobs

Joined Jun 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You could for example make…
Wed, 10/23/2024 - 17:14

You could for example make it so that after a while (like 10 ticks) it despawns immediatesourceentity and spawns an identical entity that flies and is programmed to attack certain mobs (though I don't think you can do this to players since it would treat you and other players as the same species of entity). After it collides with an entity that is not the player, it despawns.

Joined Jun 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You could also make it so…
Wed, 10/23/2024 - 17:15

You could also make it so that the projectile only when it detects an entity to attack in a specific radius despawns and spawns in that custom entity I mentioned

Joined Jun 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You have to use update tick…
Wed, 10/23/2024 - 17:16

You have to use update tick in the projectile procedure for both of these solutions

Joined Jul 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Just apply a force in the…
Mon, 11/25/2024 - 18:33

Just apply a force in the direction of the closest entity...