#JSON-UI General

1 messages · Page 17 of 1

restive crag
#

Hm is

"ignored": "#ignor",
"bindings": [{
.....stuff "target_property_name": "#ignor"
}]

gonna make a difference?

hexed briar
#

Ignored property ≠ Ignored binding.

#

They both work differently.

restive crag
#

Oh well, thanks. I was just about to test it

hexed briar
#

it may be good for optimizing bindings related but it's effectively useless in most part

#

you can't kill the element with it.

restive crag
#

#1218739439417819156 message

hexed briar
#

Also forgot to mention that one are definitely deprecated as mojang doesn't use them anymore so

#

it may not work.

restive crag
#

Hm all useful things are deprecated

hexed briar
#

they don't use #ignored anymore.

#

so there's no tail of how it works or what it does until someone test it out

#

so it might probably doesn't work or maybe it does, who knows

tacit verge
#

That’s what im doing pretty much already

restive crag
tacit verge
restive crag
tacit verge
restive crag
#

So bindings right? It's quite complicated with bindings(it requires alot of visibility binding).

hexed briar
#

although i kinda can't share because. well, nda

#

kinda hard to implement too since you'll need a scoreboard or maybe a database to remember your past or old health

#

then use anims property to do decrease animation thing.

restive crag
hexed briar
#

maybe

#

maybe other studios too

#

i might probably make another one but this time its public so people can tweak around and alot more optimized

#

but idk when so,

restive crag
#

please do so 😁

hexed briar
#

probably when i get back to addon.

restive crag
#

Does anyone have hive pack? Please send(asking for a friend)

hexed briar
#

No.

still sundial
#

Can i have some preserved text on actionbar but save the other text?
Like if its "hello mana" it will show only "hello"

#

I need in my addon subtitle, title and actionbar

#

All of them

pine furnace
#

One message removed from a suspended account.

#

One message removed from a suspended account.

pine furnace
#

One message removed from a suspended account.

#

One message removed from a suspended account.

#

One message removed from a suspended account.

#

One message removed from a suspended account.

hexed briar
#

which, is also the source of buttons.

#

having both collection index buttons and the default buttons, well. that happens.

pine furnace
hexed briar
pine furnace
#

One message removed from a suspended account.

elder tapir
#

Original:

"mode_dropdown_content@settings_common.option_radio_dropdown_group": {
        "$show_option_label": false,
        "$radio_buttons": [
          {
            "structure_save_mode@settings_common.radio_with_label": {
              "$toggle_state_binding_name": "#structure_save_mode",
              "$radio_label_text|default": "structure_block.mode.save"
            }
          },
          {
            "structure_load_mode@settings_common.radio_with_label": {
              "$toggle_state_binding_name": "#structure_load_mode",
              "$radio_label_text|default": "structure_block.mode.load"
            }
          },
          {
            "structure_3d_export_mode@settings_common.radio_with_label": {
              "ignored": true, // my modification
              "$toggle_state_binding_name": "#structure_3d_export_mode",
              "$radio_label_text": "structure_block.mode.export"
            }
          }
        ]
      },

My attempt at turning it into a modification:

"mode_dropdown_content": {
        "modifications": [
            {
                "array_name": "$radio_buttons",
                "operation": "remove",
                "where": {
                    "binding_name": "structure_3d_export_mode@settings_common.radio_with_label"
                }
            }
        ] 
    },

Hey, i'm trying to modify the first into the second - any idea how i'd achieve that? I'd just like to ignore the structure_3d_export_mode option :)

mental crystal
#

Hello everyone, how do I make that the custom image element on my hud_screen.json takes up the whole screen no matter what's the size of your device. I can't do "size": [ "100%", "100%" ] because it based on the size of the images texture because in my phone it took the whole screen but on my desktop it didn't reach the tob of my screen.

sweet mantle
#

Okay, so I asked a question last night, to which I never got a single response. Might as well ask again. I think this is a better time to ask since more people are active at this time.

#

What does the "factory" property do?

#

This is my first time learning JSON UI and actually starting to finally understand it. It's not too bad after all.

#

However, upon trying to learn from other addons, I noticed that some elements containted a "factory" property.

#

Not type, but property.

#

What does this do?

west dawn
#

It just generates elements based on some provided infos

#

so you don't have to reference every item by hand

#

and can just, well, generate them

sweet mantle
#

Looked at the "Adding HUD Elements" page in the wiki and saw this:

There are plenty of times you'll want to add elements onto this screen, such as pop-up text after completing certain events, a stamina bar showing how much energy the player has, a speedometer showing the player's speed, and much more!
#

Yeah, but... How?

#

Pop-up text after a certain event?

#

But that wouldn't work, would it?

#

Stamina bar, that may potentially work if you have the proper knowledge.

#

Speedometer, okay. Now they're just inspiring the impossible to players.

#

Because there's no way you can "add" a speedometer to the hud.

#

You would need some kind of new variable which is modified from the player's speed, which in case it's not obvious, there's no binding for that.

#

Sure, you can "add" hud elements, but they're gonna be almost non-functional. You'll have to modify already-existing UI to get your stuff to work.

restive crag
#

Actually, it's more like POV, like what most players want to add. All you said is possible, and yes I tried them. However we can't just make a section just for players that want to add something specific to HUD Screen.

sweet mantle
#

I mean, yeah. Nothing specific. I'm just saying that JSON UI's functionality is very limited. It's not really possible to "add" a speedometer to the hud. You have to modify other HUD elements to get it to work.

restive crag
sweet mantle
#

Wait, modifying the render controller?

#

If you're saying it's outside of the UI field, do you mean that you can't link that stuff together?

restive crag
#

But yeah some things is just unlinkable

sweet mantle
#

Alright. How would someone be able to link the render controllers and the UI together?

restive crag
sweet mantle
#

Uh--

#

Yeah, this is honestly my first time understanding JSON UI. So far, I know some basics. However, I'm not an absolute master, so I wouldn't know this stuff.

mental crystal
#

The complicated thing for me is the animation. I can't find the exact position of the screen 😦

restive crag
sweet mantle
#

I understand. I was just curious.

mental crystal
#

Hello everyone, how do I make that the custom image element on my hud_screen.json takes up the whole screen no matter what's the size of your device. I can't do "size": [ "100%", "100%" ] because it based on the size of the images texture because in my phone it took the whole screen but on my desktop it didn't reach the tob of my screen.

vital edge
whole jasper
whole jasper
# restive crag How do I subtract it?

"factory": {"control_name": "namespace.your_element"}

"collection_name": "custom_collection_name"

"property_bag": {"#your_binding_name": 0}

"source_property_name": "(#your_binding_name)",
"target_property_name": "#collection_length"

restive crag
#

ik but it's a boolean

mental crystal
mental crystal
# vital edge yeah

Also if I do have multiple image element, all I need is add a panel then put it inside of controls? It's valid? If yes thanks

oblique gust
#

Are you able to animate the color of the text?

hexed briar
#

Yes.

oblique gust
#

Why it didn't work on my Play text

hexed briar
#

don't know?

#

pretty sure the color can be animated since I've done that several times with labels and textures.

#

well if the text isn't changing then it's likely that your button mostly has too many hardcoded variables.

#

