Package-level declarations

Properties

Link copied to clipboard
val ServerPlayer.armor: Double
Link copied to clipboard
val HudPlayer.fabricPlayer: ServerPlayer

Functions

Link copied to clipboard
fun <T : FabricEvent<*>> createFabricTrigger(registry: EventRegistry<T>, valueMapper: (T) -> UUID? = { if (it is PlayerEvent<*>) it.player().uuid else null }, keyMapper: (T) -> Any = { UUID.randomUUID() }): HudFabricEventTrigger<T>
Link copied to clipboard
fun ServerPlayer.hasPermission(perm: String): Boolean
Link copied to clipboard
fun Component.toAdventure(): Component
Link copied to clipboard
fun Component.toMinecraft(): MutableComponent
Link copied to clipboard
fun Component.toMiniMessageString(): @NotNull String
Link copied to clipboard
inline fun <T : FabricEvent<*>, R : Any> UpdateEvent.unwrap(block: (T) -> R): R