#DDUI General

1 messages · Page 2 of 1

hollow crane
#

does DDUI allows custom inventory too? is it possible? or it's not designed on that?

hollow shell
hollow crane
sturdy slate
#

@hollow crane

sturdy slate
#

You're looking at the wrong pin.

hollow crane
#

I see

#

oh it's on the very bottom

#

second to the bottom

#

thanks a lot

#

also we got bad apple immediately dang...

vast hull
#

DDUI using textures/ui?

vast hull
#

what is this

sturdy slate
vast hull
sturdy slate
#

Idk.

blissful bridge
pale shard
#

which character are you using for caolid colors?

#

is it modifiable with a resource pack already?

pale shard
#

are you using a custom font to make it fill the edges though?

pale shard
#

if you use json ui, you can display a second map on top with reduced alpha to mix colors together

#

but you would lose the real time display and the ability to move the map

rustic helm
pale shard
#

oh, so those characters only fill the gaps in oreUI?

pale shard
pale shard
#

CubeCraft has DDUI in Egg Wars, how is that possible?

#

not only does it have real-time updates, it also has custom style and a synchronized copy of the player inventory

orchid warren
#

that isn't DDUI

median knot
#

That's JSON UI

pine ferry
rustic helm
#

And someone hates that

vast hull
#

I

pine ferry
#

genuinely almost every showcases ive seen are literally just Ore-UI themed with different layout and im not even exaggerating.

#

i don't even know if i can call it Ore-UI themed since its literally feels like a aseprite theme.

sweet pewter
#

I took am getting sick of it

rustic helm
pine ferry
blissful bridge
#

they just do their weird packet stuff to detect certain slot aka button clicks

pale shard
#

i have made chest json ui myself where i transformed clicking an item into a button click, and it wasn't like theirs.

#

it didn't feel the same

#

regardless, it can't be ddui anyway since it was only added 2 previews ago

pale shard
blissful bridge
#

And if you wanna test that it’s really a form just delete the pack out of your pack cache folder and re join without restarting the game

visual oyster
#

Did DDUI release yet?

#

Or beta maybe?

nocturne venture
rustic helm
#

dead chat

nocturne venture
median lagoon
#

Ddui isn’t even good

#

JSON is the way

hollow shell
rough jay
#

Ddui as it is right now is mid ash

foggy stone
rough jay
#

Seems we are in agreement

sweet storm
undone patio
#

For now, that is

hollow shell
vocal fiber
#

Some Mojangsters have talked about some of the stuff that will come soon enough, in the preview chat it was first shown in preview

#

Plus, currently you can do more with just 1 DDUI modal than any ActionForm available atm as it combines all 3

vocal fiber
median lagoon
#

😭😭

winter creek
vast hull
#

Is this forgotten now

hollow shell
#

@vast hull

#

Haha no

#

There’s just not much to talk abt since we really went over it

blissful bridge
nocturne venture
#

dead but not forgotten

shadow hill
#

waiting it to released into stable

#

and have more api

#

and can be stylized/customize

#

etc etc

vague turtle
vast hull
#

nah

vague turtle
#

yes

mint pumice
#

did we already do everything possible with the ddui?

knotty pewter
raven nimbus
#

Fun interface, everyone must have already played around with it.
I’m just getting started now :3

#

Also, does anyone know if unsubscribe from an Observable works as it should?
I’ve been trying it, and it seems like it won’t stop emitting events when using subscribe

nova sparrow
lament trellis
#

Hey, is this still an issue? we are not able to reproduce this from our side, we have placed some fixes around this

knotty pewter
lament trellis
#

Tx

knotty pewter
lament trellis
#

Awesome, thank you so much!!

white jasper
#

That delay is rough 😩🙏

digital river
#

Justify superiority

vague turtle
rough jay
#

What we really need is layout but I’m starting to doubt anything will be added

digital river
#

What a workaround! 🗿

#

very .spacer() coded

zenith turret
#

Is there somewhere I can bet on this!?

signal vine
#

I didnt know they had updated the module

#

this is amazing

#

what characters do they use for displaying images?

signal vine
#

thanks

glad heath
#

can i ask if DDUI can like.. generate a new button, label, dropdown and such.. while the form is open?..

nova sparrow
#

no

#

the only way to do this is to pre include the elements and only set visibility to true when needed

rustic helm
#

keep in mind you can change the button title dynamicly

scarlet harness
#

guys

nocturne venture
scarlet harness
#

is it just me or observable unsubscribe doesnt works as it should?