by hardcoded variables, its either using different color variable strings so, maybe check that out first.

undone marsh
#

Put this in your text element

"anims":["rgb@rgb_anim_first"],

Here is a RGB template

    "rgb_anim_first": {
        "anim_type": "color",
        "duration": 2,
        "next": "rgb@rgb_anim_second",
        "from": [
            1,
            0,
            0,
            1
        ],
        "to": [
            0,
            1,
            0,
            1
        ]
    },
    "rgb_anim_second": {
        "anim_type": "color",
        "duration": 2,
        "next": "rgb@rgb_anim_third",
        "from": [
            0,
            1,
            0,
            1
        ],
        "to": [
            0,
            0,
            1,
            1
        ]
    },
    "rgb_anim_third": {
        "anim_type": "color",
        "duration": 2,
        "next": "rgb@rgb_anim_first",
        "from": [
            0,
            0,
            1,
            1
        ],
        "to": [
            1,
            0,
            0,
            1
        ]
    }
hexed briar
#

you can go with only color or not if you want to

oblique gust
#

Like [0,1,0]

#

Thanks so much

undone marsh
pine furnace
#

One message removed from a suspended account.

#

One message removed from a suspended account.

#

One message removed from a suspended account.

#

One message removed from a suspended account.

restive crag
#

Ok bro what the hell is that?

pine furnace
#

One message removed from a suspended account.

#

One message removed from a suspended account.

#

One message removed from a suspended account.

restive crag
pine furnace
#

One message removed from a suspended account.

pine furnace
tropic badger
#

Hi

#

Help

#

JSON UI

#

Make hive

hexed briar
#

No.

#

Also this isn't meme channel

mortal monolith
#

lol

shrewd lark
#

started messing with json ui
added a debug hud hider
wanted to do a toggle but didn't know how to transform from dropdown to toggle

uneven epoch
#

pretty cool none the less good jon

pine furnace
#

One message removed from a suspended account.

violet light
#

how to move the close button ?

unique swan
#
"offset":" [ 0, 0 ] "```
violet light
unique swan
#

Close button panel

chilly yacht
violet light
unique swan
#

Put it where the close button is in your file

violet light
chilly yacht
violet light
mental crystal
#

That's just a mapping checking if you click back, esc etc. button

mental crystal
#

It looks like this. I just don't know how to do that's in server form

chilly yacht
violet light
#

Okay thx

mental crystal
#

@chilly yacht do you know how to add hover text in server_form for buttons?

tropic badger
tropic badger
#

Gits

oblique gust
tropic badger
#

you're done bro

#

Actually it's half life 2 layout

hexed briar
whole jasper
#
  "anim_highlight_icon": {
    "anim_type": "flip_book",
    "initial_uv": [ 0, 0 ],
    "frame_count": 9,
    "fps": 12,
    "looping": false,
    "easing": "linear"
  },
whole jasper
tropic badger
still sundial
#

In jsonUi if i do e.g. 'abacaba' - 'aba' will it turn to 'ac' or 'caba' or what?

#

like what is the result of string subtraction? I need to display a server form with paper doll but idk how to bind it if i use the body text for other thing

still sundial
#

Got it

#

but now it says source_control_name is wrong property

#

unknown*

still sundial
oblique gust
#

It only shows when the button is on hover/pressed state

tropic badger
whole jasper
edgy heart
#

Why does my villager level up bar go away when I apply my coustom trade tables

thorny nymph
#

I created a background for the title, but when an interface doesn't have a title, the background still appears, but it's buggy.

#

Is there a way to make it disappear when it doesn't have a title?

#

The code:

    "header_title": {
        "type": "image",
        "offset": [0, -5],
        "anchor_from": "top_middle",
        "texture": "textures/ui/rounded_textbox",
        "size": ["100%c + 6px", "100%c + 6px"],
        "controls": [{
            "text": {
                "type": "label",
                "text": "#title_text",
                "$title_size": 1.1,
                "anchor_from": "center",
                "offset": [0, -1],
                "font_scale_factor": "$title_size",
                "font_type": "MinecraftTen"
            }
        }]
    },
whole jasper
tropic badger
whole jasper
tropic badger
#

It's returns string btw if you're confused

whole jasper
#

if empty it is equal to 0

hexed briar
#

if + or - works, so do those.

#

it's just how you use it.

rotund crescent
#

Where can I see sample code for res.

hoary orbit
#

How to move objects in progress_screen.json

thorny nymph
#

What is |default for after a variant example: $var_image_1|default?

azure berry
#

hey, how do i play a sprite sheet animation?

"test_sprite_sheet":{
"anim_type": "aseprite_flip_book",
"initial_uv": [0, 0]
},

this is all i found in the wiki

hollow oxide
#

How to add content to the menu? Content is specified in the plugin, but the RP does not display, what should I do? help me please

violet light
arctic wigeon
#

Hello people im having issues with my json UIs

#

I currently have the file named "hud_screen" and it works

#

(prob overwriting something important)

#

But when i change it so i can organize and have more files it doesnt work

#

I changed it to "mask_1_screen"

mental crystal
#

Did you have namespace inside is ui

arctic wigeon
#

Sorry im new to UI stuff

#

Just picked it up 2 days ago

analog snow
#

How would i make my hover text width not be wider than a specific width so that my text automatically goes in a new line? changing the size properties doesnt seem to do anything

sudden yoke
#

can someone tell me why i can't acess my custom test gui? why i amm getting normal gui

mental crystal
#

Does anyone know how to remove those annoying server form closing animation

round vessel
#

pls help

gentle hemlock
#

where can I reduce the mesh to a given level?

#

for inventory

junior shell
#

I'm trying to make a button that when holding a custom item near it, a button appears and you can click on it (for mobile)

wild mason
#

almost finished up with it

oblique gust
#

Where to edit the settings menu

chilly yacht
cyan sparrow
#

@last pollen

wild mason
restive drum
#

How can I make a certain title only run if it starts with a certain prefix, e.g.: "§r§l§r"?

gaunt apex
mental crystal
restive drum
mental crystal
#

It's just a binding

restive drum
restive drum
mental crystal
#

wdym?

#
{
  "image": {
    "type": "image",
    "texture": "textures/<path>",
    "size": [
      50,
      50
    ],
    "offset": [
      0,
      0
    ],
    "anchor_from": "center",
    "anchor_to": "center",
    "layer": 10,
    "bindings": [
      {
        "binding_name": "#hud_title_text_string"
      },
      {
        "binding_type": "view",
        "source_property_name": "(not((#hud_title_text_string - '<title>') = #hud_title_text_string))",
        "target_property_name": "#visible"
      }
    ]
  },
  "root_panel": {
    "modifications": [
      {
        "array_name": "controls",
        "operation": "insert_front",
        "value": {
          "[email protected]": {}
        }
      }
    ]
  }
}```

if your gonna use it on `hud_screen.json`, try this
restive drum
chilly yacht
#

anyone know if there is a file location for the "Sale" banner?

#

im curious if they use nineslicing for it or not

hexed briar
#

That is treatment pack, aka a pack that will download automatically once you launch the game or seeing "Loading resource packs" out of nowhere.

#

It's unfortunately inaccessible without dumping the game's cache folder itself

#

Also the "sale" thing are kinda separate element iirc.

