#JSON-UI General

1 messages · Page 30 of 1

untold dawn
#

i know but, idk how to use it for the new slots

oak verge
#

can't you just use the slot index?

vivid swallow
#

Welp, there goes my plans

Unless scoreboards work?

oak verge
#

if it is on display

untold dawn
#

lemme try something

hexed briar
#

just a little warning that trying to add extra slots on inventory UI might crash your game.

sudden glade
#

Is it possible to modify $toggle_group_default_selected by obtaining the value from #form_text or some other way

neat sequoia
#

?

sudden glade
oak verge
#

you need to convert the value to a number

sudden glade
#

I just set the form text to "2" as a test

#

doesnt it automatically convert to a number?

sudden glade
oak verge
sudden glade
#
    "size": [
      "100%",
      50
    ],
    "$toggle_view_binding_name": "blocks",
    "$radio_toggle_group": true,
    "$toggle_name": "our_toggle",
    "$toggle_group_default_selected": "#num",
    "bindings":[
      {
        "binding_type":"global",
        "binding_name": "#form_text"
      },
      {
        "binding_type":"view",
        "source_property_name": "(#form_text * 1)",
        "target_property_name": "#num"
      }
    ]
  }
oak verge
#

didn't work?

sudden glade
#

nop

oak verge
#

hmm

sudden glade
#

I remember hearing somewhere that variables get evaluated before bindings so idk if its possible or there's some other way that I don't know of

oak verge
#

give it a default variable to test that

sudden glade
oak verge
# sudden glade You mean like this?

yeah but than change it and see if it take the default value or the dynamic one
"variables": [
{
"requires": "$form_text",
"$defaultIndex": 2
}
]

untold dawn
#

guys

lament kraken
#

coach is right 📢

red creek
#

How to remove the texture from the interaction button?

jolly rock
#

You can't

#

Try putting the text in "" or " "

#

But I won't delete it

#

Aaah

#

The texture

#

I thought you meant everything in general

red creek
#

The texture of the button

opal aurora
red creek
humble bramble
chilly yacht
#

whats the sizes right now

humble bramble
#

Let me check

scenic swan
humble bramble
#

Ehm im sorry idk what this is

#

Can u tell me more abt it

jolly rock
humble bramble
#

Thx

humble bramble
jolly rock
last pollen
#

Can i create an animated background in Minecraft Bedrock with JSON UI? (sorry if my english was mistake)

last pollen
true elm
#

its on wiki i guess

fringe cloud
#

Yo yall, can I completely hide coordinates from the Player's in game screen if they have a tag or smth?

#

