Solved Creeper Head?

Discussion in 'Plugin Development' started by 22vortex22, Oct 19, 2013.

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

    22vortex22

    How do I give someone a creeper head because it doesn't show up under Material?
     
  2. Offline

    epicfacecreeper

    I believe you need the MOB_HEAD or similar material, a damage value of 4.
     
  3. Offline

    22vortex22

    Mob_Head doesn't show up?
     
  4. Offline

    Chinwe

    Material.SKULL for the block, Material.SKULL_ITEM for the item (I believe)
     
  5. Offline

    22vortex22


    That makes it the default skeleton skull. Also I'm trying to make an ItemStack from this because I'm going to set it as people's helmet.
     
  6. Offline

    SourceForums

    22vortex22
    Code:java
    1. ItemStack creeperHelmet = new ItemStack(Material.SKULL_ITEM, 1, (short)SkullType.CREEPER.ordinal());
     
  7. Offline

    22vortex22

    Thanks
     
  8. Offline

    SourceForums

    22vortex22
    Is creeper head all you need? Then please mark this thread as solved. Or would you like to know how to create other heads too. With SkullType, you can only create the heads of Steve, zombie, creeper, skeleton and wither skeleton.
     
Thread Status:
Not open for further replies.

Share This Page