system.run(() => {
    const v = Observable.create<number>(0)
    system.runInterval(() => {
        v.setData(v.getData() + 1)
    }, 20)

    const subs = v.subscribe((v) => {
        console.log("V changed to", v)
    })

    system.runTimeout(() => {
        v.unsubscribe(subs)
        console.log("UNSUBSCRIBED")
    }, 5 * 20)
})
scarlet harness
scarlet harness
bitter spruce
#

Is it stable yet ?

blissful bridge
#

love how they pushed it to stable!

#

no bugs at all!!! 🔥

rustic helm
#

Huh? It is beta
That how things work, we get APIs in preview, they get to stable beta, and stay there until they are fully implemented with as little bugs as possible

#

DDUI is far from done

blissful bridge
#

when its nowhere near stable ready

#

doesnt really matter if its beta apis its still not close to being ready for stable

rustic helm
#

That how things worked for ages
There is only handful of stuff that stayed in preview, like the editor
Most stuff that is not ready or stable do require a experimental toggle (that do warn you about this)

knotty pewter
rustic helm
#

Well, hopefully

scarlet harness
winter creek
#

I feel like those observable for visible text etc.. are too much confusing and unreadable im making a class to handle them

winter creek
#

I ve made it if someone wants to try it #1486800687424606440

glad heath
#

is subscribing to many observables causes lags?

winter creek
past gale
#

it shouldnt and it does not can be 2 very different things xd

winter creek
#

sorry for ping i forgot to unping the reply

glad heath
#

Thankss!

granite tartan
#

is unsubscribing from observables not working for anyone else?

nova sparrow
granite tartan
#

also why \n not work for this?

rough gust
#

msg for saving

plain magnet
#

can DDUI be used for custom HUD elements?

foggy stone
knotty pewter
vocal fiber
#

It'll all come later 🤞

#

Keep in mind, later could be a few more weeks to a few more months, or even a year 😅

sturdy slate
#

Need Block UI ASAP

plain magnet
#

Gotchu, thanks guys

vocal fiber
#

I need Block UI also.
🙏

knotty pewter
sturdy slate
#

Just player interact -> showForm

vocal fiber
#

Block UI is more important

#

Yessss

#

Or even just inventory slots with DDUI. And we can use that for block UI with what Smokey said

#

🙏

sturdy slate
#

Precisely, We need not to storing items as a first pass. All that needs is slots to put items and then when closed the items go into your inventory. Also allows for per player.

vocal fiber
#

We could use dynamic properties, with it right (if it ever happens)?
Or even save it through block location is possible

sturdy slate
#

For saving block "inventory"? Sure.

vocal fiber
#

Yeah

sturdy slate
#

I just need the most basic of basics which is just non persisting slots. Hook the slot into an observable, peak.

vocal fiber
#

Yeah, like a crafting table

#

That's mostly what I need it for also

sturdy slate
#

Yes, I too need something akin to a crafting table.

knotty pewter
#

I'm really curious to know how the custom block-entity will work. Do they intend to release fields that vanilla users already use? Because normally everything is saved in the NBT.

vocal fiber
#

But well, not blocks ofc

sturdy slate
#

Requires an entity. #bleak

vocal fiber
#

Yeah 😔

#

Does anyone know what the DDUI roadmap is like atm?

#

Is there anything public about what's next for it?

sturdy slate
#

All the info is pinned.

knotty pewter
#

I hope that adding images to the form will come soon.

honest lynx
blissful bridge
#

thats the only thing thats wrong

honest lynx
#

just to confirm, we will get container UI as in chest ui displayed without needing to do hacky workarounds? similar to java.

vocal fiber
#

That could be weeks, months or even a whole year btw

#

Hopefully now that DDUI is out of preview, we could hopefully see something from DDUI either today or next week 🙏

honest lynx
# vocal fiber Eventually, yes

yeah, its great that they're thinking of adding these.

hopefully they wont have the slow close -> open animation for when sending an inventory UI while 1 is already open 😓

#

and not limited to the current container UIs, a 1-2-4-5 row chest ui would also be great. again, similar to java

knotty pewter
#

It is now possible to skip lines.

vocal fiber
#

Yeah, they added the \n for it today!

knotty pewter
placid spade
#

is it necessary to unsubscribe Observable subscribed functions regardless of the instance being unused?

rancid hull
#

How do you make it so only button in a given group of buttons can be disabled at a time?

placid spade
rancid hull
#

And if you disable one button the previously disabled button will be enabled

#