(Kinda cuz I wanna make the backrooms in my server to troll my friends and the players, so just showing the coordinates of the backrooms isn't ideal...

#

I have no idea how to use json ui, if yall got any tutorials or stuff on how to do this plz send me!

#

Or even just hide the coordinates completely

rare flame
fringe cloud
#

Oh shi

#

Right

#

Lmao I'm dumb, thanks for pointing out lol

rare flame
#

all good

upbeat pendant
#

How change button color in form globally?

pastel terrace
pastel terrace
#

I need to mess with his "_screen"

oak verge
#

dialog or something
it is not in the server form file

hardy lily
#

I don't know much about popup dialog screen, but I only edited the "modal_dialog_with_buttons"

cunning bridge
#

is it possible to create my own collections?

pastel terrace
#

Is this in "server_form.json"?

hardy lily
pastel terrace
#

ok. thanks

#

Can you send me an example of how you modified it? Please

#

I want to get a base to change the background

pastel terrace
hardy lily
pastel terrace
hardy lily
#
  "modal_dialog_with_buttons": {
    "type": "panel",
    "anchor_to": "center",
    "anchor_from": "center",
    "size": "$modal_screen_size",
    "controls": [
      {
        "[email protected]_panel": {
          "$dialog_background": "$dialog_background_override", // Here
          "$fill_alpha": 1
        }
      },
      { "title@popup_dialog.modal_title_text": {} },
      {
        "text@popup_dialog.modal_label_panel": {
          "anchor_from": "top_middle",
          "anchor_to": "top_middle",
          "offset": [ 0, 23 ],
          "size": "$modal_panel_label_size"
        }
      },
      {
        "button_panel@$button_panel": {}
      }
    ]
  }
pastel terrace
#

Nice thanks

#

Did you manage to do what I'm trying to do?

hardy lily
pastel terrace
hardy lily
#

just set the "$dialog_background_override" to your texture path

pastel terrace
#

If so, if you can, send me how it turned out? Just a photo of it.

hardy lily
#
        "[email protected]_panel": {
          "$dialog_background": "$dialog_background_override",
          "$dialog_background_override": "textures/ui/panel/panelp", // set your own path
          "$fill_alpha": 1
        }
pastel terrace
#

hum... nice

chilly yacht
pastel terrace
neat sequoia
#

how can i make the red line move to the right using the offset value and #player_name_sidebar?

opal aurora
pastel terrace
#

modal form data

opal aurora
pastel terrace
#

more is.

last pollen
#

what is $chat_item_lifetime

"anim_chat_txt_alpha": {
  "anim_type": "alpha",
  "easing": "in_quart",
  "duration": 1,
  "from": 1,
  "to": 0
},

"anim_chat_txt_wait": {
  "anim_type": "wait",
  "duration": "$chat_item_lifetime",
  "next": "@hud.anim_chat_txt_alpha"
},

"anim_chat_bg_alpha": {
  "anim_type": "alpha",
  "easing": "in_quart",
  "destroy_at_end": "chat_grid_item",
  "duration": 1,
  "from": 0.7,
  "to": 0
},

"anim_chat_bg_wait": {
  "anim_type": "wait",
  "duration": "$chat_item_lifetime",
  "next": "@hud.anim_chat_bg_alpha"
},```
oak verge
oak verge
last pollen
#
    "custom_form@common_dialogs.main_panel_no_buttons": {
        "$title_panel": "common_dialogs.standard_title_label",
        "$title_size": [ "100% - 14px", 10 ],
        "size": [ 250, 200 ],
        "$text_name": "#title_text",
        "$title_text_binding_type": "none",
        "$child_control": "server_form.custom_form_panel",
        "layer": 2
    }``` is it modalform?
hardy lily
#

like toggles, sliders, dropdown, text edit box

#

the long form just a text and buttons

last pollen
placid geode
#

its possible to disable this hotbar icons animation when durability is updated?

placid geode
#

what's that exactly?

red creek
#

Is it possible to do something like this?

limpid quarry
#

I've seen spinning transitions like this in other people's work. So I would like to say yes. I could imagine it would be tricky getting it right unless we have someone around with experience.

red creek
limpid quarry
red creek
chilly yacht
red creek
chilly yacht
#

its not exactly like that but its a rolling animation

chilly yacht
#

it would be 75% script api though

#

youd have to save the buttons that arent selected to get a syncrhonized rolling effect

#

then send the form again with the same buttons just roll again

mystic heart
# chilly yacht

looks really nice with renderers and the slightly transparent background. great job

chilly yacht
#

the backgrounds are changable

#

since u cant make dynamic colors i just have like 6 or something preset gradients

#

using gradient render

limpid quarry
#

closing and opening forms instantly no blink

chilly yacht
#

yeah

#

you have to render the game behind

limpid quarry
#

hmm

#

lol, the issue is i need more guidance

#

like a json file to work with

chilly yacht
#

third_part_server_screen ( in server_form.json ):

"$screen_animations": [
         "no_anim@server_form.screen_enter_animation_alpha"
      ],```

```json
"force_render_below": true,
      "low_frequency_rendering": true,
      "load_screen_immediately": true,
      "render_only_when_topmost": false,
      "render_game_behind": true```
chilly yacht
#

then add this somewhere

#
"screen_enter_animation_alpha": {
      "anim_type": "alpha",
      "easing": "linear",
      "duration": 0.08,
      "from": 1,
      "to": 1,
      "play_event": "screen.exit_pop",
      "end_event": "screen.exit_end"
   }```
limpid quarry
#

i didn't think about it

#

ok

chilly yacht
#

thats the animation

#

it has to be 0.08

#

no other times work

limpid quarry
#

0.08 delay?

chilly yacht
#

yes

limpid quarry
#

awh

chilly yacht
#

you wont notice it

#

trust

limpid quarry
#

okay, so with the closeAllForms work and then reloading do the trick?

#

in script

chilly yacht
#

or just after they press button resend the form

limpid quarry
#

best method?

chilly yacht
#

🦐

limpid quarry
#

oh ok

chilly yacht
#

🤷‍♂️

limpid quarry
#

ill have to try thanks for the direction

#

i should be able to mess around with it

chilly yacht
#

yes

#

i dont think i have a vid but ummmm

#

i can look

#

its from the prisons thing i started

limpid quarry
#

so i could open form normally, but buttons only instant change or refreshing it with closing and opening

chilly yacht
#

uhhhhh

#

oh uhmm

#

youd have to use different forms or something

limpid quarry
#

just thinking of possibilities

#

oh i see

#

like custom copies

#

?

#

of the vanilla?

#

maybe

chilly yacht
#

could make a fake copy

#

that has 0 buttons or soemthing

#

and then when u press it starts bringing up real copies

limpid quarry
#

i like this idea might work

chilly yacht
#

i havent tested with form anims alot but u may be able to send the "$screen_animations" through one of the children

#

like

limpid quarry
#

ok

chilly yacht
#

if ur switcher has forms that are being called

#

send the animation in there

limpid quarry
#

awh that makes sense

#

ill try that

chilly yacht
#

something like that idk if it would work

limpid quarry
#

always worth a try haha, json ui the most pain i ever be in.

#

could work, be so close and then give up

#

cause not sure if possible yet, less people know json ui

#

anyways, thanks for your time! ill will ask questions as i go if needed

hardy lily
#

Is there any bindings that can copy a text into clipboard?

#

like coordinates button

#

but for other text like chat label

chilly yacht
#

No

limpid quarry
# chilly yacht No

got instant refresh working, next is just testing if it works with custom copies.

#

thanks again

#

and customzing the animations per form

limpid quarry
#

yup, the closeAllForms with uiManager works perfectly. we can close and immediatly load it again back. this is perfect for refreshing

turbid nimbus
#

not a little

valid swan
#

@rapid barn
o xubom que falar com você homem

safe geyser
#

Guys who know how to remove the shade of locked item pls tell me

red creek
#

Is it possible to set an image according to a property?
Example:
hash:property = 1, image.1
hash:property = 2, image.2

jolly rock
#

No

last pollen
#

where is xp bar image?

hardy lily
safe geyser
hardy lily
hardy lily
#

How I can set a text placeholder inside the text box 🤔

hardy lily
#

nvm. found it

safe geyser
humble bramble
jolly rock
#

Hello, someone know how to prevent the form from closing with the "esc" key

#

If so, could you help me?

jaunty smelt
#

i do

#

-_- but its not pratical

#

when form is cancelled just make it reopen itself

#

and make the first button to make close

#

or what ever button u want

jolly rock
#

result.canceled?

jaunty smelt
#

i use r.canceled

#

it shorter

#

but ye

jaunty smelt
jolly rock
#

I can't believe it, when I was practicing json ui it made my form unable to close and I had to restart minecraft, now that I want to do it I don't know how haha

jolly rock
#

Nice, i do this

chilly yacht
#

like something blank

jaunty smelt
#

i need sme guidance on what to do with ui ik the json ui but i dont got the ideas

chilly yacht
#

bind the to to nothing

#

from button.menu_cancel to nothing

#

like ""

#

blank

jaunty smelt
#

how can i improve my ui?

placid geode
#

like "button_mappings": []

chilly yacht
#

actually it could maybe

#

if u want it per form

placid geode
#

ir works with bindings

chilly yacht
#

no

placid geode
#

ye

#

for me it works lol

chilly yacht
#

it doesnt

#

wym bindings

#

u cant bind button mappings

#

if u want it per form u put the button mappings on ur close button and just turn it invisible and disable it

placid geode
#

oh nonono

#

i meant to "bindings":

chilly yacht
#

yeah..

#

show what u m ean

jolly rock
# chilly yacht yeah

Aunque haria que ninguno pueda ser cerrado no? a menos que haya un boton de close

chilly yacht
#

i speak english

placid geode
#

xd

placid geode
#

it just works lol

jolly rock
placid geode
#

se me ocurre algo pero no se si realmente funcione

#

usar bidings condicionales y aplicarlas a un input_panel que tenga menu_cancel y menu_exit

#

asi por ejemplo, si el titulo del form fuere prevent-exit:Dulces sueños

#

que se desactive ese button mapping

#

solo si tiene ese prevent-exit:

jolly rock
#

I think I understand what you're saying but I don't know how to use input panel to apply it

#

Can you help me?

placid geode
#

voy a intentar hacer un ejemplo de mas o menos como puedes hacerlo

jolly rock
#

Thanks, if it doesn't work you can tell me, thanks for the help

old jasper
#

Hey ! Is it possible to move the display of the number of items where I would like it?

oak verge
placid geode
#

algo asi es como imagino quieres hacer

#
    title: "§§General (escape off)",```
#

solo es un ejemplo pero básicamente lo que tienes que hacer es quitar los button mappings de la screen, quitar el boton para cerrar si es que lo tienes, y agregar el escape_panel en algún lugar de tu ui ( la linea "$additional_screen_content": "server_form.escape_panel" no es necesaria pero se me olvidó quitarla, e intenté agregar el escape_panel utilizando modifications pero por alguna razón no me funcionó )

oak verge
#

-# this is English only server

chilly yacht
placid geode
#

yes

#

that exist

#

this is from mojang bedrock samples

jolly rock
chilly yacht
placid geode
chilly yacht
#

So is it just an empty panel added behind everything?

placid geode
#

like if you dont want to modify original ui to add something, just use that

chilly yacht
#

Oooooooo

#

That’s useful

digital finchBOT
#
bakedpotato4747

I didn't know it worked until about a week ago.

#
bakedpotato4747

and I didn't know this command existed lol

safe geyser
opal aurora
#

it will hide all "can break/can place on" attributes on hover text, locked item references

fringe cloud
#

Yeah

#

I tested it and works :)

#

I really needed this, thank you so much!

thick shore
#

Hi, do you guys know how to make the elements hide when the player heart is less than 5

high iron
#

i need help xd

#

How can I put the (x) to close the menu in the right corner?

placid geode
#

Try using the builtin close button

#

add that to your ui

high iron
#

I almost don't know how to make menus, could you explain to me how to do it? xd

#

aaa okey

#

I could already

#

xdd

placid geode
#

got It

high iron
#

thanks

placid geode
#

?

#

oooh

#

nice xd

high iron
#

xd

placid geode
#

yeah

high iron
#

one more thing xd

#

How can I make my menu look like this?

high iron
jolly rock
#

In that image they only edited the textures

hardy lily
#

Is there any limits for scroll panel?

#

I'm about to change chat scroll to custom one

#

Assuming I put the chat collections into "container_scroll_panel"

hardy lily
#

yup. still no answer

#

At least I figured it myself

high iron
#

Can someone tell me how I can put scrolling in my menu?

hardy lily
# high iron Can someone tell me how I can put scrolling in my menu?

Example from server_form.json

// Create the scroll panel first
  "long_form_panel" : {
    "type": "stack_panel",
    "size": ["100%", "100%"],
    "orientation": "vertical",
    "layer": 1,
    "anchor_from": "top_left",
    "anchor_to": "top_left",
    "controls": [
      {
        "[email protected]_panel": {
          "anchor_to": "top_left",
          "anchor_from": "top_left",
          "$show_background": false,
          "size": [ "100%", "100%" ],
          "$scrolling_content": "server_form.long_form_scrolling_content", // put the content panel here
          "$scroll_size": [ 5, "100% - 4px" ],
          "$scrolling_pane_size": [ "100% - 4px", "100% - 2px" ],
          "$scrolling_pane_offset": [ 2, 0 ],
          "$scroll_bar_right_padding_size": [ 0, 0 ]
        }
      }
    ]
  },

// Content panel
  "long_form_scrolling_content": {
    "type": "stack_panel",
    "size": [ "100% - 4px", "100%c" ],
    "orientation": "vertical",
    "anchor_from": "top_left",
    "anchor_to": "top_left",

    "controls": [
      { "Content1": {} }
      // put other content here
    ]
  }
turbid nimbus
#

-# adv*

hardy lily
turbid nimbus
hardy lily
turbid nimbus
turbid nimbus
hardy lily
#

Well in that case, making a new code is better than using a template pepeCoffee

#

Unless if there's an update to support that

turbid nimbus
#

don't jump to conclusions yet

#

i need time

hardy lily
#

Let's jump to conclusions

#

It's good

hardy lily
#

anyway, is starlibv2 ☕ can support aux item id?

turbid nimbus
hardy lily
#

ok

hardy lily
#

About gradient color, how to make that 🤔

high iron
#

a question how can I put more menus in server_form?

placid geode
#
          "type": "custom",
          "renderer": "gradient_renderer",
          "color1": [ 0, 0, 0, 0.5 ],
          "color2": [ 0, 0, 0, 0.7 ],
          "ignored": "$is_holographic"```
#

from progress_screen.json

high iron
#

a question how can I put more menus in server_form? help me pls xd

sudden glade
sullen quail
#

how do i scale glyphs to be the same size as mc letters? i wanted to use this for glyph_E1, but they appear bigger than expected

void berry
#

how i can make an multiple preserve title text , i mean when i try to copy the sample code on bedrockdev and change the id to make it myself it just work for only 1 preserve thing , when i try to the second title the previous preserve title text was disappear and replace by new ._.?

pine furnace
#

One message removed from a suspended account.

#

One message removed from a suspended account.

#

One message removed from a suspended account.

oak verge
#

make them in the same position?...

pine furnace
#

One message removed from a suspended account.

#

One message removed from a suspended account.

#

One message removed from a suspended account.

oak verge
pine furnace
#

One message removed from a suspended account.

#

One message removed from a suspended account.

pine furnace
oak verge
pine furnace
#

One message removed from a suspended account.

oak verge
#

np

jolly rock
#

Minato

#

Can you help me?

#

I think it's something simple, but I'm not sure how to fix the problem

mystic stone
#

doc please

oak verge
oak verge
mystic stone
#
          "$atext": "$actionbar_text",
          "visible": "(('%.2s' * #atext) = $affiche)",```
#

printf ?

oak verge
#

huh?

mystic stone
#

I don't understand why it doesn't work

oak verge
#

use binding

mystic stone
#

🙀

jolly rock
oak verge
#

never tried it
i don't see why not

jolly rock
#

Try this

          "$atext": "$actionbar_text",
          "visible": "(('%.2s' * $atext) = $affiche)",```
Or this
```          "$affiche": "e_",
          "$atext": "$actionbar_text",
          "visible": "(not (( $atext - $affiche) = $atext))",```
jolly rock
oak verge
#

you can just add it, no?
nvm you can't

mystic stone
#

thank you for helping me.

jolly rock
#

I'm not sure what you mean by add, can you explain a little more? I honestly just learned how to use bindings

jolly rock
oak verge
jolly rock
#

Aah then can I ping you what I need help with?

#

Sorry I'm using translator

oak verge
#

sure

pine furnace
#

One message removed from a suspended account.

#

One message removed from a suspended account.

oak verge
# pine furnace One message removed from a suspended account.

use title to bind forms to ui

        "controls": [
            {
                "custom_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 - 'Custom Form') = #title_text)",
                            "target_property_name": "#visible"
                        }
                    ]
                }
            },
            {
                "custom_long_form@common_dialogs.main_panel_no_buttons": {
                    "$title_panel": "common_dialogs.standard_title_label",
                    "$title_size": ["100% - 14px", 10],
                    "size": [322.5, 185],
                    "$text_name": "#title_text",
                    "$title_text_binding_type": "none",
                    "$child_control": "server_form.my_super_custom_panel_main",
                  "layer": 2,
                    "bindings": [
                        {
                            "binding_name": "#title_text"
                        },
                        {
                            "binding_type": "view",
                            "source_property_name": "(#title_text = 'Custom Form')",
                            "target_property_name": "#visible"
                        }
                    ]
                }
            }
        ]
