Function to spawn and mount

Discussion in 'Plugin Development' started by aArczi, Sep 2, 2015.

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

    aArczi

    Hallo Im looking for function which will allow me to spawn monster (for example dragon, horse ) and then automatically mount me to the monster (so I can control it), please help me , im looking also for some example. Thank you.
     
  2. Offline

    mythbusterma

    @aArczi

    World#spawnEntity(Class<? extends Entity> clazz)

    And then:

    Entity#setPassenger(Entity entity)
     
  3. Offline

    teej107

Thread Status:
Not open for further replies.

Share This Page