mob throwing multiple entities in the direction of the player/in front of them

Started by deachuu on

Topic category: Help with Minecraft modding (Java Edition)

Joined Mar 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
mob throwing multiple entities in the direction of the player/in front of them

i have no idea how to do this: i need to have a mob throw multiple entities towards the player, or in front of them when i right click them, with random velocity so that it shotgun spreads the entities out in a cone.. any help? i couldn't find online

(im trying to use the spawn entity block)

Joined Feb 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You can try using the …
Mon, 03/11/2024 - 02:51

You can try using the "override vector" procedure. However, it's kinda clunky and usually only fully works if said entity is in midair. Thus, teleport them up.