A container for Windows that belong to a TileEntity.
Closes all windows associated with this container.
Opens the main Window associated with this container for player. Returns true if a window was opened, false otherwise.
true
false
Registers window as a part of this menu. Apart from the main window, every window created that belongs to a tile entity must be registered through this.