Package-level declarations

Functions

Link copied to clipboard
fun JavaPlugin.async(task: () -> Unit): BukkitTask
Link copied to clipboard
fun World.broadcast(location: Location, radius: Double, sound: Sound, volume: Float, pitch: Float)
Link copied to clipboard
fun ItemStack.getRecipesFor(): List<Recipe>
Link copied to clipboard
fun JavaPlugin.onEvent(listener: Listener)
Link copied to clipboard
fun <C : BuildableComponent<C, B>, B : ComponentBuilder<C, B>> ComponentBuilder<C, B>.openDialog(dialog: Dialog): B
Link copied to clipboard
fun Listener.register()
Link copied to clipboard
fun JavaPlugin.requirePlugin(plugin: String)
Link copied to clipboard
fun Player.sendActionBar(text: Component, delaySeconds: Long, timeSeconds: Long)
fun Player.sendActionBar(plugin: JavaPlugin, text: Component, delaySeconds: Long, timeSeconds: Long)
Link copied to clipboard
fun Player.sendBossBar(text: Component, process: Float, color: BossBar.Color, overlay: BossBar.Overlay): BossBar
fun Player.sendBossBar(text: Component, process: Float, actionBarTaskProcess: Float, color: BossBar.Color, overlay: BossBar.Overlay, delaySeconds: Long, timeSeconds: Long): BossBar
fun Player.sendBossBar(plugin: JavaPlugin, text: Component, process: Float, actionBarTaskProcess: Float, color: BossBar.Color, overlay: BossBar.Overlay, delaySeconds: Long, timeSeconds: Long): BossBar
Link copied to clipboard
fun BlockDisplay.setBlock(blockType: BlockType)
Link copied to clipboard
fun BlockDisplay.setBrightness(blockLight: Int, skyLight: Int)
fun ItemDisplay.setBrightness(blockLight: Int, skyLight: Int)
Link copied to clipboard
fun ItemDisplay.setMaterial(material: Material)
Link copied to clipboard
fun <T : Entity> Location.spawnEntity(entity: EntityType): T
fun <T : Entity> Location.spawnEntity(entity: EntityType, callback: T.() -> Unit): T
fun <T : Entity> World.spawnEntity(x: Double, y: Double, z: Double, type: EntityType): T
fun <T : Entity> World.spawnEntity(x: Double, y: Double, z: Double, type: EntityType, entity: T.() -> Unit): T
Link copied to clipboard
fun JavaPlugin.task(task: () -> Unit): BukkitTask
Link copied to clipboard
fun JavaPlugin.taskLater(delay: Long, task: () -> Unit): BukkitTask
Link copied to clipboard
fun JavaPlugin.taskLaterAsync(delay: Long, task: () -> Unit): BukkitTask
Link copied to clipboard
fun Location.teleport(entity: UUID): Location
fun Location.teleport(entity: Entity): Location
Link copied to clipboard
fun JavaPlugin.timer(delay: Long, period: Long, task: () -> Unit): BukkitTask
Link copied to clipboard
fun JavaPlugin.timerAsync(delay: Long, period: Long, task: () -> Unit): BukkitTask
Link copied to clipboard
fun Player.transfer(ip: String, port: Int, message: Component?)