Solved Is there any other way to get Dye (ItemStack) 1.8

Discussion in 'Plugin Development' started by JoltTheBolt, Mar 27, 2022.

  1. Offline


    One way I know t get Dyes is by the use of MaterialData. Is there any other way to get dyes to, for example, put it in an inventory?
  2. Offline


  3. Offline


    Apologies. I meant in 1.8. [Title Edited]

    Edit: I don't think there is and this way is fairly easy:

    new ItemStack(Material.INK_SACK, 1, DyeColor.LIME.getData());
    Although the colors might not end up how you think. I think I read it somewhere that it's reversed. Anyway, thanks.
    Last edited: Mar 27, 2022

Share This Page