Companion

object Companion

Functions

Link copied to clipboard
@Contract(value = "_ -> new", pure = true)
fun of(type: DamageType): DamageSource

Creates a new damage source with the given type.