chilly yacht
unique swan
hexed briar
unique swan
#

I remember there was no sale_banner size, it was just made with nineslice

chilly yacht
hexed briar
chilly yacht
unique swan
hexed briar
#

there's too many "<numbers>px" on regular size string that doesn't have percentage for some reason

#

and now idk why is this a thing

#

why 16px + 2px and not 18px is such a bruh moment.

undone marsh
#

Mojang can't do sh!t 🔥

hexed briar
#

why numbers with px without percentage when you can literally put numbers (without px) and it'll works like the same

#

I don't even know anymore.

chilly yacht
#

thats the 32x14 image

#

for banner

hexed briar
#

another one ffs

chilly yacht
hexed briar
#

we don't know

#

it's vanilla code.

unique swan
chilly yacht
#

i can try

unique swan
chilly yacht
#

oh yeah it does work

unique swan
#

@hexed briar can I ask something?

#

sorry to disturb you

#

How do they encrypt the packages of Minecraft servers?

hexed briar
#

Also, No. we don't talk about that here.

#

breaking DRMs are pretty against this server rules so, nope.

unique swan
#

Sorry

#

Okey thanks

mental crystal
west trail
#

Ore UI release yet?

oblique gust
#

Why cant just do 2px

#

Oh wait i get it

#

It wasn't bad at all

tropic badger
last pollen
#

how do i make a custom text appear on any json ui

last pollen
#

how do i make custom text appear on any json ui

hexed yacht
#

json ui is fun

hexed yacht
#

Has anyone got some examples of ore ui? (Code wise)

past stirrup
hexed yacht
past stirrup
hexed yacht
#

It is... you can modify it with editing mc files

#

(Not in addons ofc)

past stirrup
#

That doesn’t mean it’s out. Also I don’t recommend changing the game files as they get changed with each release

hexed yacht
#

I don't intend to change the games files, I am rather interested in ore ui cuz of modding purposes

hexed yacht
#

Thx! Really useful

hexed yacht
#

One smool question... are json ui vars like #my_text or $my_var accessible across screens?

hexed briar
#

No.

hexed yacht
#

Really?

#

Ahh shit...

hexed briar
#

well expected i guess

#

although you can still use referencer with variables from different UI files

#

with some con - you can't update the same variables across the screens.

last pollen
#

anyone know a really good tutorial for json ui like pause screen or anything

cobalt narwhal
#
 {
          "[email protected]_button": {
            "size": [32, 32],
            "$pressed_button_name": "$play_button_target",
            "$button_text": "menu.play",
            "$button_content": "start.play_icon",
            "$focus_override_right": "profile_button"
          }
        }``` how to replace the text by an image
#

it's on the file start_screen

chilly yacht
#

dont @ people

#

their about me literally says "Retired at Json-UI so yeah don't bother asking."

#

arcane if ur reading this scarynite_kenzo ghost pinged u

cobalt narwhal
chilly yacht
#

i never told u to delete it

#

i said dont @ people, referring to the future

cobalt narwhal
#

oh ok i don't understand like that

primal aspen
#
{
  "namespace": "hud",
  
    "hud_actionbar_text": {
    "type": "image",
    "size": [ "100%c + 12px", "100%c + 5px" ],
    "offset": [ 1, 70 ],
    "texture": "textures/null/null",
    "alpha": "@hud.anim_actionbar_text_background_alpha_out",
    "controls": [
      {
        "actionbar_message": {
          "type": "label",
          "anchor_from": "center",
          "anchor_to": "center",
          "color": "$tool_tip_text",
          "layer": 31,
          "text": "$actionbar_text",
          "localize": false,
          "alpha": "@hud.anim_actionbar_text_alpha_out"
        }
      }
    ]
  },
  "mana_hud": {
    "type": "label",
    "text": "Mana: #text",
    "size": [ "100%c + 12px", "100%c + 5px" ],
    "offset": [ 1, 90 ],
    "bindings": [
      {
        "binding_name": "#mana",
        "binding_type": "global"
      },
      {
        "binding_type": "view",
        "source_property_name": "('§z' + ('%100' * #mana))",
        "target_property_name": "#text"
      }
    ]
  }
}```
what's the problem?
chilly yacht
#

well whats the problem

hexed yacht
#

mhh interesting data that suddenly appeared in my console

last pollen
#

anyone have a pack thaat has a custom text on like hud screen or pause screen

#

example pack

hexed yacht
last pollen
#

ok link

last pollen
hexed yacht
hexed yacht
last pollen
#

Thanks

hexed briar
chilly yacht
#

ah

#

shanewolf exists

#

and he says "ping me" soooooo

hexed briar
#

yeah i only block people if i have a reason to.

#

which this case this guy just randomly go asking me help and pings me for god no reason

cobalt narwhal
#
 {
          "[email protected]_button": {
            "size": [32, 32],
            "$pressed_button_name": "$play_button_target",
            "$button_text": "menu.play",
            "$button_content": "start.play_icon",
            "$focus_override_right": "profile_button"
          }
        }``` how to replace the text by an image
random whaleBOT
#
How To Ask Good Questions

Be specific and include relevant details about the question upfront.

  • What are you trying to accomplish?
  • If you have code, which part is not working? Any content logs?
  • What have you already tried?
  • Have you searched the Bedrock Wiki?

https://xyproblem.info/

last pollen
#

How do I make a custom ui file with nothing in it like make pause screen and make it from scratch direct it to go into that ui file instead of pause_screen.json do I have to use ui_common.json to accomplish that

#

I have searched the wiki put I dont find anything that I coulld put into pause_screen.json to make it run from a different file

#

sorry im stupid

#

lol

#

is this it

oblique gust
wild mason
#

is there a specific documentation for texture_file_system and what each option does and in which situations you use them?

last pollen
oblique gust
#

i didn't even mean it like that,but even if you used the same namespace,its just like you're overwriting the original file

last pollen
#

i dont get that to work

last pollen
#

nothing WORKKKS

fathom bluff
#

better list your custom ui file in ui_def then put some properties in the original file so that it uses the elements inside your custom pause screen file instead of the build-in element

cunning bridge
#

Hello, how to make an image ignore the safe zone area and fill up the entire screen?

oblique gust
#

Increase the size more than 100%

mental crystal
mental crystal
#

I'm lazy to explain just discover it by yourself

tropic badger
#

lmao

oblique gust
#

Lol

#

If its not ninesliced,then it will just get bigger with its original shape,but if its ninesliced,it will stretch the image to the size of the screen filling it whole

mental crystal
#

That's the issue I had before not knowing I really need to use ninesliced on that bad boy

oblique gust
#

Same lol

#

when i tried to copy hud tip text background

mental crystal
#

But still I'm stupid to use ninesliced

oblique gust
#

Parehas na parehas tayo ah

#

Hahahahah

cunning bridge
#

@mental crystal @oblique gust what are you talking about? this has nothing to do with my question. The image already fills up the entire screen in pc, but on mobile where i have my safe area changed, it doesn't reach the edges.

hard patrol
#

Hello! What can I use to apply an "overlay texture" to the hunger bar in hud_screen.json? I already use title and actionbar for other UI stuff. Would reading scoreboard texts be an option, even if the scoreboard is hidde, or is there no other way besdies actionbar and title? (Ping when you reply)

chilly yacht
#

scoreboards are an option BUT without it being a server you wouldnt be able to have different scoreboards on each players screen

#

so client sided scoreboards are only possible with servers

#

so if its a realm or just a world youd have to use preserved text

hard patrol
#

You can add fake players to a scoreboard no?

chilly yacht
chilly yacht
#

you save the text and it only updates when its flagged

hard patrol
#

how?

#

I was wanting something more like reading scoreboard values to change texture and stuff.

chilly yacht
hexed yacht
sweet mantle
#

Lemme tell ya, JSON UI is a lot harder than I thought. Sure, I understand it now, but still, the limitations it has is like trying to make addons back in the early days of Bedrock Edition.

vital edge
# hard patrol Hello! What can I use to apply an "overlay texture" to the hunger bar in `hud_sc...

