how to make ridable mobs move when pressing movementkeys?

Started by MadMagic on

Topic category: Advanced modding

Last seen on 11:23, 24. Jul 2019
Joined Jul 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
how to make ridable mobs move when pressing movementkeys?
Thu, 07/11/2019 - 18:54 (edited)

so i have my mob and i made it ridable, in game i can right click the mob and i sit ontop of it but i cant controll it, how do i make it so i can?

 

Edited by MadMagic on Thu, 07/11/2019 - 18:54
Last seen on 18:56, 12. Apr 2024
Joined Jun 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I can give you some…
Tue, 07/23/2019 - 16:56

I can give you some instructions on how to do it but i don't know how to fix some of the bugs

Make  an NBT tag called "Riding"

When right clicked on the entity set NBT tag to True

make a global procedure via the "On minecraft tick update" and find the execute command

If the entity has riding set to true execute the command "/execute @e{Type= whatever_your_entities_name_is, r=1} tp to @p