Package-level declarations

Functions

Link copied to clipboard
fun World.broadcast(location: Location, radius: Double, sound: Sound, volume: Float, pitch: Float)
Link copied to clipboard
fun Entity.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 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(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)

Better work with the Item Displays from Minecraft.

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 Player.transfer(ip: String, port: Int, message: Component?)