Tab arraylist

Discussion in 'Plugin Development' started by DevManABCD, Apr 23, 2014.

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

    DevManABCD

    how can i send arraylist to tab if i need to show line and column of position? ;f

    stink123456

    Theres nothing about arraylist ;f

    stink123456

    Can you send me an example? i am realy new ;f

    I did array list but this adding all of the list to 1 line to to count of arraylist.

    a is an arraylist yes? sorry im totally fresh ;c

    http://scr.hu/9a5/gzjqm

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Nov 19, 2016
  2. Offline

    stink123456

    http://dev.bukkit.org/bukkit-plugins/tabapi/


    =============================================================================

    Just do a for loop that sycles trough the elements of the aray

    ==============================================================================

    Code:java
    1. for(int a = 0; a<=array.length;a++){
    2. Object object = array[a];
    3. TabApi.setLine(1,a,object);
    4. }

    Note that i don't know how the tabapi works and if you want it to distribute them evenly on the lines just make a for in a for loop

    ==============================================================================
    A custom minecraft mmorpg!​

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Dec 7, 2016
Thread Status:
Not open for further replies.

Share This Page