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:

User statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
  • Tracker tickets:
  • Mods of the week:
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
0Upvote this forum topic
Last seen on 23:38, 16. Feb 2020
Joined Aug 2016
User points:

User statistics:

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

You currently can't control it.

0Upvote this forum topic
Last seen on 14:52, 25. Jan 2020
Joined Jun 2015
User points:

User statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
  • Tracker tickets:
  • Mods of the week:
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

 

0Upvote this forum topic