ProgressBar

fun UiScope.ProgressBar(progress: Double, size: IntSize = IntSize(100, 12), modifier: Modifier = Modifier.Empty, key: ElementKey<*>? = null)(source)

Emits one determinate Minecraft-profile progress bar.

The value is clamped to the closed zero-to-one range and the active resource pack supplies both the fill and border.

Receiver

active owner-thread screen scope.

Parameters

progress

completed fraction; non-finite values are rejected.

size

positive logical destination size.

modifier

active behavior applied to the bar.

key

optional stable sibling identity.