Package-level declarations

Functions

Link copied to clipboard
fun JavaPlugin.addEvent(listener: Listener)
Link copied to clipboard
fun JavaPlugin.async(task: () -> Unit)
Link copied to clipboard
fun World.broadcast(location: Location, radius: Double, sound: Sound, volume: Float, pitch: Float)
Link copied to clipboard
fun LivingEntity.kill(): Boolean
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)
fun Player.sendBossBar(text: Component, process: Float, actionBarTaskProcess: Float, color: BossBar.Color, overlay: BossBar.Overlay, delaySeconds: Long, timeSeconds: Long)
fun Player.sendBossBar(plugin: JavaPlugin, text: Component, process: Float, actionBarTaskProcess: Float, color: BossBar.Color, overlay: BossBar.Overlay, delaySeconds: Long, timeSeconds: Long)
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 World.spawnEntity(x: Double, y: Double, z: Double, type: EntityType): Entity

Shorter Methods to interact with a World. More Methods will follow!!!

Link copied to clipboard
fun JavaPlugin.task(task: () -> Unit)
Link copied to clipboard
fun JavaPlugin.taskLater(delay: Long, task: () -> Unit)
Link copied to clipboard
fun JavaPlugin.taskLaterAsync(delay: Long, task: () -> Unit)
Link copied to clipboard
fun JavaPlugin.timer(delay: Long, period: Long, task: () -> Unit)
Link copied to clipboard
fun JavaPlugin.timerAsync(delay: Long, period: Long, task: () -> Unit)
Link copied to clipboard
fun Player.transfer(ip: String, port: Int, message: Component?)