Solved How to place custom texture skull head on ground?

Discussion in 'Spigot Plugin Development' started by yapzhenyie, Apr 28, 2017.

  1. Anyone know how to spawn a custom texture skull head on the ground?
    Code (Text):
    Block skull = location.clone().add(2, 0, 1).getBlock();
             skull.setType(Material.SKULL);
             Skull state = (Skull) skull.getState();
     
  2. Have a look at the Javadocs here.
     
  3. there's no method to change head texture using url
     
  4. It's been a while since I've worked on skulls but I'm pretty sure that you have to use the player's name.
     
  5. are you sure.
     
  6. i knew this. What i need is how to spawn a custom texture skull head as a block on yhe ground or somewhere else
     
  7. second link