making an entity spawn with a potion effect

Started by scaryclown on

Topic category: Help with Minecraft modding (Java Edition)

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?

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.