How to make entities spawn that rides another entitie

Started by Erikas123 on

Topic category: Help with modding (Java Edition)

Last seen on 13:11, 31. Aug 2021
Joined Jul 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make entities spawn that rides another entitie

ok, so the title could be confusing, but i want to make a custom mob ,,Orc,, that automaticly spaws with a hoglin. orc automaticly rides on hog.

is there a way to do that ?

Last seen on 07:36, 8. Jun 2023
Joined Jun 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I suggest you to use this…
Sat, 08/21/2021 - 21:20

I suggest you to use this page, make an entity ride another entity, get the code and then change the IDs for the IDs of your entities.

 

https://www.digminecraft.com/generators/summon_mob.php

 

Then use a procedure to run that command.

I hope I've been clear, I'm not a native English speaker.

Last seen on 06:56, 28. Mar 2024
Joined Mar 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
The command works, but only…
Sat, 02/19/2022 - 07:03

The command works, but only spawn the rideable entity, the jockey don´t spawn if not are vanilla mob
Do you know how to set the mod entities in the command?

 

Last seen on 13:36, 19. Nov 2022
Joined Dec 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I need this :c
Mon, 05/30/2022 - 23:10

I need this :c

Last seen on 06:22, 13. Mar 2023
Joined Feb 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
On entity spawn, check if it…
Tue, 05/31/2022 - 20:51

On entity spawn, check if it is the entity you want ridden, then for whatever percentage you want the entity to spawn ridden by another, set that entity to ride yours. You may need some custom code or some other stuff there to grab the entity you spawned and return the value, but that's the concept.