PaperRattlePlatform

Constructors

Link copied to clipboard
constructor(plugin: PaperRattle)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val worlds: Iterable<RWorld>

Functions

Link copied to clipboard
open override fun asPlayer(sender: CommandSource): PaperRattlePlayer?
Link copied to clipboard
fun destroy()
Link copied to clipboard
fun hasPhysics(world: World): Boolean
Link copied to clipboard
open override fun key(world: RWorld): @NotNull Key
Link copied to clipboard
fun load()
Link copied to clipboard
open override fun onTick()
Link copied to clipboard
open override fun physicsOrCreate(world: RWorld): Sync<PaperWorldPhysics>

fun physicsOrCreate(world: World): Sync<PaperWorldPhysics>

Gets the physics state of a world if it already exists, or creates a new physics state if it does not exist.

Link copied to clipboard
open override fun physicsOrNull(world: RWorld): Sync<PaperWorldPhysics>?

fun physicsOrNull(world: World): Sync<PaperWorldPhysics>?

Gets the physics state of a world if it already exists.

Link copied to clipboard
fun playerData(player: Player): PaperRattlePlayer
Link copied to clipboard
open override fun setPlayerDraw(player: RattlePlayer, draw: RattlePlayer.Draw?)