pine furnace
#

One message removed from a suspended account.

#

One message removed from a suspended account.

#

One message removed from a suspended account.

oak verge
pine furnace
#

One message removed from a suspended account.

oak verge
#

each form need a panel and a binding

pine furnace
#

One message removed from a suspended account.

#

One message removed from a suspended account.

turbid nimbus
#

Old GrimUI showcase screen. As you can see you even can create these very small buttons.

median basin
#

Guys I need your help a i have an custom ui made with 7 premade buttons and everything works but when I open an normal Actionform it always has 7 Buttons. Does someone know why?

median basin
#

i did its going from 0 to 6

hardy lily
#

my UI had 1 pixel off

turbid nimbus
hardy lily
#

literally 1 pixel gap

turbid nimbus
# hardy lily

heh, offset wouldn't help you. But i know how to fix it

hardy lily
#

how?

turbid nimbus
#

i also had this problem

sudden glade
turbid nimbus
turbid nimbus
# hardy lily does it support decimal?

you probably reducing you form contents size to add margins. something like that:
Before:

"content": {
   "size": [
      "100% - 8px",
      "100% - 8px"
   },
   "controls": [
      {
         //...
      }
   }
}```
**After:**

"content": {
"size": [
"100% - 9px",
"100% - 9px"
},
"controls": [
{
//...
}
}
}```