Scoreboard is possible, but you'd have to display it on the sidebar always. This means you wont be able to use it for other things (unless of course you tinker with it and utilize all available data entryways, you could technically just need to fetch the player name and its value then do conditional rendering, and then hide that particular player only, allowing you to still show the rest of the scoreboard).

#

But generally speaking, while many things are possible, it's also good to start simple: as such I'd do either title, subtitle or actionbar. Title does not hinder with basic gameplay texts/hints (like when riding a Minecart, or the Jukebox playing music text) and is a good use. As long as your thing doesnt have to continuously send the data just to make one thing visible.

mental crystal
tropic badger
unkempt nest
#
{
                            "labels": {
                            
                                "font_type": "MinecraftTen",
                                "font_size": "medium",
                                "offset":[0, -30],
                                "color": [1,1,1],
                                "layer": 30,
                                "type": "label",
                                "text": "#form_text",
                                "text_alignment": "center",
                                "anchor_from": "top_center",
                                "anchor_to": "top_center"
                            }
                        }, ```
unkempt nest
unique swan
#

@hexed briar Is it possible to make the scrollbar horizontal?

unique swan
#

#1195391246563299389 message
I mean something like this

oblique gust
unkempt nest
#

ok

vital edge
# hexed briar

its every day f00ls day (although i wish we can make them horizontal)

swift lake
#
{
                                        "actionbar_message": {
                                            "type": "label",
                                            "anchor_from": "center",
                                            "anchor_to": "center",
                                            "color": "$tool_tip_text",
                                            "layer": 31,
                                            "font_scale_factor": 0.5,
                                            "$text": "$actionbar_text",
                                            "text": "('§z' + (('%.308s' * $text) - ('%.158s' * $text)))",
                                            "localize": false,
                                            "alpha": "@hud.anim_actionbar_text_alpha_out"
                                        }
                                    }

Is there a limit on String Format?'' If I reduce the number of '%.158s' to about 70, it will show up, but the above code will not。

hexed briar
unique swan
hexed briar
#

jesus christ

#

stop pinging me ffs

hexed briar
#

you know where to find it

#

@unique swan

#

last ping and you know the drill.

unique swan
#

?

primal aspen
pine furnace
#

One message removed from a suspended account.

#

One message removed from a suspended account.

last pollen
#

broo where is the dressing room button in the pause_Screen.json file I cant find that

#

I wanna tie it to the main panel stack panel

undone marsh
#
"change_profile_button@common_buttons.light_text_form_fitting_button": {
    "$pressed_button_name": "button.to_profile_or_skins_screen",
    "$form_fitting_min_size": [ "100%c + 2px", 24 ],
    "anchor_from": "bottom_middle",
    "anchor_to": "bottom_middle",
    "$button_text": "profileScreen.header",
    "$focus_id": "profile_button",
    "$pressed_alpha": 0.65,
    "$button_tts_header": "accessibility.start.profile",
    "bindings": [
      {
        "binding_name": "(not #is_using_gamepad)",
        "binding_name_override": "#visible"
      }
    ]
  },
last pollen
undone marsh
#

No that's the button?

last pollen
#

I removed the controls and the button is still there but the paperdoll and gamertag is gone

#

Do you mean the skin viewer panel

undone marsh
#

the thing I sent is just the button

last pollen
#

I changed its position it didnt fetch

undone marsh
#

You can't change positions in stack panels

last pollen
#

Where is the root

unkempt nest
#

how to edit here

last pollen
last pollen
undone marsh
last pollen
undone marsh
#

"$form_fitting_min_size": [ "100%", 32 ],

undone marsh
last pollen
undone marsh
#

Wth send file

last pollen
undone marsh
last pollen
hexed briar
#

that's a stack panel if i recall.

last pollen
undone marsh
last pollen
#

it goes green when i hover on any point hwere there is gray

#

between the buttons

undone marsh
#

Idk why it's not working

hexed briar
#

try to put "size": [ "fill", "fill" ] on that skin button.

hexed briar
#

yeah

last pollen
hexed briar
#

hmm

undone marsh
#

I got it working

#

@last pollen

last pollen
#

Really?

undone marsh
last pollen
#

im gonna try it

#

Oh NICE

#

Thank you so much

undone marsh
#

No problem

#

Haven't be making packs for 4 years straight for no reason 🧌

last pollen
#

hahaha

last pollen
undone marsh
last pollen
#

oh I see

pine furnace
#

One message removed from a suspended account.

frail spade
#

Is there any way to get a float to an int??

tropic badger
last pollen
#

How do I make a button text blank

undone marsh
sudden yoke
#

ppls help

analog snow
#

can i invert a grid panel stack direction? ( it goes from top to bottom, i want it to go from bottom to top )

last pollen
#

Who has the hud screen pack where u can use actionbar and title subtitle to do custom "scoreboards"

#

I cant find it here

oblique gust
#

Its very simple to make

#

you can make the title hud panel and actionbar panel ignored and make a new panel with bindings to get the title,subtitle,and actionbar texts

mental crystal
#

Is there a way to forcefully close the GUI? Cause the close_on_player does not work always

sudden yoke
last pollen
#

can i put a mp4 video in json ui????

jolly rock
#

No

hexed yacht
hexed briar
#

^ how to make UI becomes intensive than the game itself

hexed yacht
#

Nah

#

But I think we need a media player element

hexed briar
#

No.

#

can't expect more of something that is already unsupported.

hexed yacht
#

What do you mean?

hexed briar
#

JSON-UI are more of not officially supported by mojang so

#

and it's state are pretty much deprecated.

#

basically, they're not doing or adding anything to json-ui.

#

if they gonna add another whole new screen, they'll definitely go for ore-ui. which, that's 0% chance of them adding new stuff to json-ui

mental crystal
#

How to make the server form UI not affected by GUI scale?

#

The scale and offset remains the same no matter what.

tropic badger
#

Make a fixed size?

mental crystal
mental crystal
# tropic badger Make a fixed size?

Cause I scaled and positioned the button already but after changing the GUI scale the button shrinks down and the offset changes, that's what I'm asking if there's a way to avoid that.

tropic badger
#

The button relies on its parent size maybe try giving it an fixed size

mental crystal
#

Imma send you the UI later, I'm just gonna open my computer

hexed yacht
#

I think it might just be better to improve json ui than put all that time into some "new better alternative"

tropic badger
sudden yoke
last pollen
#

how to detect if player is looking at a block

undone marsh
last pollen
#

any commads for it?

undone marsh
#

Either Molang or Scripting

undone marsh
hexed yacht
#

Haven't looked into ore ui that much... does it use js as well?

tropic badger
hexed yacht
#

I hope it doesn't use js.. I am absolutly no fan of js scripting

#

Writing addons in different langs is sooo important, bcz ppl want to feel comfy (js is also just hell).. having for example a wasm based system or an option to use different langs would be really nice

#

Also just for compiling addons into the needed format from other langs would be so cool

sudden yoke
hexed yacht
hexed yacht
tropic badger
hexed yacht
#

Ewwww 😵‍💫

sudden yoke
tropic badger
#

And I don't think they plan to because most servers and marketplace contents(Mojang beloved) is using JSON-UI, they can't just migrate immediately.

hexed yacht
hexed yacht
sudden yoke
hexed yacht
tropic badger
#

ye weird symbols confuses the visibility

hexed yacht
sudden yoke
tropic badger
tropic badger
oblique gust
#

Ang ineettt

hexed yacht
tropic badger
hexed yacht
tropic badger
#

Ohh

oblique gust
#

i wanna learn how to make the hud show in condition using molangs,i mean if i will use render controller for it so it works everywhere

tropic badger
#

U use player dolls

oblique gust
#

Is that a question

tropic badger
#

Yes

oblique gust
#

No,i wanna show the hud if the health drops to specific number

#

Or in actions (anim control)

tropic badger
#

It isn't possible

oblique gust
#

what's the only possible

tropic badger
#

Nothing if you want it to work to all screens

oblique gust
#

what if ill just get the item to show like compass,clock,map

tropic badger
#

Use aux ids

final grove
#

does anybody know any devs that can make json ui

#

willing to pay

final grove
#

how good are you

#

send me some if you’re work that you’ve done

tropic badger
hexed briar
#

also this

hexed yacht
#

lmao

#

we don't officially support it.. but addons support it

#

XD

hexed briar
#

well it does make sense since json-ui was never updated for years now. which, definitely something being deprecated.

#

json-ui also was supposed to be documented although ore-ui is already in active dev so, not happening.

#

i assume that this is after "addons" being announced.

hexed yacht
#

I get it that ore ui has some advantages... but I don't quite think that a js/react + web based system is that better

hexed briar
#

well this is modern day for you i guess

#

most apps nowadays just go with js/react or web based system

#

even here (discord) uses that.

#

or windows 11 just go full html on their first startup.

#

it's everywhere now so, yeah.

hexed yacht
#

ik.. it just eliminates the best feature of json ui..
it being a buildable by other langs.. like this php json ui builder

hexed briar
#

I probably dislike ore-ui either but looking at what mojang direction is, it's pretty safe to say that it's not gonna be good.

hexed yacht
#

why do you think so?

hexed briar
#

we don't even know if ore-ui gonna be "data-driven" or allowing people to modify html to begin with.

#

shaders also was replaced by render dragon and took nearly 2+ years for deferred to come out.

hexed yacht
#

jup.. I prefer json ui as well cuz it works great with c++

hexed briar
#

there's also a lot of critical bugs that crashes people's games and they mark it as "won't fix"

#

so idk what else.

hexed yacht
#

lmao, mojang be like

hexed briar
#

even i can't play the game with fancy graphic on due to memory leak since 1.20.10 and they still refuses to fix it.

#

no wonder why there's alot of 1 star rating.

hexed yacht
#

ehh.. mojang sometimes seems like the most incompetent team of devs possible

#

there are a shit ton of ppl who develop amazing software and could be really helpful for mojang

hexed briar
#

well mojang uses most open-source stuff afterall.

#

you can see their github.

hexed briar
hexed yacht
#

well true

#

but mcbe looks like a sinking ship everyday

#

it just gets worse and worse

hexed briar
#

yeah

#

although strangely enough, the Ore-UI's death screen uses Json-UI variables and it's texture if you apply texture pack to it.

hexed yacht
#

wtf

#

this is the worst tech crossover I have ever heard of

tropic badger
hexed yacht
#

thats called business

oblique gust
#

Actually, they've been working a hundreds of fixing bugs,even the tiny bit of bug,every detail. Yknow you can just fix all bugs in one version than keep bringing major updates

#

So it would take long

#

a never ending work to solve the problems just to give the players a great game experience

#

why tf am i defending

oblique gust
last pollen
#

Where is the common_buttons in the minecraft resource pack

oblique gust
#

ui_template_buttons

last pollen
#

Ty!

mental crystal
#

Maybe you need this.

mental crystal
cyan venture
#

Hi guys, sorry if I’m interrupting any of you

#

May I ask how to prevent the player from exiting the server from ui only if he pressed a button?

mental crystal
#

Not possible cause buttons are hardcoded

cyan venture
#

No forget buttons

#

I meant the player can exit the ui using the back button on his device

mental crystal
#

Wait

cyan venture
#

Yes?

mental crystal
#
"[email protected]_screen": {
    "$screen_content": "server_form.main_screen_content",
    "button_mappings": [
      {
        "from_button_id": "button.menu_exit",
        "to_button_id": "button.menu_exit",
        "mapping_type": "global"
      }
    ]
  }```
