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

Started by PsulAqae_YT on

Topic category: Help with modding (Java Edition)

Last seen on 10:20, 20. Jul 2023
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

Last seen on 15:23, 20. Jul 2023
Joined Jan 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
(No subject)
Sun, 02/14/2021 - 11:20

Probably this?

Last seen on 15:23, 20. Jul 2023
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

Last seen on 10:20, 20. Jul 2023
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.

Last seen on 10:20, 20. Jul 2023
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?

Last seen on 15:23, 20. Jul 2023
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

Last seen on 15:23, 20. Jul 2023
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.