How to add custom icons: Difference between revisions
Appearance
Created page with "== Creating a resource pack == We recommend reading the [https://learn.microsoft.com/en-us/minecraft/creator/documents/resourcepack?view=minecraft-bedrock-stable Introduction to ResourcePacks] to create the base of the resource pack Put your texture in a subfolder under the "textures" folder of your resource pack. For this example, we'll have a custom icon named icon.png in a folder named custom_icons (both the folder and any images inside it can be named anything; we..." |
No edit summary |
||
| Line 32: | Line 32: | ||
remember to replace ns and name!!!!! | remember to replace ns and name!!!!! | ||
"ns" refers to the namespace of the icon pack, that is the part before the / in the icon ID, example: custom_icons/my_icon | |||
=== Adding icons === | === Adding icons === | ||
* /scriptevent leaficon:add_icon_to_pack {"name":"my_icon","texture_path":"textures/custom_icons/icon"} | * /scriptevent leaficon:add_icon_to_pack {"["pack":"your_namespace","name":"my_icon","texture_path":"textures/custom_icons/icon"} | ||
=== Registering the icon pack into leaf === | === Registering the icon pack into leaf === | ||