TerixConfig

@ConfigSerializable
class TerixConfig : MinixConfig<Terix>

Constructors

Link copied to clipboard

Types

Link copied to clipboard
@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

Functions

Link copied to clipboard
open fun async(block: suspend CoroutineScope.() -> Unit): Job
Link copied to clipboard
open fun <R> completableAsync(block: suspend () -> R): CompletableFuture<R>
Link copied to clipboard
open fun <R> completableSync(block: suspend () -> R): CompletableFuture<R>
Link copied to clipboard
open fun <R> deferredAsync(block: suspend () -> R): Deferred<R>
Link copied to clipboard
open fun <R> deferredSync(block: suspend () -> R): Deferred<R>
Link copied to clipboard
open fun deleteProperty(key: String)
Link copied to clipboard
operator override fun equals(other: Any?): Boolean
Link copied to clipboard
override fun getKoin(): Koin
Link copied to clipboard
open fun <T : Any> getProperty(key: String): T?
open fun <T : Any> getProperty(key: String, default: T): T
Link copied to clipboard
open fun handleLoad()
Link copied to clipboard
open fun handleUnload()
Link copied to clipboard
override fun hashCode(): Int
Link copied to clipboard
open fun launch(dispatcher: CoroutineContext, block: suspend CoroutineScope.() -> Unit): Job
Link copied to clipboard
open suspend fun load()
Link copied to clipboard
open fun registerEvents(vararg listeners: Listener)
Link copied to clipboard
open fun <T : Any> setProperty(key: String, value: T): T
Link copied to clipboard
open fun sync(block: suspend CoroutineScope.() -> Unit): Job
Link copied to clipboard
override fun toString(): String

Properties

Link copied to clipboard
Link copied to clipboard
val freeChanges: Int = 3
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open val logger: MinixLogger
Link copied to clipboard
lateinit override var plugin: Terix
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open val versionTransformations: Map<Int, ConfigurationTransformation>