From 3b843bbf24995b7a9bba1422b3a2ba130c4b1cdf Mon Sep 17 00:00:00 2001 From: Minato Date: Thu, 23 Jan 2025 14:08:31 +0100 Subject: [PATCH] Update json-ui-documentation.md - Removed Vector [x, y] type from nineslice_size property: I tested a nine-slice texture with this type, There is no error but it didn't work. From what i can see, Vanilla files only uses type "int" or "Vector [x0, y0, x1, y1]". https://media.discordapp.net/attachments/1067870274894172260/1331965858108670032/image.png --- docs/json-ui/json-ui-documentation.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/json-ui/json-ui-documentation.md b/docs/json-ui/json-ui-documentation.md index 4526cd859d6..408b5709db1 100644 --- a/docs/json-ui/json-ui-documentation.md +++ b/docs/json-ui/json-ui-documentation.md @@ -23,6 +23,7 @@ mentions: - Gotemba912 - QuazChick - 1cce + - MinecraftBedrockArabic description: Documentation for JSON UI. --- @@ -220,7 +221,7 @@ Use of `notify_on_ellipses`. Mostly used with hardcoded texts. | uv | Vector [u, v] | | Start position of the texture mapping | | uv_size | Vector [width, height] | | Size of the texture mapping | | texture_file_system | string | `InUserPackage` | Source to get the texture.
Possible values:
`InUserPackage`
`InAppPackage`
`RawPath`
`RawPersistent`
`InSettingsDir`
`InExternalDir`
`InServerPackage`
`InDataDir`
`InUserDir`
`InWorldDir`
`StoreCache`
Usage is Unknown | -| nineslice_size | int, Vector [x, y] or Vector [x0, y0, x1, y1] | | 9-slice. A method that divides an texture into 9 pieces. When resized the corners will stay in place and the rest will stretch | +| nineslice_size | int or Vector [x0, y0, x1, y1] | | 9-slice. A method that divides an texture into 9 pieces. When resized the corners will stay in place and the rest will stretch | | tiled | boolean or enum | | If the texture will tile when the size of the UI element is bigger than the texture size.
Possible values:
`true`/`false`
`x`
`y` | | tiled_scale | Vector [sX, sY] | `false` | Scale of the tile textures | | clip_direction | enum | | Start point position for the `clip_ratio`. If `down`, the image will begin to appear from the bottom.
Possible values:
`left`
`right`
`up`
`down`
`center` |