Is there like some simple way that doesnt involve making like 5 different observeables for each button and creation a specific function

placid spade
rancid hull
#

Why I am I getting error with my code

#

Like I don't even know what specifically I'm getting problems with

placid spade
rancid hull
placid spade
rancid hull
placid spade
#

this is js

#

the value (mode) has to be the index of the dropdown

rancid hull
placid spade
#

Observable<number>

#

u can try number if u wana see the error

rancid hull
#

That's

#

Annoying

#

Also the slider was giving issue about something in there not being a function

placid spade
rancid hull
#

??????

#

Why

placid spade
#

2(radius...) ;-;

rancid hull
#

Thanks

rancid hull
#

I'll try that

mortal field
#

How to switch form with this? for example you have a Main Form, then there is a Option button, after press that you will open Option Form

upper pulsar
#

I hope DDGUI will let us add custom components in the future since well, it's OreUI

#

I need this for geyser computercraft bedrock integration addon 🤑

upper pulsar
#

like

#

react components or something similar

#

where we get DOM access

sturdy slate
#

Ah, gotcha.

#

I was thinking the block/item route which...made no sense.

upper pulsar
#

I need this UI to be possible for a CCBE clientside port for geyser

upper pulsar
#

you have the terminal, your inventory, and the turtle's inventory on the bottom right

thorny citrus
#

we know

upper pulsar
#

I honestly only do bedrock addon things for geyser

#

If I've written a mod on Java that is mostly serverside logic with a bit of client logic I usually write a geyser extension that contains a bedrock addon

placid spade
wild verge
#

How do I close the customform within a function? I tried CustomForm.close()

wild verge
#

How do I close a customform in general

placid spade
wild verge
wild verge
#

Am I able to update the amount of buttons dynamically?

nova sparrow
#

combined with changing the label of the button it is possible to add a button semi "dynamically"

wild verge
#

And you are positive?@nova sparrow

nova sparrow
#

that is what the changelog says

wild verge
#

Will a button visibility update if the visible option is an observable with a string as it’s data?
Can it evaluate to a Boolean?

wild verge
#

Why is it that when a custom form closes, an action form doesn’t open when requested?

spice grove
wild verge
#

Waiting 6 ticks did the trick for me.

noble laurel
#

Is DDUI a form of ore UI?

rustic helm
noble laurel
# rustic helm yes

Is it worth learning now so I can apply it to resource pack stuff when that becomes an option?

rustic helm
noble laurel
#

"yet"

#

Json UI is getting replaced so should I start learning the new system early or wait till it's resource applicable?

foggy stone
noble laurel
#

Ah

knotty pewter
noble laurel
#

Im hoping to make something like this eventually

#

When support exists for it

knotty pewter
noble laurel
#

If it's closer to web stuff then that's a good skill to learn anyways

knotty pewter
# noble laurel When support exists for it

Well, in that case, DDUI needs to evolve to other screens. A Mojang employee said that it will indeed evolve to them, but at the moment we don't have much of a basis to follow to determine if it will be better or worse.

knotty pewter
#

Look

noble laurel
#

I just gotta wait a couple years

knotty pewter
#

In addition to screens already existing for containers

knotty pewter
#

Stable in 26.30

shell elbow
#
world.afterEvents.itemUse.subscribe((event) => {
    const { itemStack: item, source } = event;
    const player = source as Player;

    if (!player) return;
    if (item.typeId !== 'minecraft:stick') return;

    const formTitle = new ObservableString('MessageBox');
    const form = new MessageBox(player, formTitle);

    form.show();
});```
Why is this what an empty `MessageBox` looks like!?
#

I also think it's quite weird that we can't provide a .closeButton() or that the x close button isn't there in the form. It would also be nice to be able to make the 2 visible buttons side by side instead of stacked vertically.

shell elbow
#

So §o and §l doesn't seem to do anything but §k actually tries to do something by replacing all letters with a . which is strange. Obviously I expected §r to work as intended. I hope we see strikethrough or underline at some point with this new UI.

-# Edit: I also noticed that the new colour code §w following the new Party Chat text colour doesn't seem to be working in DDUI just yet. Now we just have §x, §y and §z left. What will Mojang do with them? 🤔

short prairie
#

kkkkkkkkkkkkkkkkkk

orchid zodiac
thorny citrus
#

I'll never regret it, lol.

knotty pewter
#

When that happens, I can do a full port of the old form to the new one. 👀

vocal fiber
#

Is there a way to add a DDUI to a pre-existing screen? Like the inventory screen? Or just always on?