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

Holograms

Comments in 'Plugin Development' started by Adversarius, Dec 28, 2015.

  1. Adversarius
    Offline

    Adversarius New Member

    Joined:
    Oct 4, 2015
    Posts:
    16
    Minecraft User:
    Adversarius
    Hey,
    Is there any existing Plugins for PocketMine 1.6 that makes Holograms (Text) in the Air, without any Mobs? Or does somewhere know the Code?

    Hope you can help :)
  2. Jankirby
    Offline

    Jankirby Active Member

    Joined:
    Apr 20, 2014
    Posts:
    38
    Minecraft User:
    Natsu_Dragneel
    Im finding one of these too :)
    Adversarius likes this.
  3. CraftYourBukkit
    Offline

    CraftYourBukkit Notable Member Plugin Developer

    Joined:
    Jan 20, 2015
    Posts:
    1,022
    Plugins:
    2
    Minecraft User:
    CraftYourBukkit
    PHP:
    $level->addParticle(new FloatingTextParticle($pos$text));
    While $level, of course, is your level
    Jankirby and Adversarius like this.
  4. Bluplayz
    Offline

    Bluplayz Active Member

    Joined:
    Aug 20, 2015
    Posts:
    74
    Minecraft User:
    Bluplayz
    what is $pos ? new Vector3(x, y, z) ? or array with the coordinates?
  5. MyNameIsTriXz
    Offline

    MyNameIsTriXz Notable Member

    Joined:
    Aug 17, 2015
    Posts:
    538
    Minecraft User:
    MyNameIsTriXz
    Vector3
    Bluplayz likes this.
  6. CraftYourBukkit
    Offline

    CraftYourBukkit Notable Member Plugin Developer

    Joined:
    Jan 20, 2015
    Posts:
    1,022
    Plugins:
    2
    Minecraft User:
    CraftYourBukkit
    It's always a Vector3.
    applqpak, KubixQ and Vaivez66 like this.
  7. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,294
    Plugins:
    11
    Minecraft User:
    PEMapModder
    In PocketMine, all coordinates are either passed directly or enclosed in a Vector3. Never, unless related to protocol, an array.
    Same for items, although Block::getDrops() is an exception.
  8. Falk
    Offline

    Falk Staff Member Global Moderator

    Joined:
    Sep 2, 2013
    Posts:
    1,706
    Plugins:
    22
    Minecraft User:
    Falkirknh
    Andrey Nazarchuk likes this.

Share This Page

Advertisement