Human Skull as a MaterialData

Discussion in 'Plugin Development' started by boynedmaster, Apr 11, 2015.

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


    I need a Material of the Human Skull. No ItemStacks, no Material, just a MaterialData that contains the human skull. How can I get this?
  2. Offline


    @boynedmaster i assume you want the skull item that looks like a steve head, if so, it is
    ID: 397
    DataValue: 3
    But that will need to be in the form of an itemstack :3

    Can you explain a litle more what you want?
  3. Offline


    The Item for the Material is .SKULL_ITEM. If you want to get the skull owner (the who's head it belongs to), You have to get the SkullMeta, which can get by casting it to the .getItemMeta. From there, by calling the SkullMeta, you can get the Owner by using .getOwner(); You can also set the owner by using .setOwner(String);
Thread Status:
Not open for further replies.

Share This Page