How can I do an hoglin-like procedure to an entity?

Started by PsulAqae_YT on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How can I do an hoglin-like procedure to an entity?

Hello. Please, can someone tell me how to make a trigger for an entity like for hoglin? I can explain, "when an entity enters the Nether, it turns to another entity" but like the hoglin. Thanks

Joined Jan 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Something like this should…
Sun, 02/14/2021 - 11:21

Something like this should work

Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thanks you SO much, I'll try…
Sun, 02/14/2021 - 11:33

Thanks you SO much, I'll try this and I'll let you know it it worked.

Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Just a question: in the…
Sun, 02/14/2021 - 11:45

Just a question: in the field "wait", how many ticks are there?

Joined Jan 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
20 ticks is a second so 600…
Sun, 02/14/2021 - 11:48

20 ticks is a second so 600 is 30 seconds.

The mod will despawn and summon a new one after 30 after traveling to the overworld

Joined Jan 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
oh i forgot something. This…
Sun, 02/14/2021 - 12:07

oh i forgot something. This will make any entity that travels to the overworld that entity.

I only know that you can check if the entity is tagged and add a tag to your entity but there might be a better way.