Custom Head Textures - mehboss/CustomRecipes GitHub Wiki
Using Custom Player Head Textures with Base64 (Minecraft-Heads.com)
This guide explains how to use custom player head textures in your plugin configuration by utilizing the Base64 texture values found on Minecraft-Heads.com.
Step 1: Get the Base64 Texture
- Go to Minecraft-Heads.com.
- Find a head you like (example: a barrel, chest, or custom object).
- Click on the head and scroll down until you see the Value (Base64) section.
- Copy the Base64 string.
Example Base64 string:
eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvN2F1NmQyZDMxZDgxNjdiY2FmOTUyOTNiNjhhNGFjZDg3MmQ2NmU3NTFkYjVhMzRmMmNiYzY3NjZhMDM1NmQwYSJ9fX0=
Step 2: Insert It Into the Config
Inside your configuration file, you can define the Item section like this:
static_barrel:
Enabled: true
Shapeless: false
Item: PLAYER_HEAD:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvN2F1NmQyZDMxZDgxNjdiY2FmOTUyOTNiNjhhNGFjZDg3MmQ2NmU3NTFkYjVhMzRmMmNiYzY3NjZhMDM1NmQwYSJ9fX0=
Item-Damage: none
Amount: 1
Explanation:
PLAYER_HEAD:→ Tells the system you are using a custom player head.- The long Base64 string after
PLAYER_HEAD:is the texture data from Minecraft-Heads.