Name | GUI Textures |
Description | GUI Textures directly relate to textures loaded in from resource packs (including the built-in one).
They can be a single texture, or a section of a texture from a sprite sheet. Since these use the resources system, you can also add and use custom textures yourself via custom resource packs. Textures can either be a single texture path: minecraft:textures/block/cobblestone.png Or a section of a sprite sheet:
All of the UV values (including the width and height) are between 0 and 1 and are relative to the entire image. So for example: 0, 0, 1, 1 (in order) will be the entire image, 0.5, 0.5, 0.5, 0.5 will be the bottom right half, etc. |
Group | GUI System |
Source | https://github.com/DenizenScript/Clientizen/blob/master/src/main/java/com/denizenscript/clientizen/scripts/containers/gui/GuiScriptContainer.java#L357 |