Package-level declarations

Types

Link copied to clipboard
interface BlockEditor

Interface for editing block properties in a DSL-style manner.

Link copied to clipboard
interface ChunkEditor

Interface for editing Minecraft chunks with DSL support.

Link copied to clipboard
interface PlayerEditor

DSL interface for editing player properties in a fluent and type-safe manner.

Link copied to clipboard

Represents different weather conditions that can be applied to a world.

Link copied to clipboard
annotation class WorldDsl

DSL marker annotation for world-related builder patterns.

Link copied to clipboard
interface WorldEditor

DSL interface for editing Bukkit world properties.

Functions

Link copied to clipboard
fun Chunk.edit(action: ChunkEditor.() -> Unit)

Extension function for Chunk to edit it using a DSL builder.

fun World.edit(action: WorldEditor.() -> Unit)

Provides a DSL for editing world properties.

fun Player.edit(action: PlayerEditor.() -> Unit)

Extension function to edit player properties using a DSL.

Link copied to clipboard
fun World.time(time: Long)

Sets the time of the world using a DSL-style edit block.

Link copied to clipboard
fun World.weather(type: WeatherType)

Sets the weather of the world using a DSL-style edit block.