cyan venture
#

So what’s that?

mental crystal
#

This will disable closing it when pressing there exit button

#

Only way now is clicking the x button in the form

cyan venture
#

Thank you so much

mental crystal
cyan venture
#

Yes it did 😁
Thank you so much Man!!!

#

I am making this btw

mental crystal
#

I knew that you're making the fnaf

#

Hahahahahaha

cyan venture
#

How???

mental crystal
#

You could remove the flickering if you want

cyan venture
#

That would be really cool

mental crystal
cyan venture
mental crystal
#

But remember it affects all server form u made

cyan venture
#

Hey but….

#

I have already did that

mental crystal
#

Not good?

#

I know other way but I don't think this is reliable hahahaha

cyan venture
#

I take risks 😈

mental crystal
cyan venture
#

Well, If I can achieve a better result I will switch from it

mental crystal
# cyan venture Well, If I can achieve a better result I will switch from it

Well I use a hud_screen displaying the UI of the camera, and making the server_form render the game behind like removing the grayish overlay when you open UI, also I still have all texture files for UI, the usage, time, hour, death screen, end night etc. I just completely scrap it cause I'm lazy as f*ck

cyan venture
#

Wait

#

But isn’t the hud screen gets hidden when you open a server form

mental crystal
#

That's what I'm saying I remove that

cyan venture
mental crystal
cyan venture
#

Damn

#

That’s impressive tbh

#

That was my main idea but a friend told me that it’s impossible

mental crystal
#

It's possible you just need to be creative, pushing it to it's limits

cyan venture
mental crystal
# cyan venture

Did you try this on PC? Cause I feel like it doesn't scale based on the device size

cyan venture
#

Wait but can you use the gui(hotbar)?

mental crystal
#

No of course hahahaha

cyan venture
mental crystal
#

Yeah that's the reason I used hud_screen Making the image scale based on the device size.

cyan venture
mental crystal
#

I just made the server form bg to blank and buttons to blank, so when I click an button it sets the image to a button animations same as the origin game

#

Yeah I'm lazy to explain cause I'm tired as f*ck

