ReviveResult

data class ReviveResult(val successful: Boolean = false, val teleported: Boolean = false, val inventoryRestored: Boolean = false)

Represents the result of a revival attempt. If the attempt lies in the future or in the past, it is context-dependent.

Constructors

Link copied to clipboard
constructor(successful: Boolean = false, teleported: Boolean = false, inventoryRestored: Boolean = false)

Functions

Link copied to clipboard
open override fun toString(): String

Properties

Link copied to clipboard

Whether the inventory should be or was restored.

Link copied to clipboard
val successful: Boolean = false

Whether the attempt should be or was successful.

Link copied to clipboard
val teleported: Boolean = false

Whether the player should be or was teleported to their last death location.