Package-level declarations

Types

Link copied to clipboard
class CrystalListener : Listener
Link copied to clipboard
class CustomGUI(val title: Component, val size: Int, val type: InventoryType, val context: CustomGUI.() -> Unit) : InventoryHolder
Link copied to clipboard
Link copied to clipboard
object SmartEvents : Listener

Register SmartEvents for SmartEvent support...

Functions

Link copied to clipboard
inline fun <T : Event> smartEvent(priority: EventPriority = EventPriority.NORMAL, ignoreCancelled: Boolean = false, crossinline callback: T.() -> Unit): CrystalListener
Link copied to clipboard
inline fun smartGUI(title: Component = Component.text("Custom GUI"), size: Int = 27, type: InventoryType = InventoryType.CHEST, noinline context: CustomGUI.() -> Unit): CustomGUI
Link copied to clipboard
inline fun <T : Recipe> smartRecipe(recipe: T, callback: T.() -> Unit): T