COCOA Bean Item ID 1.12

Discussion in 'Plugin Development' started by JakeCPU, Jun 24, 2017.

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

    JakeCPU

    Recently I have been making this plugin here and I need the COCOA beans to spawn but I can't seem to get the material COCOA BEAN when ever I just put COCOA it spawns the plant only...


    Code:
    itemLocation.getWorld().dropItem(itemLocation, new ItemStack(Material.COCOA));
     
  2. Offline

    Zombie_Striker

    @JakeCPU
    Cocoa bean does not have its own material data. Instead, it is one of the many dyes. Try spawning in an INK_SACK with data value 3.
     
Thread Status:
Not open for further replies.

Share This Page