1. 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!

  2. LOOKING FOR A VERSION OF SKRIPT?

    You can always check out our Wiki for downloads and any other information about Skript!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

rideable mobs?

Discussion in 'Skript' started by dialdylan, May 22, 2021.

Thread Status:
Not open for further replies.
  1. dialdylan

    dialdylan Member

    Joined:
    May 22, 2021
    Messages:
    1
    Likes Received:
    0
    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:
     
  2. novastosha

    novastosha Well-Known Member

    Joined:
    Jan 11, 2019
    Messages:
    344
    Likes Received:
    22
    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
    --- Double Post Merged, May 22, 2021, Original Post Date: May 22, 2021 ---
    Noting, that this could be a bit laggy when having so much entities
     
Thread Status:
Not open for further replies.

Share This Page

Loading...