mobs being dumb

Started by luv_heart_mcreator on

Topic category: Help with modding (Java Edition)

Last seen on 00:37, 30. Nov 2023
Joined Feb 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
mobs being dumb

i want a mob to spawn when a different mob is struck by lighting. the problem is i can't find out how to spawn a mob

Last seen on 00:46, 5. Dec 2023
Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I think I can help you,…
Mon, 02/13/2023 - 17:28

I think I can help you, create an initial entity, in this go to the triggers section where it says "when it is struck by lightning" and from the procedure go to the "world management" section and look for the procedural block called " spawn entity . ..(choose the entity you want) at x y z with yaw: 0 pitch x y z"
With this, it should make that when lightning strikes your entity, it generates another entity.