Constructs new UI.StandardWindow with specified content. Content is applied to the main window, header and inventory remain the same.
object containing window description
Constructs new empty UI.StandardWindow object.
Creates a new window using provided description and adds it to the group.
window name
window description object
Created UI.Window object.
Adds window instance with specified name to the group.
window name
window to be added to the group
Collection object containing all the UI.Windows in the group.
Currently UI.Container that was used to open this window or null, if the window wasn't opened in container.
null
for WindowGroup.
window name
Window's description object if a window with specified name exists or null otherwise.
Collection object containing string names of the windows in the group.
Sets container for the current window. Be careful when calling it manually. You should prefer opening the window via UI.Container.openAs call.
UI.Container to be associated with current window
or null
to associate no container with current window.
Sets content for the window by it's name.
window name
content object
Copyright © 2024 Nernar. Copyright © 2020 #mineprogramming. Built with ❤ and TypeDoc.
Class used to create standard UI for the mod's machines. UI.StandardWindow is a UI.WindowGroup that has three windows with names
"main"
,"inventory"
and"header"
. They represent custom window contents, player's inventory and window's header respectively.Since
2.0.4b40