#Making A Chest I Can Store My Items In But In A GUI.

1 messages · Page 1 of 1 (latest)

simple marsh
#

how can i achieve this?

glossy grove
#

So a custom block wtih a chest UI?

simple marsh
#

i want to be able to have a chest ui that i can put my items in and take them out

glossy grove
#

Ohhh ok, I'm not too familiar but I'll try taking a look

simple marsh
glossy grove
#

Again, I'm not too sure but it sounds like you're going to have to make a JSON UI with a grid that accepts items and then send that UI to the player with the server-UI module. For building the UI I would ask JSON-UI and as for showing the form it should look something like this... minus the actual creation of the form. You'd probably just reference your form https://learn.microsoft.com/en-us/minecraft/creator/scriptapi/minecraft/server-ui/minecraft-server-ui?view=minecraft-bedrock-experimental

Contents of the @minecraft/server-ui module

glossy grove
#

You could also place a chest somewhere in the world and then swap/transfer items from the chest back? Which probably isn't what you want but

glossy grove
#

Wait do you interact with the pet to open that inventory?

#

Yes, but I'm not sure with the chest example how to show the items in there just move them over

simple marsh
#

no you interact with an item]

glossy grove
#

Ah ok, so kinda like a backpack?

simple marsh
#

yes, exactly.

glossy grove
#

I'm not too sure but I know others have done it. Maybe call the thread Make a backpack and hopefully someone else knows how? I would also try on the items help because they might know a way to do that just through the JSON?