MODIFYING UI'S WITH JSON UI (Minecraft Bedrock Scripting API and JSON UI)

Поділитися
Вставка
  • Опубліковано 19 гру 2024

КОМЕНТАРІ • 113

  • @FailRaceFan
    @FailRaceFan 11 місяців тому +1

    Woah, the tutorials are so well done. I just have to learn JavaScript now to do this myself...

  • @naker_n
    @naker_n 11 місяців тому +1

    Bro's the saver of the bedrock addon community

  • @yKoro
    @yKoro Рік тому +7

    you are a angel, thanks

  • @SparkPlays101
    @SparkPlays101 3 місяці тому

    where did the form "my super custom panel" minute: 1:50 appear from?! in ur 1st video u did not explain this not at the start of the video...
    ur cutting out essential learning parts and from there im already lost..

  • @secRaphyTwin
    @secRaphyTwin Рік тому +5

    OMG I'm hyped ngl ❤🎉

  • @ОмейГаген
    @ОмейГаген 11 місяців тому

    Hello! Thanks for 2 episodes. Here's an idea for the next episode: show how to create more than two menus (I mean the design of the panel, buttons, etc.

    • @Dingsel
      @Dingsel  11 місяців тому +1

      you can just add another panel and change their references to your other custom panel. Dont forget to edit the show condition tho

    • @ОмейГаген
      @ОмейГаген 11 місяців тому

      @@Dingsel Thank you, you are the best UA-camr who really shows useful things and answers in the comments.

    • @ОмейГаген
      @ОмейГаген 11 місяців тому

      Hello again! Last question. In the original panel where you showed how to create the opposite (if it is not a menu called Custom Forms, then the original panel is shown). How to apply and to the second title? If you don't understand my question, you can ask again

    • @Dingsel
      @Dingsel  11 місяців тому

      @@ОмейГаген just subtract the 2nd form title from the text aswell

    • @ОмейГаген
      @ОмейГаген 11 місяців тому

      THANK YOU! I succeeded! You are the best UA-camr who helps people!

  • @martinrademakers4215
    @martinrademakers4215 11 місяців тому +1

    when i put the icons in the ui folder it gives purple and black icons what am i doing wrong?

    • @martinrademakers4215
      @martinrademakers4215 11 місяців тому

      lmao i already fixed it. I put it in the wrong folder :)

  • @mrhealthfitness683
    @mrhealthfitness683 Рік тому +5

    Cant wait for it bro

  • @MagicBlockStudios
    @MagicBlockStudios 11 місяців тому +1

    Hello, thank you very much for the tutorial, but I would like to know if it is possible to create a UI where, for example, buttons 1, 2 and 3 are vertically on the left side, and other buttons such as 4, 5, 6 and 7 horizontally on the left side

    • @Dingsel
      @Dingsel  11 місяців тому +1

      Yeh for that you have to make the buttons 1,2 and 3 not be included in the button factory. In the same panel as the factory, add your button to the controlls and manually give it a collection index property (from 0 - 2) you do that for all buttons.

    • @MagicBlockStudios
      @MagicBlockStudios 11 місяців тому

      ​@@DingselDo you know where I can find a specific file with this, or where there is the necessary documentation?

    • @Dingsel
      @Dingsel  11 місяців тому +1

      @@MagicBlockStudios you are out of luck there. I do have the links to the json ui docs in the description but i dont think they will help you. If you can not find an exaple for this then you just have to take my word on that

    • @mrhealthfitness683
      @mrhealthfitness683 11 місяців тому

      @@Dingsel Bro could you explain more about the json ui . like make a ui like the hive or cube craft

    • @Dingsel
      @Dingsel  11 місяців тому

      @@mrhealthfitness683 tbh its all just textures. If you read my responses on other qurstions you might already be able to do that on your own.

  • @shaneruegg1402
    @shaneruegg1402 8 місяців тому +2

    How do I add a custom image icon to my button

    • @bl4ckband
      @bl4ckband 5 місяців тому +2

      Okay so you're going to want to go into your code if it's a custom icon you're going to have to adopt PNG to the file path so on the the older ones so if you download the pack that he has you'll see that the buttons have a comma and then a quotation after the button that shows a file path to an image write for custom ones you have to have. PNG and for the ones in Minecraft you just have to leave the path like that and if you check inside the actual pack they sent on the second custom ui you will see

  • @KerolusPremium
    @KerolusPremium 10 місяців тому +1

    How can I make the type of panel to grid

    • @Dingsel
      @Dingsel  10 місяців тому

      since a lot of people asked me this :
      In your button factory
      change type from stack panel to grid
      remove orientation property
      add grid_dimensions and grid_fill_direction and grid_rescaling_type (optional)
      reference your button in grid_item_template
      change the binding_name_override to #maximum_grid_items

  • @oleksandr_v-s_5952
    @oleksandr_v-s_5952 7 днів тому

    А как добавить паро кастомных форм? На тригерах по названию?

  • @agentx-y5654
    @agentx-y5654 11 місяців тому +1

    Pls make a tutorial about how to make a custom crafting table ui

  • @Amaan-5347
    @Amaan-5347 11 місяців тому

    Würde es sogar cool finden wenn du zeigen könntest wie man mehrer macht also so das wenn man z.B. auf Skins geht wieder ein Menu sich öffnet.

  • @Natam714
    @Natam714 2 місяці тому

    Dude how can I make 2 UI in the same script?, like, to modified UI in the same script?, I tried to do 2 ADDONS with this modified UI but they are in conflict and I can't solve it, soo I tried to put the both in one script/addon

  • @swit_azya
    @swit_azya 5 місяців тому

    Hello, can you explain me how to create more than two form ? I've try to create a third form but it overlap.

    • @Dingsel
      @Dingsel  5 місяців тому

      wich means you have set up the conditions wrong

  • @martinrademakers4215
    @martinrademakers4215 11 місяців тому

    Now how do i make the buttons open things like other forms and run commands?

    • @Dingsel
      @Dingsel  11 місяців тому +1

      That has to do with scripting. I did make a video on server forms once but it is in german. Alternetifly you can join my discord server and get help from there.

  • @LeojBaldonado
    @LeojBaldonado 7 місяців тому

    Is it possible to create a button? For example the jump button

    • @Dingsel
      @Dingsel  7 місяців тому

      on screen without a menu? no.

  • @KerolusPremium
    @KerolusPremium 9 місяців тому

    How can i set the button background color to invisible

  • @ItsDogpeeps
    @ItsDogpeeps 7 місяців тому

    how do I make them with functions. It's not working for me.
    when I try one way it says player is not defined, and the other way it says form is not defined

    • @Dingsel
      @Dingsel  7 місяців тому

      well I cant do that alot with that information. Just post your code on my discord server and someone will help

    • @ItsDogpeeps
      @ItsDogpeeps 7 місяців тому

      @@Dingselok thanks 😊

  • @LemonBS
    @LemonBS 12 днів тому

    hello! why this RP isnt work in my server?

    • @Dingsel
      @Dingsel  12 днів тому

      @@LemonBS idk you tell me. The addon is still fine for the latest version of minecraft. Check if its not something else

    • @LemonBS
      @LemonBS 12 днів тому

      @Dingsel resource pack does not work on the latest version

  • @LakkzScratch
    @LakkzScratch 11 місяців тому

    How can I run a command when a button is clicked, like "/give @s cooked_beef 64". This is all I need to use the JSON UI.

    • @Dingsel
      @Dingsel  11 місяців тому

      Thats just scripting. Json ui is only for styling the forms. I did have a rather oöd video on that but it is in german. Short version is : yourActionform.show returns a promise with an object containing the button selected. You then use an if statement or swich case to check wich button was pressed und run the command.

    • @LakkzScratch
      @LakkzScratch 11 місяців тому

      @@Dingsel ik JSON UI is for styling the forms, I just need to know how to activate in-game commands when a button is clicked. Idk how to check which button was pressed and idk how to activate an in-game command when a button is clicked. That is what I ment if you didn't understand.

    • @Dingsel
      @Dingsel  11 місяців тому

      @@LakkzScratch There are some people in my discord who can help you out with scripting if thats what you are asking

  • @LiechYT
    @LiechYT 11 місяців тому

    Emm I need some help. I import the rp and bp pack into Minecraft bedrock world. Nothing is wrong but I just can’t open the ui. Can you anyone help me?

    • @Dingsel
      @Dingsel  10 місяців тому

      Hey if you still have issues with that join my discord

  • @knachman
    @knachman 7 місяців тому

    how do you make it run a command after you press a button?

  • @ClickbaiterZ
    @ClickbaiterZ 11 місяців тому

    Will this apply to all custom ActionFormData? Or we can edit only the specific ActionFormData?

    • @Dingsel
      @Dingsel  11 місяців тому

      Watch last video. It is done conditionally

  • @RedStoneCraftGG
    @RedStoneCraftGG 10 місяців тому

    How about three or more form panels? I tried to add more long forms and make the same binding rules, but it didn't work.
    Edit: Finally, I found a way to make the form panel not overleap, and now, how can I make the custom button scrollable since I have too many buttons?

    • @Dingsel
      @Dingsel  10 місяців тому

      You need to put the content into a scroling panel and make the the stack panel a grid. Not easy tbh. Maybe something for JSONUI #3

    • @RedStoneCraftGG
      @RedStoneCraftGG 10 місяців тому

      @@Dingsel Thanks. I finally figured it out

    • @RedStoneCraftGG
      @RedStoneCraftGG 10 місяців тому

      @@Dingsel How do I make the text background size match the length of the text?

  • @ОмейГаген
    @ОмейГаген 11 місяців тому

    Hello! I succeeded, all 2 Episodes! Thank you! However, if you create multiple buttons, they will extend beyond the frame. How can I make them fit the frame? (Same as standard design)

    • @Dingsel
      @Dingsel  11 місяців тому +1

      reference the panel with the factory in a scroling panel github.com/ZtechNetwork/MCBVanillaResourcePack/blob/b893d1304468df543e11fa74f82ccaf9b57aa874/ui/server_form.json#L55C7-L66C10

    • @ОмейГаген
      @ОмейГаген 11 місяців тому

      @@Dingsel Thank you, you helped me! You answered all my questions, you really the best UA-camr (I know I already said this, but I want to express my gratitude)

  • @ahmadk745
    @ahmadk745 4 місяці тому

    Thanks for the video! I tried to but didn’t know how to do this => If we wanted to have two different custom ui (of same type like 2 ActionFormData) in a way we open the first ActionFormData it shows the first custom ui, then if we opened the second ActionFormData it shows the second custom ui instead of showing the same ui on all forms of same type.
    Can you please make a video about it?

    • @ahmadk745
      @ahmadk745 4 місяці тому

      Summary: How to let two or more ActionFormData to have different custom ui (every ActionFormData alone with its own ui ) “server_form.json”

  • @neverno1-ggs
    @neverno1-ggs 5 місяців тому +1

    0:25

  • @KeeleyChaos-official
    @KeeleyChaos-official 11 місяців тому

    Is it possible to create buttons based off people around you? Kind of like:
    testfor @a[r=5]
    Found , ,
    But instead something like:
    ________________
    | Message |
    []
    []
    []
    [ Cancel ]
    ----------

    • @Dingsel
      @Dingsel  11 місяців тому

      Yeh just add mpre buttons lol. I need to know where you are strugeling with

  • @Jemz_gg
    @Jemz_gg 6 місяців тому

    more tur bro i love your content

  • @Motikofus
    @Motikofus 7 місяців тому

    But if you change offset you will have a problem because it will not display correctly on all screens

    • @Dingsel
      @Dingsel  7 місяців тому

      Nah pixels are consistent on all devices. Adding percentages would make problems but the main panels size is in pixel as well

    • @Motikofus
      @Motikofus 7 місяців тому

      @@Dingsel oh okay.
      Can you do a tutorial to find out how to do several custom interface

    • @Motikofus
      @Motikofus 7 місяців тому

      please

    • @Dingsel
      @Dingsel  7 місяців тому

      @@Motikofus well you just add another panel to the other panels and add the conditions like I did in part 1

  • @reviii-s4t
    @reviii-s4t 9 місяців тому

    Subscribed. can you make more content about Minecraft Scripting + JSON UI please, thank you. 😀

    • @Dingsel
      @Dingsel  9 місяців тому

      what specificly?

    • @reviii-s4t
      @reviii-s4t 9 місяців тому +1

      @@Dingsel maybe some animated UI, like a fake loading/splash screen. Also, creating a dynamic UI that appears under certain conditions, like buttons only appearing when specific conditions are met, would be a great video guide. Thanks!

  • @polanexas
    @polanexas 9 місяців тому

    I feel like giving links to your code would be really useful, or at least for the first video

    • @Dingsel
      @Dingsel  9 місяців тому

      I do

    • @polanexas
      @polanexas 9 місяців тому

      Yes, I know now, just didn't notice it😆
      Sorry

  • @MinecraftBedrockArabic
    @MinecraftBedrockArabic 11 місяців тому

    the text clip outside of the box if it is too big

    • @Dingsel
      @Dingsel  11 місяців тому +1

      You just have to experiment there on your own like changing and setting sizes for the text container or changing the font size there are many ways to solve this

    • @MinecraftBedrockArabic
      @MinecraftBedrockArabic 11 місяців тому

      yeah i did that
      @@Dingsel

  • @SL0357
    @SL0357 11 місяців тому

    thanks for helpful video👍

  • @GamilinoMC
    @GamilinoMC 11 місяців тому

    Very Good Video, A form with a grid would be interesting though, maybe in your next Vidoe right!

  • @Driver_2467MC
    @Driver_2467MC 11 місяців тому

    now a tutorial on how to make an inventory please 😊

    • @Dingsel
      @Dingsel  11 місяців тому

      What exactly

  • @zino9696
    @zino9696 11 місяців тому

    How to make a minecraft bedrock mana system

    • @Dingsel
      @Dingsel  11 місяців тому

      I already made a video on that

  • @JadenAllen
    @JadenAllen 11 місяців тому

    thank you for this!

  • @Dingsel
    @Dingsel  11 місяців тому

    Code will be available soon on skyls.de

  • @Amaan-5347
    @Amaan-5347 11 місяців тому

    Denke das du Deutsch kannst.... Finde es total cool könntest du vllt. mal ein Tutorial machen wie man den weißen Rand zu einer anderen Farbe ändert? Außerdem würde ich es cool finden wenn du das in Bridge V2 mschen könntest den so hab ich 0 Plan wo und wie ich welchen File einfügen soll. Danke fürs lesen btw. Byee

    • @Dingsel
      @Dingsel  11 місяців тому

      Der Rand sollte einfach nur eine Textur sein die du ändern musst. Und von meinen Ordnern könnte man ablesen was in was gehört. So gehören files von dem BP Ordner ins behavior pack und files von RP ins texturepack. Die Struktur des Aufbaues ist gleich.

  • @KerolusPremium
    @KerolusPremium 9 місяців тому

    When is part 3

  • @KairenCraft
    @KairenCraft 5 місяців тому

    Support textField?

    • @Dingsel
      @Dingsel  5 місяців тому

      @@KairenCraft thats not how it works

  • @herotorxp1796
    @herotorxp1796 Рік тому +1

    waiting👀👀👀👀🤩🤩

  • @Vojtaa3181
    @Vojtaa3181 2 місяці тому

    How i can make it on Android

    • @Dingsel
      @Dingsel  2 місяці тому

      well operating system does not matter hear lol. You can edit text on any device and platform

  • @elvergalarga1577
    @elvergalarga1577 6 місяців тому

    where do I download ?

    • @Dingsel
      @Dingsel  6 місяців тому

      Its mentioned in the desciption as well as in the comments bro

  • @user-md8uy3bp3s
    @user-md8uy3bp3s 10 місяців тому

    thank you

  • @BlueIceCrown
    @BlueIceCrown 10 місяців тому

    doesnt work

    • @Dingsel
      @Dingsel  10 місяців тому +2

      skill issue

  • @naruru0416
    @naruru0416 11 місяців тому

    thank you!!!!!!!!

  • @timbo_665bo7
    @timbo_665bo7 11 місяців тому

    Nice thx

  • @codylimb2471
    @codylimb2471 3 місяці тому

    got lost right after you started making the padding... that part makes NO sense.. you jumped around too much

    • @Dingsel
      @Dingsel  3 місяці тому

      Thats quite far into the video. Isn't it? All you have to do, to give the button padding, is to wrap the button in a panel, whichs size is bigger then the button itself. Also i provide the code to all of this here: skyls.de/samples/ui2

  • @lordian7776
    @lordian7776 11 місяців тому

    w video i love it

  • @FallenCosmo
    @FallenCosmo 11 місяців тому

    coooooooooooooooooooooockie

  • @InvysibI
    @InvysibI 11 місяців тому

    Ding fries are done

  • @alonels0
    @alonels0 Рік тому

    yeees

  • @rafamarcos9387
    @rafamarcos9387 11 місяців тому

    You are the best, could you explain in a next video how to make a ctm block, that is, with connected textures. 🫠

    • @Dingsel
      @Dingsel  11 місяців тому +1

      Idk what ctm blocks are

    • @secRaphyTwin
      @secRaphyTwin 11 місяців тому +1

      @@DingselCTM ist ein feature von Optifine(java), wo man connected textures machen kann z.B. wenn grass neben dirt ist, wird das so zusammengeführt sag ich mal, dass die texturen besser matchen

    • @secRaphyTwin
      @secRaphyTwin 11 місяців тому

      @@underblade6918 Ich weiß, ich habe mich mal recht lange damit auseinandergesetzt, es gibt aber keine Möglichkeit.