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

Started by PsulAqae_YT on

Topic category: Help with Minecraft modding (Java Edition)

Active 2 years ago
Joined Jun 2020
Points:
690

User statistics:

  • Modifications: 1
  • Forum topics: 9
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 18
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

Active 2 years ago
Joined Jan 2021
Points:
605

User statistics:

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

Probably this?

Active 2 years ago
Joined Jan 2021
Points:
605

User statistics:

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

Something like this should work

Active 2 years ago
Joined Jun 2020
Points:
690

User statistics:

  • Modifications: 1
  • Forum topics: 9
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 18
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.

Active 2 years ago
Joined Jun 2020
Points:
690

User statistics:

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

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

Active 2 years ago
Joined Jan 2021
Points:
605

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 10
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

Active 2 years ago
Joined Jan 2021
Points:
605

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 10
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.