median basin
#

@sudden glade can I send you my rp, so you can watch what specifically the problem is?

weak cape
#

what animation does a container/chest/inventory use?

#

solved

#

If anyone wonders :

"screen_animations|default": [
  "@common.container_screen_exit_animation_push",
  "@common.container_screen_exit_animation_pop",
  "@common.container_screen_entrance_animation_push",
  "@common.container_screen_entrance_animation_pop",
  "@common.screen_exit_animation_push_fade",
  "@common.screen_exit_animation_pop_fade",
  "@common.screen_entrance_animation_push_fade",
  "@common.screen_entrance_animation_pop_fade"
],```
oak verge
#

i love when someone solve his problem and post the answer

weak cape
#

adding tags afterwards for easier finding using searchbar is even better 😁

terse breach
#

can anyone explain the basics of container ui to me

#

im trying to make a custom crafting block but ive never used json ui before

#

i tried to look at some sample packs and the limited docs but it didnt really help

#

this is what im trying to do btw

#

fuel at the bottom, template on the left and subject item on the right

#

this is kind of dumb but i dont really know what to do 😭

#

i fumbled around for a couple hours but didnt really get anywhere and i dont really have that much time to be fumbling around anyway

weak cape
#

if you dont know how to do thing, it isnt dumb

#

besides

weak cape
#

this is how i learned some basics

#

i made this less than a week ago, all i did was deleting and changing something in the pause_screen.json

#

and i did that without any json knowledge or teaching

terse breach
#

"how 2 built rocket ship"

weak cape
oak verge
terse breach
oak verge
#

it is not that complicated then

terse breach
#

I figured i just don't know where to statt

#

no experience

oak verge
#

i will see what i can do
not now tho

terse breach
#

awesome

#

ill send the assets I used for the image when I get off work if you haven't done anything yrt

oak verge
terse breach
#

👍

glossy kindle
#

Guys how can use json ui to customise modalform i know how to with actionform but idk abt mdoal forms

terse breach
#

5 images in here

#

the slots as well as the overlays and the middle piec

#

e

eternal hamlet
#

Is there any bug in the latest version that breaks json ui on androids but works on other devices

gentle orchid
#

Hello! Is there someone here good with custom factories that can answer me? I did a custom factory to show a preserved text with a fade in-out anim, but for some reason the fade-out only works on the first time I run a title. After resetting and running the update title text again, it fades-in but holds in the "wait" state. Anything that is not resetting correctly and is causing this? (The anim destroys the factory control_name element in the fade-out, and only one element is generating per title)

weary wind
weak cape
#

it is a image

#

made in blockbench

eternal hamlet
#

Is the microsoft documentation the only documentation we have on json-ui, I mean it is gonna get replaced by ore-ui iirc but still

eternal hamlet
#

Oh?

weak cape
#

way better than ms docs

eternal hamlet
eternal hamlet
eternal hamlet
#

So there is this bedrock port of the origins mod knowns as originsMerged

#

In which the creator has implement cooldown bars for abilities players have using json-ui but i have noticed in the recent updates of minecraft, the cooldown bar doesn't show up on Android but it does work properly on other devices including ios

#

And it's not the addon i think because if I play the older versions of the addon where the cooldown bars used to work on androids in the newer version of minecraft, it breaks

weak cape
#

it may be possible that the offest he set is outdated

eternal hamlet
#

Wait it shows me an error message on Android, let me show you

eternal hamlet
eternal hamlet
weak cape
#

im a beginner still

eternal hamlet
#

Oh

#

Ok

#

Thanks for your help

weak cape
#

that error says that one controller is incorrect

#

i have no clue why this may be different on phones

eternal hamlet
#

Hmm? Idk about json-ui so idk what's a controller

weak cape
#

it is used to "execute" objects

#

anyway i would help you, but im rusty in json-ui

last pollen
#

Is there a way to make a JSON UI for each person that shows a marker dot of the players withing a distance of you?

For example: Let's say a player is behind a wall. When a player activates this feature, I want it to show a marker dot on that wall where the player is, relative to the position of the screen.

glossy kindle
#

can anyone help me #1310241563691188274

gilded rivet
#

what's the file name for small chest ui?

oak verge
weary wind
weak cape
#

then it is a image made in blockbench using title extension put in the middle

chilly yacht
#

what

#

yeah but idk what ur doing

#

is that ai generated code

weak cape
weary wind
weak cape
#

I will dm you

#

Anyone wondering:
The block bench extension is called Minecraft Title Generator

sharp zinc
#

hey uh

#

i'm trying to find where the crafting table ui is located and i can't seem to find the correct file

#

anyone know where it's at?

placid geode
oak verge
#

have fun making a recipe system

terse breach
#

omg thank you

#

you're a life saver 🙏

#

I found a good system in farmers delight that will likely work with this

oak verge
terse breach
#

i see how its similar now

#

thats a hillarious coincidence

#

great work btw

terse breach
#

hmmmm i wonder why theyre similar

oak verge
terse breach
#

mhm. i use both pretty regularly
i just had no idea you were behind the ui ive been using as a reference this whole time 😭

oak verge
#

bruh
i am not the one who made the original one
that a port to bedrock

terse breach
#

I know

#

maybe I'm misunderstanding you you made the ui for the bedrock port no?

#

if not clearly I misunderstood somrthing

#

im just slow clearly

#

im aware the java version was first i thought you were saying you recreated it for the bedrock port

oak verge
#

the addon i made it for is not public yet

neat sequoia
#
"image": {
                                            "type": "image",
                                            "texture": "textures/dbc/bars/bars",
                                            "$clip_value": 100.0,
                                            "clip_direction": "up",
                                            "clip_pixelperfect": false,
                                            "uv": [
                                                0,
                                                0
                                            ],
                                            "uv_size": [
                                                7,
                                                60
                                            ],
                                            "size": [
                                                7,
                                                60
                                            ],
                                            "bindings": [
                                                {
                                                    "binding_name": "#player_name_sidebar",
                                                    "binding_type": "collection",
                                                    "binding_collection_name": "scoreboard_players"
                                                },
                                                {
                                                    "binding_type": "view",
                                                    "source_property_name": "((#player_name_sidebar * 1) / $clip_value)",
                                                    "target_property_name": "#clip_ratio"
                                                }
                                            ]
                                        }

when #player_name_sidebar is equals 0, the minecraft crash, why??

dark flare
#

How is this icon called in minecraft files beacuse I cant find it

#

If it even is beacuse I saw a lot of peoples using it

pine furnace
#

One message removed from a suspended account.

oak verge
#

$custom_background

weak cape
tough imp
#

Does anyone know how to have more than one image when using hud_screen with the title command?

weak cape
#

using controls?

neat sequoia
neat sequoia
#

oh thx

oak verge
#

example
title: img1 img2
and test the title for both

mental crystal
#

Idk if this is possible but I want to change the container icon of the horse's armor slot is it possible?

#

Nevermind not just the slot itself I want to change the whole ui of the horse but it only changes on one entity

jolly rock
#

@oak verge , Do you know if it is possible to access the item text through the container_item in common?
I tried but it doesn't work

jolly rock
#

Oh, It seems to work but only in containers not in inventory

#

Got it, turns out inventory and containers use a different collection for obvious reasons

thick shore
#

Hello

turbid nimbus
jolly rock
# jolly rock

I discovered that each collection of each inventory is sent as "$item_collection_name" so now it looks like this, easier

abstract cosmos
#

how can i generate player_renderer with different skins/models

#

example

tough imp
#

Then you add properties to player.json

#

And the events in player.entity and the property numbers in Player.json

abstract cosmos
#

and to show the different skins in the UI?

tough imp
abstract cosmos
#

ty

abstract cosmos
thick shore
#

Hello

last pollen
#

Is there any way to add Json UI buttons to the screen, while still allowing the player to move?

#

to just casually click?

hardy lily
#

Is it possible to detect spectator mode in hud_screen 🤔

pure frost
#

looking for someone experienced in json ui for commission. please dm me

opal aurora
abstract cosmos
nocturne python
#

is it possible to make the play button in the start menu redirect to a server?

hardy lily
hardy lily
#
        // Not working yet
        "text_will_show_when_spectator_mode_is_detected": {
          "type": "label",
          "text": "Spectator mode detected",
          "anchor_from": "center",
          "anchor_to": "center",
          "bindings": [
            {
              "binding_name": "#hotbar_visible"
            },
            {
              "binding_type": "view",
              "source_property_name": "(not #hotbar_visible)",
              "target_property_name": "#visible"
            }
          ]
        }
placid geode
hardy lily
#

Wot?

#

you find it how to detect it?

placid geode
#

ye

#

see

#

here is the code

#
    "thingy": {
        "type": "label",
        "text": "Spectator mode detected :O",
        "anchor_from": "center",
        "anchor_to": "center",
        "bindings": [
            {
                "binding_name": "#hotbar_no_xp_bar"
            },
            {
                "binding_name": "#hotbar_with_xp_bar"
            },
            {
                "source_property_name": "(not #hotbar_no_xp_bar and not #hotbar_with_xp_bar)",
                "target_property_name": "#visible",
                "binding_type": "view"
            }
        ]
    },
hardy lily
#

oh wow

#

thanks

nocturne python
#

is it possible to make the play button in the start menu redirect to a server?

bitter ether
#

I'm trying to create a clear text button in text_edit_box but it doesn't seem to work, is there any workaround?

"[email protected]_edit_box": {
                      "size": [
                        120,
                        15
                      ],
                      "max_length": 100,
                      "$text_clear_button_enabled": true,
                      "$font_scale_factor": 0.9,
                      "$place_holder_text": "Search items...",
                      "$text_box_name": "search_text_result",
                      "$text_edit_text_control": "search_text_result"
                    }
hardy lily
#

Is it possible to disable certain button while on spectator mode 🤔

#

I'd like to disable this button for certain purposes

nocturne python
jolly rock
#

Apoco .si tilín

placid geode
#

xd

placid geode
hardy lily
placid geode
#

that buttons are not part of json ui ( i think ) so there is no solution

hardy lily
#

ok

jolly rock
patent bramble
#

Anyone able to help me relearn json Ui? Doing everything via docs is gonna take me weeks to get back into

wild violet
#

I’ve haven’t dabbled around with jason ui before so I was wondering if it’s possible to add ui to the main menu that changes the subpacks packs in a resource pack

wild violet
patent bramble
#

I’ve tried that too

wild violet
#

I think there’s good documentation on bedrock wiki

#

I’ve used that for resources packs a lot

patent bramble
#

Didn’t I just mention it would take weeks to learn by docs again?

wild violet
#

Oh shoot mb

#

I wonder if u could feed chat gpt all the documentation

#

And then ask it specific questions

patent bramble
#

I know its a lot but I learn 30x quicker in 1 to 1 sessions

wild violet
patent bramble
#

I’m so rusty I forgot how to format for modifications to an existing screen

wild violet
#

Just in a resource pack

patent bramble
wild violet
#

Ok np

patent bramble
#

The last time I messed with UI was months ago

wild violet
#

Is ui for resource pack or behavior pack

patent bramble
#

I lost motivation after not being able to hook up my correctly

#

UI is resource pack based for the most part

wild violet
#

Ok thanks

jolly rock
#

The best UI😎

patent bramble
#

or i could be stupid

#

I wanna recreate the start screen

wild violet
#

Alright good luck

patent bramble
#

I was gonna add a quick bind to load the last world played

#

without having to press start once

#

Yk what nvm, if I gave up it’s for good reason

opal aurora
jolly rock
#

With profile button

viral oxide
#

Is it possible to manually define the buttons in a server form rather than use the default factory?

viral oxide
#

oh cool, so can I just manually set them as children && set collection index and the buttons will bind to their usual actions?

oak verge
#

yeah
take a look at Digsel latest video

viral oxide
#

could ya send a link? tried to search but no results

#

ahh, wait found it, dingsel

opal aurora
#

the one that leads you to your actual profile screen (not dressing room)

#

still thumbsdown

jolly rock
#

This is what they asked me to do

#

(textures will be modified later)

#

thumbsdownn't?

nocturne python
wild violet
#

Will we ever be able to edit ore ui?

viral oxide
#

probably

wild violet
jolly rock
wild violet
#

I’m working on making a custom Home Screen

viral oxide
#

Anyone know how to rotate an image element? I tried a few props I saw intellisense that seemed somewhat relevant, but none i found were allowed

viral oxide
#

damn ok, time to do some crazy stuff then lmao

wild violet
jolly rock
wild violet
#

Ok np

#

Is there any good places to start

#

To make something very similar

jolly rock
#

I don't know, It's not really difficult to do something as simple as what I did

wild violet
#

Ok thanks

#

I have one more question

#

Is it possible to add a sub pack selector shortcut with jason ui on the title screen

jolly rock
#

Honestly I'm not sure, maybe someone better at this could help you

#

But probably not

wild violet
#

Okay thanks anyways

#

I’m trying to have a panorama selector

opal aurora
sullen quail
#

how do i reposition an actionbar to be shown at the top of the screen

wild violet
#

How can I reload my pack during testing without deleting it and reimporting it into Minecraft every time I make a small change?

placid geode
#

Put it in the development_resource_packs folder, just quit and join your world and it will reload

wild violet
#

Okay thanks I didn’t know that existed

neat hare
#

Try "/reload" instead of quitting and rejoining if you are modifying the behaviour pack after its in development_behaviour_pack
"/reload all" is also an option can be used when modified a resource pack or a behaviour pack

oak verge
#

/reload only reload scripts and functions
use "/reload all" otherwise

placid geode
#

Mojang implemented it recently

weak cape
#

Damn, that's new to me

#

Thanks for the info

placid geode
#

It's basically the same as if you quit and join your world but using a command

neat hare
#

"/reload all" will make you quit and rejoin fast

wild violet
#

How do i reload if im working on making a Home Screen ui change

#

Also when i drag and drop my pack into the development folder it no longer appears

#

isnt this right

#

nvm i somehow fixed it

viral oxide
#

Does anyone know how to make custom hovertext show up when hovering a button?

weak cape
viral oxide
#

oh cool yeah ill give that a shot

#

btw quick thing, what does the c mean here: 100%c when its defining a size?

safe wasp
#

cm is that scales to biggest child

viral oxide
#

ohh interesting

viral oxide
chilly yacht
#

X or Y

#

and then yeah cm is just the biggest visible element

safe wasp
#

Visible is very important

pliant dagger
#

is it possible to show the totem ui without using it ?

#

or recreate something like it

chilly yacht
pliant dagger
#

Is that server stuff or can I do that with just script api

chilly yacht
weak cape
opal aurora
#

due to how restrictive modern android is, and mojang doesn't allow you to customize game folder location anymore

hexed briar
opal aurora
#

then just move your project workflow folder straight to the game data folder

fringe cloud
#

In latest version 1.21.44 I think

#

It reloads everything

opal aurora
#

wait, i think i know the problem here

#

move your packs to development_*_packs folder, so that the game won't copy your packs to world resource/behavior packs folders and the game will use packs in your development pack folders

hexed briar
#

well the issue with that is

#

you'll need to create another new world, since you just moved it to dev folders.

#

or you can manually delete those cached packs on your world folder.

glossy kindle
#

is it possible atm to make ui;s using ore-ui?

glossy kindle
#

ow rly

#

can u show me how

#

cant find any resources

glossy kindle
oak verge
#

you can't
you can make similar ui using json ui tho

glossy kindle
oak verge
#

depend

turbid nimbus
oak verge
#

can't

glossy kindle
#

@turbid nimbus @oak verge

#

can u tell me what my stupid brain did wrong

oak verge
#

what is the problem

glossy kindle
#

so

#

i have 2 sevrerform ui's that i combined using a json merger

#

1 check for form named Server another for Shop

#

and when i try to open those forms they dont work

#

it gives an error

turbid nimbus
glossy kindle
#

i did try starlib

#

liked it but hard to understand

#

@turbid nimbus does it combine 2 serverforms

turbid nimbus
oak verge
#

i have no idea what are you trying here

glossy kindle
glossy kindle
glossy kindle
#

im dumb

turbid nimbus
glossy kindle
oak verge
glossy kindle
#

just gotta find it wait a sec kay

#

@oak verge

#

@oak verge are u cooking

#

bro dipped

#

😭

hexed briar
turbid nimbus
glossy kindle
hexed briar
#

you can't expect people who doesn't know json-ui to copy and paste everything

#

and here we are, you literally learn nothing.

glossy kindle
oak verge
#

errors?

glossy kindle
#

just this

glossy kindle
turbid nimbus
glossy kindle
#

@oak verge Server works shop doesnt

oak verge
#

hmm

glossy kindle
#

server works

#

i will center and fix it myself

hexed briar
oak verge
glossy kindle
oak verge
#

what about a form without any of them

glossy kindle
hexed briar
#

even someone who knows json-ui as mine did is also pretty confused.

glossy kindle
# oak verge

@turbid nimbus stop arguing and help me pls 😭

turbid nimbus
glossy kindle
turbid nimbus
glossy kindle
hexed briar
#

what are you trying to do?

glossy kindle
#

the [Server] title works but Shop doesnt

#

no erros in log aswell

turbid nimbus
glossy kindle
#

thats what i did

#

but it didnt work

#

so i am asking for help here

turbid nimbus
#

hm

glossy kindle
hexed briar
#

gimme moment.

glossy kindle
#

imma go do my assignment ping me if u could help me or will i have to use a default one 😭

turbid nimbus
oak verge
#

do the shop one even work? i didn't change a thing

oak verge
#

🗿

glossy kindle
hexed briar
glossy kindle
hexed briar
#

Little tip — (#string = 'something') doesn't always work since some string does contain hidden symbols and such.

glossy kindle
#

IT WORKED OMG THNAK U @hexed briar

#

Bro thank u

#

👍

oak verge
turbid nimbus
viral oxide
#

anyone know how to make the elements in a stack panel be centered in that stack panel?

abstract cosmos
#

how to work clip type animation?

opal aurora
viral oxide
#
{
                                        "some_panel": {
                                            "type": "stack_panel",
                                            "orientation": "horizontal",
                                            "size": ["100%", "100%"],
                                            "use_child_anchors": true,
                                            "controls": [
                                                {
                                                    "test": {
                                                        "type": "image",
                                                        "texture": "textures/items/stick",
                                                        "layer": 200,
                                                        "size": [20, 20],
                                                        "anchor_to": "center",
                                                        "anchor_from": "center"
                                                    }
                                                },
                                                {
                                                    "test": {
                                                        "type": "image",
                                                        "texture": "textures/items/apple",
                                                        "layer": 200,
                                                        "size": [20, 20],
                                                        "anchor_to": "center",
                                                        "anchor_from": "center"
                                                    }
                                                }
                                            ]
                                        }
                                    }

Hmm, gave it a shot, but no luck

tender flower
#

how can I change a global variable if a button is hovered?

wild violet
#

no matter what do my sliders and buttons arent appearing

#

i hate to be a noob but i keep looking at documentation other packs and chat and i cant figure out whats wrong

#

ive been trouble shooting for an hour and havent figured anything out

#

im actually gonna crash out

#

lol

umbral trench
# chilly yacht then add this somewhere

hey bro is this still working normally? mine is getting this error:

[UI][error]-In UI scene: server_form.third_party_server_screen | UI Control: third_party_server_screen | UI Control: variables_button_mappings_and_controls | UI Control: safezone_screen_matrix | JSON UI parse failure: Invalid animation reference!

[UI][error]-In UI scene: server_form.third_party_server_screen | UI Control: third_party_server_screen | UI Control: variables_button_mappings_and_controls | UI Control: screen_background | JSON UI parse failure: Invalid animation reference!
tawny gale
#

has anybody had any success in editing how MessageFormData form look and feel with out an external library??

#

@abstract cosmos you might want to ask that in the #1067535382285135923 or #1067869288859447416 channel! this is JSON UI, its all about graphics here my friend

abstract cosmos
tawny gale
#

no probs, i do it all the time

abstract cosmos
restive crag
# tawny gale has anybody had any success in editing how MessageFormData form look and feel wi...

ridiculous, not hard, ridiculous.
popup_dialog.json

{
  "modal_dialog_popup/modal_input/modal_bg_buttons": {
    "bindings": [
      {
        "binding_type": "view",
        "source_control_name": "modal_bg_buttons",
        "source_property_name": "((#modal_title_text - $flag_indicator) = #modal_title_text)",
        "target_property_name": "#visible"
      }
    ]
  },

  "modal_dialog_popup/modal_input": {
    "$flag_indicator": "§r",
    "modifications": [
      {
        "array_name": "controls",
        "operation": "insert_front",
        "value": {
          "custom_modal_panel@custom_modal_panel": {
            "bindings": [
              {
                "binding_type": "view",
                "source_control_name": "modal_bg_buttons",
                "source_property_name": "(not ((#modal_title_text - $flag_indicator) = #modal_title_text))",
                "target_property_name": "#visible"
              }
            ]
          }
        }
      }
    ]
  }
}
runic portal
#

how do i prevenmt a form from lagging when i open it

hardy lily
#

I forgot how to change toggles, dropdown, and sliders textures. anyone know how to do that?

weak cape
#

works the same

fathom mica
opal aurora
fathom mica
#

if vertical?

tropic badger
viral oxide
#

Anyone know how to stop custom hud elements from disappearing when going into a server form?

oak verge
#

add them to server form 🤷‍♂️

viral oxide
#

i need it outside the server form too xD

#

prefarrably i wouldn't want to have multiple because it has some state with preserved title texts

oak verge
#

i meant add them in both
there is a way i think but it is not pc friendly

viral oxide
#

whats the other way thats not pc friendly?

oak verge
#

not sure title texts work with that

oak verge
#

prevent_touch_input set to false

viral oxide
#

hmm seems to be an invalid prop, rn its an image, i assume it needs to be a panel?

#

ah yeah, needs to be an input panel, no luck with this, it still disappears

#

imma maybe just have to try the 2nd version of it for forms ig

oak verge
#

in the server form

#

it is a variable i think

viral oxide
#

still no change

chilly yacht
#

theres a much easier way.

#

send your server_form.json file

viral oxide
#

cant send it directly cus NDA

chilly yacht
#

okay well

#

in your

#

third party server screen

#

in server_form

#

it should be at the very top

#

add "render_game_behind": true

viral oxide
#
    "[email protected]_screen": {
        "$screen_animations": [],
        "render_game_behind": true
    },

still no change with this

chilly yacht
#

really?

viral oxide
#

yup, i wonder if its something specific to do with having stuff in hud.root_panel?

chilly yacht
#

no

#

server form and hud screen dont collide at all

#

it may just be more than what i said

#

one sec

#

okay i got it my bad

oak verge
#

maybe he need
"render_only_when_topmost": false,
"force_render_below": true,

chilly yacht
#

its multiple variables

chilly yacht
#

its

"render_game_behind": true,
"force_render_below": true,
"render_only_when_topmost": false
``` @viral oxide
viral oxide
#

