how to make ridable mobs move when pressing movementkeys?

Started by MadMagic on Thu, 07/11/2019 - 16:17

Topic category: Advanced modding

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

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
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 08:15, 19. Aug 2019
Joined Aug 2016
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
You currently can't control…
Fri, 07/12/2019 - 23:58

You currently can't control it.

Last seen on 18:20, 29. Jul 2019
Joined Jun 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
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