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

Pocketmine Physics

Comments in 'Plugin Development' started by Boltingthunder, Feb 20, 2015.

  1. Boltingthunder
    Offline

    Boltingthunder New Member

    Joined:
    Jan 18, 2015
    Posts:
    20
    Minecraft User:
    Bolting_Thunder
    How would I increase a players y-axis when it interacts with a block?
  2. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,325
    Plugins:
    11
    Minecraft User:
    PEMapModder
    Teleport him.
  3. Boltingthunder
    Offline

    Boltingthunder New Member

    Joined:
    Jan 18, 2015
    Posts:
    20
    Minecraft User:
    Bolting_Thunder
    But I would like the player to "jump".
  4. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,325
    Plugins:
    11
    Minecraft User:
    PEMapModder
    If you want him to be elevated like a knockback, use setMotion(). But if you want it to he like a natural jump, not really possible.
  5. Boltingthunder
    Offline

    Boltingthunder New Member

    Joined:
    Jan 18, 2015
    Posts:
    20
    Minecraft User:
    Bolting_Thunder
    Alright, thank you!

Share This Page

Advertisement