PlayerHeads v4.10.0 API JAR (not a plugin)


  • Filename
  • Uploaded by
  • Uploaded
    Apr 28, 2019
  • Size
    11.61 KB
  • Downloads
  • MD5

Supported Bukkit Versions

  • 1.14
  • 1.13
  • 1.12
  • 1.11
  • 1.10
  • 1.9
  • 1.8.1
  • 1.8



  • added: [smaller] API module PlayerHeads-api which contains events and methods to allows easier use in your own plugins without needing to include the entire plugin as a dependency. This API is available attached, or from the CI link on the project page (after reading the warnings).  Online API documentation is available here.  All implemented API methods can be accessed through api.PlayerHeads.getApiInstance().   However, you will still be able to access other pre-existing class methods as normal by either using the plugin jar itself a dependency or PlayerHeads-core as you choose - it is not recommended to use classes from compatibility support libraries.


Developer features in the api:

  • access to all of the existing PlayerHeads events within a smaller jar
  • get a comparable PlayerHeads head type for any of the following: entitytype, itemstack, blockstate.  This allows you to identify which head PlayerHeads will use in each case (eg: if you want to test if an item is a head, or a mob is supported)
  • get the exact head-drop that PlayerHeads would generate for an entity if it was beheaded.
  • get head details like UUID, Texture string, Display-name used by PlayerHeads
  • get head head implementation details for your server version (block/item bukkit materials used by PlayerHeads)

Outdated Instructions:

The API can be used as a dependency in your maven projects as below:



(note: the above code may be mangled by the formatting here)



Depend on PlayerHeads API: