GUI

@ConfigSerializable
data class GUI(val remainingChanges: TerixConfig.GUI.GUIItemSlot = GUIItemSlot( "itemsadder:elixirmc__opal", "-1;1" ), val info: TerixConfig.GUI.GUIItemSlot = GUIItemSlot( "itemsadder:mcicons__icon_plus name:\"<white>Info\"", "-1;5", listOf( PartialComponent.of("<i:false><aqua>Click on an origin to select it."), PartialComponent.of("<i:false><aqua>Click on the same origin to deselect it."), PartialComponent.of("<i:false><aqua>Click on the <green>Confirm</green> button to confirm your selection."), PartialComponent.of("<i:false><aqua>Click on the <red>Cancel</red> button to cancel your selection.") ) ), val previousPage: TerixConfig.GUI.GUIItemSlot = GUIItemSlot("itemsadder:mcicons__icon_left_blue", "-1;8"), val nextPage: TerixConfig.GUI.GUIItemSlot = GUIItemSlot("itemsadder:mcicons__icon_right_blue", "-1;9"), val cancelSelection: TerixConfig.GUI.GUIItemSlot = GUIItemSlot("itemsadder:mcicons__icon_cancel name:\"<red>Cancel selection\"", "-1;4"), val confirmSelection: TerixConfig.GUI.GUIItemSlot = GUIItemSlot("itemsadder:mcicons__icon_confirm name:\"<green>Confirm Selection\"", "-1;6")) : MinixConfig.InnerConfig

Constructors

Link copied to clipboard
fun GUI(remainingChanges: TerixConfig.GUI.GUIItemSlot = GUIItemSlot( "itemsadder:elixirmc__opal", "-1;1" ), info: TerixConfig.GUI.GUIItemSlot = GUIItemSlot( "itemsadder:mcicons__icon_plus name:\"<white>Info\"", "-1;5", listOf( PartialComponent.of("<i:false><aqua>Click on an origin to select it."), PartialComponent.of("<i:false><aqua>Click on the same origin to deselect it."), PartialComponent.of("<i:false><aqua>Click on the <green>Confirm</green> button to confirm your selection."), PartialComponent.of("<i:false><aqua>Click on the <red>Cancel</red> button to cancel your selection.") ) ), previousPage: TerixConfig.GUI.GUIItemSlot = GUIItemSlot("itemsadder:mcicons__icon_left_blue", "-1;8"), nextPage: TerixConfig.GUI.GUIItemSlot = GUIItemSlot("itemsadder:mcicons__icon_right_blue", "-1;9"), cancelSelection: TerixConfig.GUI.GUIItemSlot = GUIItemSlot("itemsadder:mcicons__icon_cancel name:\"<red>Cancel selection\"", "-1;4"), confirmSelection: TerixConfig.GUI.GUIItemSlot = GUIItemSlot("itemsadder:mcicons__icon_confirm name:\"<green>Confirm Selection\"", "-1;6"))

Types

Link copied to clipboard
@ConfigSerializable
data class GUIItemSlot(val display: String, val position: String, val lore: List<PartialComponent> = emptyList(), val commands: List<String> = emptyList())

Properties

Link copied to clipboard
Link copied to clipboard
open override var initialized: Boolean
Link copied to clipboard
Link copied to clipboard
open override var plugin: MinixPlugin
Link copied to clipboard