Custom skulls can be registered through 4 methods:
- By player username. These will be updated when Geyser starts. As a result, they may change if the player's username or skin changes.
- Use this option for skulls marked `Dynamic` on Java Edition.
- By player UUID. These will also be updated when Geyser starts. As a result, they may change if skin changes.
- Use this option for skulls marked `Dynamic` on Java Edition.
- By the base-64 encoded `textures` property of game profiles. These will only ever change when the registered value itself changes, as they hold a static reference to a skin.
- You can get these values from a custom skull in your hand using the following command in Minecraft: Java Edition: `/data get entity @s SelectedItem.components."minecraft:profile".properties[{name:"textures"}].value`.
- Please note that this command has only been tested on Java Edition 26.2. If the command fails, that could mean your custom skull is a dynamic one, and you should register a UUID or username instead.
- By skin texture hash. These will also only ever change when the value itself changes. They are a static reference to a skin texture over at `https://textures.minecraft.net/texture/`.
- You generally don't need to use this option, as it is often easier to just use the base-64 profile found in a skull.
- If you want to publish an extension or custom skull mappings however, this option can be useful to hide player names/UUIDs, if you wish to do so.
These mappings specify skulls for the `GeyserMC` user, the `Camotoy` user (using UUID `8b8d8e8f-2759-47c6-acb5-5827de8a72b8`),
and [this](http://textures.minecraft.net/texture/a90790c57e181ed13aded14c47ee2f7c8de3533e017ba957af7bdf9df1bde94f) skin (through the base-64 `profile` entry and the `skin_hash` entry).
</TabItem>
<TabItem value="api" label="Geyser API">
Custom skulls are registered at startup through the `GeyserDefineCustomSkullsEvent`. All skulls are registered
through the `register(String texture, SkullTextureType type)` method, in which the `type` parameter defines the
type of the string registered, which is one of:
- `SkullTextureType.USERNAME` for usernames.
- `SkullTextureType.UUID` for UUIDs.
- `SkullTextureType.PROFILE` for base-64 encoded `textures` properties of game profiles.
- `SkullTextureType.SKIN_HASH` for skin texture hashes.
As an example:
```java
@Subscribe
public void onDefineCustomSkulls(GeyserDefineCustomSkullsEvent event) {
This example specifies skulls for the `GeyserMC` user, the `Camotoy` user (using UUID `8b8d8e8f-2759-47c6-acb5-5827de8a72b8`),
and [this](http://textures.minecraft.net/texture/a90790c57e181ed13aded14c47ee2f7c8de3533e017ba957af7bdf9df1bde94f) skin (through the base-64 `PROFILE` entry and the `SKIN_HASH` entry).