跳到主要内容

audio_settings_menu

Audio Settings Menu — misc entry.

Entry Information

PropertyValue
Entry IDaudio_settings_menu
TypeMisc
ColorCyan
Iconfa6-solid:volume-high

Description

Opens the Audio Settings menu for a player. Shows per-layer volume controls as clickable items. Supported button types: AUDIO_VOLUME_UP, AUDIO_VOLUME_DOWN, AUDIO_LAYER_MUTE, AUDIO_CLOSE

Fields

FieldTypeDescription
inventoryTitleVar<String>Title of the inventory
inventoryRowsIntNumber of rows (1-6)
guiTypeGuiTypeGUI type to use (CUSTOM, BOOK, FURNACE, etc.)
layoutPoolList<LayoutData>Pool of layout definitions.
mainLayoutIdString?ID of the main layout to display from the pool.
audioGuiAudioDataAudio configuration for the GUI.

Usage Example

- entry: audio_settings_menu
name: "Audio Settings Menu"
inventoryTitle: ""
inventoryRows: 0
guiType: ""
layoutPool: []
mainLayoutId: ""
audio: ""