awesome yeah that worked!

chilly yacht
#

👍

oak verge
#

what dose should_steal_mouse do?

chilly yacht
#

i've never used it

oak verge
#

and allow aim?
can be useful if so

chilly yacht
#

i believe it invlovles more than just that

viral oxide
oak verge
viral oxide
#

have you ever played on a controller and done inventory management, the item slots snap the cursor to the center of the slot, maybe thats an example of it in game? (that also could be done by something else, just a theory)

chilly yacht
#

like it hides it

#

it makes me use arrow keys for navigating buttons

slim oyster
#

ok I give up

#

json is just too complex

#

it's so glitchy

oak verge
chilly yacht
#

make a post

oak verge
# slim oyster

you need to change the grid to a collection panel if you want to control them depending on there index

slim oyster
#

how do I do that?

jolly rock
oak verge
oak verge
jaunty smelt
#

any ideas on how i can improve?

jaunty smelt
#

idk how to do

#

its in hud screen

oak verge
jaunty smelt
#

variable on the image

jaunty smelt
oak verge
jaunty smelt
#

then no

#

0_0 thought he was on about crosshair mb

oak verge
slim oyster
#

respect bru

oak verge
#

just check the collection panel

chilly yacht
jaunty smelt
#

its hard to fully center it

#

as when ur max hp goes up it normaly moves the stats to the right

