#my custom container is not working

1 messages · Page 1 of 1 (latest)

warm crescent
#

}
"small_chest_screen": {
"$title": "$container_title",
"modifications": [
{
"array_name": "variables",
"operation": "insert_back",
"value": {
"requires": "($container_title = 'Chest')",
"$screen_content": "chest.custom_screen",
"$screen_bg_content": "common.screen_background"
}
}
]
},
"custom_screen": {
"type": "image",
"anchor_from": "top_middle",
"anchor_to": "top_middle",
"texture": "textures/ui/custom_screen",
"size": ["100% + 35px", "100% + 25px"]

}
}

what's my mistake?

undone fox
#

Its there

#

Whats the issue

drowsy spindle
#

This looks awful alot like herobrines chest ui

#

The inventory part doesn't work, and interaction other then placing buttons as the slots to generate them.

warm crescent
#

could you help me with reviving my container?

neon cargo
neon cargo
warm crescent
#

You see, I use a translator to communicate with you, but I don’t quite understand what you mean now

#

You seem to be very good at this, can you help?

neon cargo
#

I mean what's wrong with the container

warm crescent
#

My image is not in the top_middle position

#

Although the name of the container is Chest

#

What could be the problem with the display?

neon cargo
warm crescent
#

ok, I'll try now

#

not work

#

{
"namespace": "chest",

"small_chest_screen": {
"$title": "$container_title",
"modifications": [
{
"array_name": "variables",
"operation": "insert_back",
"value": {
"requires": "($title = 'Chest')",
"$screen_content": "chest.custom_screen",
"$screen_bg_content": "common.screen_background"
}
}
]
},
"custom_screen": {
"type": "image",
"anchor_from": "top_middle",
"anchor_to": "top_middle",
"texture": "textures/ui/custom_screen",
"size": ["100% + 35px", "100% + 25px"]

}
}

#

@neon cargo

neon cargo
warm crescent
#

Okay

warm crescent