Adding support with API
Guide on how to add support to our heads using the API
1. Add AdvancedHeads as a soft dependency into your plugins.yml file
AdvancedHeads as a soft dependency into your plugins.yml filesoftdepend: [AdvancedHeads]2. Example integration into a config file:
item:
advancedHeads: 2223. Now, onto the loading part from code:
ItemStack customHead = AdvancedHeadsAPI.getHead(getConfig().getInt("item.advancedHeads));4. The result

Last updated