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

Detect if players is using ladder

Comments in 'Plugin Development' started by Guillaume351, Jul 20, 2015.

  1. Guillaume351
    Offline

    Guillaume351 Active Member Plugin Developer

    Joined:
    Oct 11, 2013
    Posts:
    150
    Plugins:
    1
    Minecraft User:
    Guillaume351
    All is in the title, and can't find how to :/
    Thanks !
  2. Xenturio
    Offline

    Xenturio Active Member

    Joined:
    Sep 19, 2014
    Posts:
    333
    Minecraft User:
    Xenturio
    hm... you can check if a ladder block id is near the player... other ways i dont know
  3. Kvetinac97
    Offline

    Kvetinac97 Active Member Plugin Developer

    Joined:
    Nov 17, 2014
    Posts:
    276
    Plugins:
    1
    Minecraft User:
    Kvetinac97
    Mmmm... don't forget to try ($p->getLevel()->getBlockIdAt(Vector3($to->getX(), $to->getY(), $to->getZ())) but check $to->getX()+1, -1...)
  4. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,294
    Plugins:
    11
    Minecraft User:
    PEMapModder
    Maybe $player->getBlocksAround()?
    Guillaume351 and jojoe77777 like this.

Share This Page

Advertisement