The library allows you to dynamically load avatars (the Player Head) into the Minecraft Resource Pack in Minecraft 1.20.*
Note
The library depends on a resource pack that is not included in the library. You need to create a resource pack with the necessary textures and load it into the game.
-
Create a new resource pack or use an existing one.
-
Incorporate the required textures into the resource pack.
-
Download the textures from this GitHub Repository and integrate them into your resource pack.
-
(Optional) If you prefer to remove shadows, download the files and insert them into the
assets/minecraft/shaders/coredirectory of your resource pack.
implementation("com.github.Jilence:dynamically-image-loader:v1.0.6")maven("https://jitpack.io")val icon = IconBuilder.Builder()
.withUsername("Player Name")
.withAscent(10)
.buildAsComponent()val icon = IconBuilder.Builder()
.withUsername("Player Name")
.withAscent(5)
.build()You can place the component or string wherever you desire!
player.sendMessage(icon)
player.sendMessage(icon.append(Component.text("Hello Player!")))IMPORTANT:

