making an entity spawn with a potion effect

Started by scaryclown on

Topic category: Help with modding (Java Edition)

Last seen on 14:54, 20. Jun 2021
Joined Jun 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
making an entity spawn with a potion effect

how would i go about making it where, an entity would spawn in with a potion effect, say hunger or strength or something like that?

Last seen on 19:59, 3. Oct 2023
Joined May 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You could try attatching a…
Fri, 09/18/2020 - 20:31

You could try attatching a procedure to the entity that activates when it spawns. That way you could apply the effect to the target entity (the one that spawns) with the effect.