rideable mobs?

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

dialdylan

Member
May 22, 2021
1
0
1
23
hey, i've been looking around the internet and haven't found any solution, so i thought id ask here!
basically, i want to be able to ride a mob - but be able to move on it. i've found some ways to simulate it, but all of them are buggy and the mob cant go up blocks. any help is appreciated! :emoji_slight_smile:
 
I'm not sure, but the only way to like atleast simulate this is by having an invisible pig with a saddle that teleports constantly to the mob

and for jumping make it auto, so everytime there is about 1.2 meters (1 block and a bit) between the mob and the block in a specified direction
teleport the mob smoothly above (0.2 blocks a tick)

and syncing yaw and pitch of the mob with the player is an other stroy, in the loop of teleporting, set the yaw of the mob to the player's - 0.75, same for the pitch.

This is how i did it in java, but i don't know about skript
[doublepost=1621683435,1621683404][/doublepost]Noting, that this could be a bit laggy when having so much entities
 
Status
Not open for further replies.