Jump to content

Recommended Posts

Posted (edited)

Just wanted to share my current approach and ask other modder's thoughts.

The goal is a mount that can be given a BlockPos and will walk there with player(s) on its back.

Currently, I have a GUI which sends a message, and the mod system serverside gets this message, parses the 3 digits, and sets the target position in an AITask. I wrote a  behaviour but it's not used at all currently, basically empty boilerplate.

Anyway, it's far from working even without the player on its back, but there seems to be a problem in that riding an animal suspends all AITasks...

Should I override BehaviorRideable, basically removing that behaviour that riding suspends AITasks (making it almost like an untamed animal) and make my own BehaviourNavigable or something? Or keep the GUI -> Mod System -> AITask flow and there is a workaround?

Thanks for any thoughts you can contribute

Edited by genovefa
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.