#

I did more than that just lazy to explain

#

I also scrap it cause I'm procrastinating

#

I can recreate the whole FNAF 1 game in MCBE but I chose not to cause I'm lazy

cyan venture
#

Wait so the button textures is on the hud_screen and the actual pressed buttons on the server form and they somehow magically go well together?

mental crystal
cyan venture
#

Oh did you manage to match the buttons with their texture??

#

Man you are blowing my mind 🤯🤯

mental crystal
#

I did a lot just yeah it's easy to do, hard to explain ( cause I'm bad at explaining )

cyan venture
#

Do you happen to have the actual thing?
I really want to explore the code

mental crystal
#

I don't think I have it anymore cause I scrap it and forgot where I placed that file hahahaha

#

But I could send you the texture files if you want tho

cyan venture
cyan venture
mental crystal
#

Wait I think I found it but I don't this is the VERY latest version I scrap but it's god I guess....

cyan venture
cyan venture
mental crystal
#

Oh okay, I did that too just lazy to experiment

mental crystal
cyan venture
mental crystal
#

Sorry I can only find the RP file

#

Imma dm you

#

We stop talking here mods will be angry with us

cyan venture
#

Yeah my bad

hexed briar
#

while yes they do fix "hundreds of bugs" although, there's another new hundreds more of bugs in one single update for some reason

oblique gust
last pollen
#

Bruh my custom button not working

#

If I put @common_buttons.light_text_button it says the $pressed button name is not found in ancestor tree

#

Nevermind it needed $button_text

oblique gust
#

But it doesn't require button text at all

#

We can leave it empty

last pollen
#

It didnt work without

hexed briar
#

make sure that there's no syntax errors.

#

iirc button do show up without those variables.

last pollen
#

Oh I suppose there was something else then lol

#

doesn't in fact require it

hexed briar
#

it should probably be set to default values aka "".

#

since most of button elements has their own default variables.

#

