ItemStack 1.6.4 help

Discussion in 'Plugin Development' started by Mre30, Oct 12, 2013.

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

    Mre30

    So.. for the life of me, I can't find anywhere in the docs on ItemStack shorts.

    Example: Red Wool.

    How would you type this for 1.6.4 now?

    I got ItemStack(Material.WOOL) down.. but what if I want it to be red wool?

    Thanks in advance.
     
  2. Offline

    Harry5573

    Here
    Code:
        ItemStack coloredwool = new ItemStack(Material.WOOL, 1, (short)1);
     
  3. Offline

    Mre30

    ahhhhh b-e-a-utiful!

    I was close to that lol.... I broke down and posted here xD
     
Thread Status:
Not open for further replies.

Share This Page