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

setBlock () with text

Comments in 'Plugin Development' started by Asparanc, Feb 22, 2015.

  1. Asparanc
    Offline

    Asparanc Active Member

    Joined:
    Feb 20, 2015
    Posts:
    211
    Minecraft User:
    Asparanc
    Hey coders how can i spawn a Sign (setBlock()) with custom text ?

    I need it for a command.
  2. Asparanc
    Offline

    Asparanc Active Member

    Joined:
    Feb 20, 2015
    Posts:
    211
    Minecraft User:
    Asparanc
    Sorry it's createTile but i don't know what are the parameters :(
  3. iksaku
    Offline

    iksaku Notable Member Plugin Developer

    Joined:
    Sep 2, 2013
    Posts:
    1,132
    Plugins:
    4
    Minecraft User:
    iksaku
    Learn the API
    PocketKiller and Praxthisnovcht like this.
  4. Asparanc
    Offline

    Asparanc Active Member

    Joined:
    Feb 20, 2015
    Posts:
    211
    Minecraft User:
    Asparanc
    Yes but i don't understand the parameters ....

    Code:
    Parameters
    string    $type   
    FullChunk    $chunk   
    Compound    $nbt   
    $args   
    
  5. iksaku
    Offline

    iksaku Notable Member Plugin Developer

    Joined:
    Sep 2, 2013
    Posts:
    1,132
    Plugins:
    4
    Minecraft User:
    iksaku
    Create a new "Sign Tile", that's all you need to know ;)
  6. Asparanc
    Offline

    Asparanc Active Member

    Joined:
    Feb 20, 2015
    Posts:
    211
    Minecraft User:
    Asparanc
    i would spawn the sign with specife
    ic x y z and custom t
  7. iksaku
    Offline

    iksaku Notable Member Plugin Developer

    Joined:
    Sep 2, 2013
    Posts:
    1,132
    Plugins:
    4
    Minecraft User:
    iksaku
    Just search for the "Tile" objects in the API, they're easy to use ;)
  8. Asparanc
    Offline

    Asparanc Active Member

    Joined:
    Feb 20, 2015
    Posts:
    211
    Minecraft User:
    Asparanc
    i understand only createTile("Sign",......

    help me please.

  9. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,325
    Plugins:
    11
    Minecraft User:
    PEMapModder
    Look at the code for a player to create a sign.
  10. Asparanc
    Offline

    Asparanc Active Member

    Joined:
    Feb 20, 2015
    Posts:
    211
    Minecraft User:
    Asparanc
    Hmmm i don't understand how it work ....
  11. iJoshuaHD
    Offline

    iJoshuaHD Notable Member Plugin Developer

    Joined:
    Nov 7, 2013
    Posts:
    1,201
    Plugins:
    4
    Minecraft User:
    iJoshuaHD
    Then learn and try. Dont ask how.
    iksaku likes this.
  12. Asparanc
    Offline

    Asparanc Active Member

    Joined:
    Feb 20, 2015
    Posts:
    211
    Minecraft User:
    Asparanc
    Thanks for help ... :(
  13. iksaku
    Offline

    iksaku Notable Member Plugin Developer

    Joined:
    Sep 2, 2013
    Posts:
    1,132
    Plugins:
    4
    Minecraft User:
    iksaku
    Don't worry we all learned from breaking out servers xD

Share This Page

Advertisement