Package-level declarations

Types

Link copied to clipboard
data class MinecraftVersion(val first: Int, val second: Int, val third: Int) : Comparable<MinecraftVersion>

Properties

Link copied to clipboard
val <T : Entity> T.adapt: @NotNull Entity
Link copied to clipboard
val Player.armor: Double
Link copied to clipboard
val ATTRIBUTE_ARMOR: Attribute
Link copied to clipboard
val ATTRIBUTE_MAX_HEALTH: Attribute
Link copied to clipboard
Link copied to clipboard
val Player.emptySpace: Int
Link copied to clipboard
Link copied to clipboard
val Player.hudPlayer: HudPlayer
Link copied to clipboard
val LivingEntity.maximumHealth: Double

Functions

Link copied to clipboard
fun Event.call(): Boolean
Link copied to clipboard
fun <T : Event> createBukkitTrigger(clazz: Class<T>, valueMapper: (T) -> UUID? = { if (it is PlayerEvent) it.player.uniqueId else null }, keyMapper: (T) -> Any = { UUID.randomUUID() }): HudBukkitEventTrigger<T>
Link copied to clipboard
fun registerListener(listener: Listener)
Link copied to clipboard
fun Player.storage(material: Material): Int
Link copied to clipboard
fun Player.toHud(): HudPlayer?
Link copied to clipboard
fun Player.totalAmount(material: Material): Int
Link copied to clipboard
fun Event.toUpdateEvent(key: Any = UUID.randomUUID()): BukkitEventUpdateEvent
Link copied to clipboard
inline fun <T : Event, R : Any> UpdateEvent.unwrap(block: (T) -> R): R