So, until now Advancement Display Icon has been very limited but with this update we are removing these limitations. You can now just give the Display an ItemStack and it will just use that item stack to change the advancement. This means, that you can now use custom player skulls and enchantments in there, which wasn't possible in older versions.
Features added:
- 4 New AdvancementDisplay Constructors which take an ItemStack instead of a Material (old Constructors will still work and aren't planned to be removed anytime soon, or might not even be removed at all)
- Removed
AdvancementDisplay#setIconData(int data) and
AdvancementDisplay#getIconData() because they are now stored inside the item stack (they were deprecated since the release of this API)
-
CrazyMaterialAPI has been marked as deprecated and will be removed in the near future
- When using String to set the title of an advancement display and you use a color code, a color reset to green will automatically appended to your title string to make the text message look nicer, although it is highly recommended to use JSONMessage instead as it adapts the colors of the brackets to which color you set it to