if there's no expected variables on your own elements, chances are. it's probably set to default. (if there's no default variables, it should throw content log error)

last pollen
#

How do I add a gap

hexed briar
#

Add a padding.

#

aka adding another panel element except only property is size.

#
"example": {
  "type": "panel",
  "size": [ <x>, <y> ]
}```
#

Padding works best if you have stack panel.

#

if you don't have a stack panel and using regular panel, offset property is there.

last pollen
#

I have a panel that is the white border thing then controls has a element buttons which is stack panel

hexed briar
#

then it probably should work inside the buttons element

#

as long you don't set the size with percentage then yeah.

last pollen
#

is it possible to make a change of button to make different sounds

hexed briar
#

Interesting, custom factory element doesn't play nicely with toggleable properties.

#

No matter what i do with my custom factory, the toggle visibility just does not work or break entirely.

#

the only thing that doesn't break is to manually using collection index which, well. sadge.

cyan venture
#

Hey guys

#

You know that the hud scales with the device’s resolution while the server forms doesn’t
So if you make button textures but it’s just activated through title command and the actual buttons(invisible) are on the server form how can you match the buttons with their textures?

tropic badger
cyan venture
tropic badger
cyan venture
#

Th server from doesn't scale with the resolution right?

#

It appears small in some and some not

#

How can I make it appear the same for every device?

tropic badger
#

Use percentaged

cyan venture
#

So I just have to remove the "size": [0, 0] in the main_screen_content and apply 100% in my form.

hexed briar
tropic badger
hexed briar
#

Since i kinda know the factory from the past (aka using them too often on hud), i thought i can use it to generate collection index elements infinity and sure it did.

#

with some minor visual bugs ofc.

#

so i can now create something without spamming collection index aswell having a capped on how indexs i have.

hexed briar
tropic badger
#

Wait I don't get the previous problem.. what do you mean "toggle visibility"?

hexed briar
#

You can create a toggle that once clicked, some elements will appears. vice versa.

tropic badger
#

Are you doing confirm button?

hexed briar
#

not exactly, was trying to do an alternative screens inside screen by using toggle.

#

basically dialog.

#

unfortunately like i said, it doesn't work on the factory element.

#

so it went broke until i manually use collection index spam.

tropic badger
# hexed briar basically dialog.

Why not just do max length on factories then to #toggle_state * 0 + 1 that adds it to collection index thus resulting showing what is supposed to be showed?

hexed briar
#

The factory i have is essentially calculating on how much worlds i have by reading the tab world numbers. then using them as maximum length so it can display worlds properly.

#

Doing that basically will create another elements that it doesn't exist and likely will not work.

#

or dummy buttons that doesn't do anything.

#

( even worse can crash the game because it can't fetch something that didn't exist )

#

Another note here that it's also uses bindings for visibility so uh, nope. doing that also breaks the whole search system aswell

tropic badger
#

Oh damn, if the text edit works for you then I guess

hexed briar
#

Either way, i tried multiple situations that i done the same from the past with complex toggle & operators.

#

this time it doesn't really work on factories and idk why.

tropic badger
#

Oh wait

hexed briar
#

that's pretty much as far as i can go with factory.

cyan venture
#

Hey guys

#

Can I get a tester?
I want to test my server form if it's responsive for all devices

hexed briar
#

Your best bet is to mimic the screen resolution if you have a windows.

cyan venture
pale gust
#

Maybe use %
Does it work??

hexed briar
cyan venture
hexed briar
#

if you're making stuff on low-end/mid-end device, chances are. it should able to run across many platforms.

#

also, highly recommended to use percentage on size instead of fixed size (without percentage) since it's basically a dymanic scaling, so it should looks nicer across platforms.

cyan venture
#

I am making a fnaf server form

hexed briar
#

As long your parent element are dynamic scaled, it should be the same as buttons unless you use a fixed size for those

cyan venture
hexed briar
#

If you made these things on a mid-end devices, chances are. it'll be responsive to all devices.

cyan venture
#

;-;

hexed briar
#

well it's all about the device spec.

#

looking at your tablet spec, it should definitely be responsive to every devices.

cyan venture
#

Wait really?

#

:0

hexed briar
#

well your tablet are about mid-range spec.

#

so it definitely should be responsive.

cyan venture
#

Hey, It doesn’t like how it supposed when I change the gui scale

#

Does that mean it’s not responsive or it doesn’t matter?

hexed briar
#

well nope

#

it's more of usable issues now.

cyan venture
#

I see

hexed briar
#

well i guess your best bet is use dynamic scaling size

#

aka "100%" or something

#

so it should apply the size the same to your screen resolution, which in return should look the same on every GUI scaling.

cyan venture
#

Then I should remove all of the fixed sizes right?

hexed briar
#

depends yeah.

#

although it's not easy to set everything as dynamic scaling and expecting it'll looks the same out of the bat.

oblique gust
#

But it has safezones,so 100% could be not enough tho

hexed briar
cyan venture
#

Damn Well is there a way to combine serverform with hud(I am asking this because hud title automatically works on every device)

hexed briar
#

If you wanna go without safezones, put your root contents via $screen_bg_content instead of $screen_content.

oblique gust
#

Ohh

hexed briar
#

there's console where you can't see things on edges of the screen, that's what purpose safezone for.

#

or a phone where notches block your screen.

hexed briar
#

although you can only use one as overlay, but that may be resource intensive dependently.

cyan venture
#

But also attached with buttons somehow

hexed briar
#

it's also kinda buggy since you just interacting things

#

also pretty sure it doesn't work on other platforms since, well. it doesn't have touch and yeah.

#

can't interact anything if you don't have touchable screen.

cyan venture
#

No I meant the buttons are on the server forms

#

And are usable

hexed briar
#

well again, it kinda buggy

#

you can move at the same time interacting buttons

cyan venture
#

Oh….

last pollen
#

Panels dont go inside stack panels?

vital edge
#

they do

last pollen
undone marsh
# last pollen send me example pls
"stack_panel": {
"type": "stack_panel",
"size": [ "100%", "100%" ], // unnecessary unless custom size other than 100%
"controls": [ {
"[email protected]": {} } ] },
"panel": {
"type": "panel",
"size": [ "100%", "100%" ], // unnecessary unless custom size other than 100%
"control": [ {} ] }
last pollen
last pollen
#

is it because the image moves

last pollen
#

whole panel moves

#

its got to be panel with contol stack panel

oblique gust
#

Try to use panel instead of stack panel

#

Stack panel usually put the controlled elements in layer and doesn't overlap to each other

turbid sphinx
#

Is it possible to make something in the UI only show when it is in realms? using some requirement or something

last pollen
#

I think bindings has something

nimble jungle
#

Is #form_text a global binding that doesn't require the collection or do I have to put the collection.
(Cant test right now that's why I'm asking)

nimble jungle
#

nvm figured it out, it is global

final grove
#

anyone know hoe to add coordinates to hud screen text

oblique gust
#

"hoe"?? 🤨

hard patrol
#

How*

last pollen
#

what is the fastest way to reload a ui file

tropic badger
#

PC

undone marsh
#

I wished there was a command like scripts

#

/reload ui or something like that

tropic badger
undone marsh
tropic badger
#

That's reloading the server

undone marsh
#

not servers

tropic badger
#

Scripts is server-sided

undone marsh
#

I am dumb

#

Sever Sided Packs When

tropic badger
last pollen
#

what is ore ui

merry pike
#

Can use # at variables ?

whole jasper
last pollen
#

how they done that

#

how do i do the stack panel where the border extends only when I add buttons to it

cunning bridge
# hexed yacht Tbh I don't really have smth against json ui... there isn't really a need to rep...

this is ridiculous, how don't you see anything wrong with json ui? the json language is terrible for ui. it's insane how did they put up with it for this long, instead tell me what's wrong with ore ui? for performance you can see the already existing ore ui screens like the world creation screen, and for ease of writing, well, it runs on react which is JavaScript ui basically, much neater than the infinite object in object in object nest that json requires you to work with.

undone marsh
mental crystal
#

Wait² if Mojang release the ore-ui, can you make your own custom ore-ui too?

hexed yacht
mental crystal
cunning bridge
#

i rather write my code raw directly into the game and it runs without any intermediate steps

hexed yacht
#

Warning, efiting game files is not that great of an idea

hexed yacht
#

It works great

cunning bridge
#

i have written enough json ui to say that i didn't enjoy it, i can't count the amount of commas i had to reload my world for and the sneaky extra brackets that i have to use a json validator to locate

hexed yacht
#

Thats just a skill issue

cunning bridge
#

it is, but why do i have to have this skill when better systems already exist?

hexed yacht
#

Well, the internal json ui design is really good!

#

I think they prolly use a generator to turn internal ui into json ui

hexed yacht
cunning bridge
#

well they could implement that generator in game if json is that great for performance and let us use a higher level language to write ui for it.

hexed yacht
#

I completly agree

cunning bridge
#

json code gets converted to zeros and ones anyway, why starting from there?

tropic badger
tropic badger
#

JSON-UI is fine but never been updated. That's why it kinda sucks.

cunning bridge
#

when you can't read or write in a language without a dictionary (an editor), you better off using using another language.

hexed yacht
tropic badger
#

A very popular thing

cunning bridge
#

ik, but it sucks to read and write.

#

good luck finding the missing bracket when your editor doesn't highlight it

hexed yacht
#

Guys, I just came up with a really interesting solution for writing better ui in addons!

undone marsh
tropic badger
undone marsh
#

Js feels cluttered

tropic badger
undone marsh
tropic badger
undone marsh
hexed yacht
cunning bridge
tropic badger
tropic badger
tropic badger
undone marsh
tropic badger
#

Oh bruu, I use 'em to unobfuscate code 🤑

hexed yacht
cunning bridge
#

Acode doesn't have access to your Android/data folder does it?

tropic badger
# undone marsh

Doesn't matter, I have made a unobfuscator by reversing a obfuscator website hehe

tropic badger
#

And Android 11

undone marsh
cunning bridge
#

i use an app called "Simple Text Editor" and it has no syntax highlighting options

tropic badger
#

notice you see simple

#

not to be rude

cunning bridge
#

i figured you would say that, the other options are either paid, worse, or i don't know of

#

(acode also has ads 😂 seriously?)

undone marsh
last pollen
#

is it bad if i just use bridge tree editor for json ui lol

#

its worked fine

vital edge
#

i mean whatever makes you happy

#

or efficient

#

or comfortable with

last pollen
#

intresting

tender flare
#

is it possible to set the starting index of a grid? something like collection_index for single items

oblique gust
whole jasper
oblique gust
#

Thanks,thats very cool,we can access buttons faster now,not just opening another ui for list of maps and create world button

hexed yacht
#

Did anyone of you play around with ore-ui already?

oblique gust
#

i dont understand the ore ui code

hexed briar
#

Acode is also open-source, just compile yourself or maybe join their own telegram for a pre-compiled version of it. Pretty much the same principle as aseprite.

hexed briar
#

I also find it enjoyable to modify and write json-ui over the past few years and it's pretty safe to say that it's pretty simple and got what i probably wanted for.

hexed yacht
#

I really agree, json ui has potential..!

still sundial
hexed yacht
#

I wish ore ui would be more accessible

#

I think even ppl from this community would help redesign already existing json ui to ore ui

hexed briar
#

go go gadget converting vanilla settings into console-style

languid arrow
#

Does anyone know why this is happening to me?

jolly rock
#

Help, this dont work"source_property_name": "('textures/' + ( #hud_title_text_string - 'imagen'))" but this work, why? "source_property_name": "('textures/' + #hud_title_text_string)"

tender flare
#

is it possible to set the starting index of a grid? something like collection_index for single items

whole jasper
whole jasper
tropic badger
#

He adds '%' ig

hexed briar
oblique gust
#

What template to use to make tabs like the play screen

undone marsh
oblique gust
#

That doesn't exist

hexed briar
# oblique gust What template to use to make tabs like the play screen
"top_tab@common_tabs.tab_top": {
    "$toggle_tts_enabled_binding_type": "global",
    "$radio_toggle_group": true,
    "$toggle_name": "navigation_tab",
    "$toggle_group_default_selected": "$default_tab",
    "anchor_to": "top_left",
    "anchor_from": "top_left",
    "$toggle_tts_type_priority": 1001,
    "$toggle_tts_toggle_on_text": "",
    "$toggle_tts_toggle_off_text": "",
    "$toggle_tts_index_priority": 1002
  },

  "[email protected]_tab": {
    "$is_left_most_tab": true,
    "$tab_view_binding_name": "world_navigation_tab_toggle",
    "$tab_icon": "worlds_icon",
    "$count_text_name": "#world_item_count",
    "$tab_text_name": "selectWorld.tab.worlds",
    "$toggle_group_forced_index": 0,
    "$tab_content": "play.common_navigation_tab_content",
    "variables": [
      {
        "requires": "$is_editor_mode_enabled",
        "$tab_text_name": "playscreen.editor.worlds"
      }
    ]
  },
  "[email protected]_tab": {
    "$tab_view_binding_name": "friends_navigation_tab_toggle",
    "$tab_icon": "friends_icon_2",
    "$tab_icon_2": "friends_icon_1",
    "$tab_icon_nobounce": "friends_icon_2",
    "$tab_icon_nobounce_2": "friends_icon_1",
    "$visibility_binding_override_name": "#friends_tab_show_bouncing",
    "$visibility_binding_override_name_nobounce": "#friends_tab_show_not_bouncing",
    "$visibility_binding_override_name_notification": "#friends_tab_show_invites",
    "$count_text_name": "#friend_world_item_count",
    "$tab_text_name": "selectWorld.tab.friends",
    "$toggle_group_forced_index": 1,
    "$tab_content": "play.friends_navigation_tab_content"
  },

  "[email protected]_tab": {
    "$tab_view_binding_name": "server_navigation_tab_toggle",
    "$tab_icon": "server_tab_icon",
    "$count_text_name": "#server_world_item_count",
    "$tab_text_name": "selectWorld.tab.thirdParty",
    "$toggle_group_forced_index": 2,
    "$tab_content": "play.common_navigation_tab_content"
  },```
#

Pretty sure this is just toggle with mapped buttons to toggle left and right with physical keys (keyboard) or each side of trigger buttons. (controller) with radio group (something that is casually used by dropdowns)

oblique gust
#

If its just toggles,how did it automatically disables if i clicked another one

whole jasper
hexed briar
#

well basically i unbinded it.

#

so it's just a lang and percentage separately lmao

whole jasper
#

How to do it?

hexed briar
whole jasper
#

that sounds very complicated

hexed briar
#

you can grab the text via lang, and about the value, it's separate bindings. from it and mostly there on tts (text to speech) string.

#

if there's no binding for the corresponding slider value, well. i also do hardcoded slider aswell in some parts. but probably unused anyways because most of slider has its own value bindings.

whole jasper
hexed briar
#

Yeah

#

It's kinda self-explanatory enough since it's tts string.

#

so, tts gonna read it out loud.

#

Although note here that it's mostly hardcoded for the game.

tropic badger
#

Hm does anyone know why adding custom fonts doesn't work?

undone marsh
tropic badger
#

Do you guys add some extra things?

undone marsh
#

"font_type": "your font name"

tropic badger
#

Or wait nvm

#

I have

hexed briar
#

You may likely need to restart the game before applying custom fonts.

#

minecraft does not load custom font when applying it without restarting so

oblique gust
#

Finally learned it

#

It uses names and index,the button content is for contents inside the button,while the contents needs to exist and make bindings to visible it if the toggle state in a certain source control name is checked

oblique gust
#

--
Is there a hardcode to cover a screen ignoring the safe zone

whole jasper
#

use $screen_bg_content

oblique gust
#

thanks

mental crystal
#

You know dingsel? Check his website you could check how he did that

mental crystal
#

Sorry can't you understand what your saying.... What you just gonna do is whenever the form have that title, the font is different, the size of the title is different like that?

weary wind
#

It’s bad, bro

mortal monolith
#

"($text_name = '§bGames')"?

#

ohh

weary wind
#

{
  "namespace": "common_dialogs",
  "standard_title_label": {
    "type": "label",
    "size": ["default", 10],
    "color": "$title_text_color",
    "font_type": "MinecraftTenEmoticon",
    "text": "$text_name",
    "layer": 4,
    "shadow": false,
    "property_bag": {
      "#tts_dialog_title": "$text_name"
    },
    "bindings": [
      {
        "binding_name": "#title_text"
      },
      {
        "binding_type": "view",
        "source_property_name": "(#title_text = '§bGames')",
        "target_property_name": "#visible"
      },
      {
        "binding_type": "view",
        "source_property_name": "(#title_text = '§bGames')",
        "target_property_name": "$text_name"
      },
    ]
  }
}
weary wind
mortal monolith
#

nice

weary wind
#

Try the code that passes you to see if that works in theory it should work

#

Haha sometimes for not putting shadow. It can break everything.

weary wind
mortal monolith
#

yep

weary wind
#

Hahaha xd

#

The $text_name I imagine stores the #title_text, right?

#

Okey

#

See if it works

mental crystal
#
{
    "long_form": {
        "type": "panel",
        "size": ["100%", "100%"],
        "controls": [
            {
                "long_form@common_dialogs.main_panel_no_buttons": {
                    "$title_panel": "common_dialogs.standard_title_label",
                    "$title_size": ["100% - 14px", 10],
                    "size": [225, 200],
                    "$text_name": "#title_text",
                    "$title_text_binding_type": "none",
                    "$child_control": "server_form.long_form_panel",
                    "layer": 2,
                    "bindings": [
                        {
                            "binding_name": "#title_text"
                        },
                        {
                            "binding_type": "view",
                            "source_property_name": "((#title_text - 'form') = #title_text)",
                            "target_property_name": "#visible"
                        }
                    ]
                }
            },
            {
                "custom_form@common_dialogs.main_panel_no_buttons": {
                    "$title_panel": "common_dialogs.standard_title_label",
                    "$title_size": ["100% - 14px", 10],
                    "size": [225, 200],
                    "$text_name": "#title_text",
                    "$title_text_binding_type": "none",
                    "$child_control": "server_form.long_form_panel",
                    "layer": 2,
                    "bindings": [
                        {
                            "binding_name": "#title_text"
                        },
                        {
                            "binding_type": "view",
                            "source_property_name": "(#title_text = 'form')",
                            "target_property_name": "#visible"
                        }
                    ]
                }
            }
        ]
    }
}```
#

I know this is wrong but yeah

weary wind
#

Pon MinecraftTen

#

Use MinecraftTen

mortal monolith
#

xd

weary wind
#

Use MinecraftTen and font_type

#

Mmmm

oblique gust
weary wind
oblique gust
#

server form

#

Thanks

weary wind
oblique gust
#

You're right

weary wind
#

Using the interactive npc is a roll

oblique gust
#

Its basic yet useful

#

Indeed

#

it has many ui,such as editing

#

Too much to handle

weary wind
#

They could try xd

mental crystal
#

Umm anyone knows if it's possible to have circle server form buttons, like the GTA V weapon wheel

tropic badger
#

They've use textures sadly

mental crystal
#

It's just offset and textures it not entirely circle, and also they just add an option where you could drag the hotbar

#

There's and selection wheel in json UI, do anyone know how to use that?

mental crystal
#

If someone knows just ping me

digital finchBOT
coarse torrent
hexed yacht
#

ui anothe ping about this

#

lol

#

must be the 10th

hexed yacht
#

look at it

#

pretty nice