dark skiff
hexed briar
#

although unfortunately, this is useless if you're doing it for non in-game UIs.

#

and also this is more of hud screen exclusive since that's the only thing you can control cursor with.

oak verge
hexed briar
oak verge
#

alr
i will take a look when i can

hexed briar
#

though might be funky or just doesn't work because both screens are expecting cursor interaction and stuff

#

it's kinda not like touch controls displaying outside of the hud.

oak verge
#

yeah, you can make the game playable while a server form is open in touch controls

hexed briar
#

also be careful with that thing

#

since you can actually softlock your game with it for some reason

oak verge
#

never used it tbh, just having fun playing around with json ui

turbid nimbus
# chilly yacht

It is so similar to BundleUI. But lol we got this design from one server

slim oyster
#

did you manage to do it?

weak cape
left yew
turbid nimbus
clear lantern
#

Can someone help me with post of creating NPC UI dialogue interface?

#

Please

left yew
#

Either way both are similar to mcc island. Bundle ui doesn't really take the objective high within that imo

turbid nimbus
turbid nimbus
left yew
left yew
#

Same way I'd just consider the NG ui I made a branch of ore ui, because it's pretty much just ore ui

turbid nimbus
left yew
turbid nimbus
left yew
#

Ight zawg

turbid nimbus
left yew
#

It's just the word dawg with a z at the start lol

clear lantern
#

Guys, please, anyone who can work with json ui. Can someone help me? I would like to create different dialogue bubbles for NPC whenever message in dialogue starts with defined prefix. I made post about it. If someone has any idea, please help... I'm trying to learn it, but still without succeed

tawny gale
#

another JSON UI noob asking, probably a simple question, but, if i have a form with a dynamic title how do i map it to a custom long form. I've got the basic target property visibilty down but only if i have a hard coded title

slim oyster
#

is there like an archive with the mcpe json components?

placid geode
slim oyster
#

ty

tawny gale
tawny gale
#

sure, now that i know it!! just trying to pay a complement

tawny gale
#

@chilly yacht dropped in on you stream last night sir, are you some kind of UI Jedi Master

young falcon
#

How I can make an custom book ui

#

It's possible to make with a vanilla book?

raw barn
#

This isn't JSON UI related.