GUIHead

Class to make a custom head also with a custom texture

As we have seen on the GUICustomItem page, you have to create the GUItem object, but this time, you're not going to create it writing new GUICustomItem(Material.MATERIAL) but writing new GUIHead(); Here is an example:

GUItem head = new GUIHead();

You can add all the customizations that you saw on the GUICustomItem page, but there are two additional methods that you can use: setSkullOwner("PlayerName"); and setCustomTexture("Base64Value");. Here is an example:

GUItem head = new GUIHead();
head.setSkullOwner("LoRy24TV");
head.setCustomTexture("Base64EncodedTexture");

Last updated

Was this helpful?