OptionalcolorOptionaldurationOptionalholdThe fraction of the lifetime the text stays fully opaque before it starts fading, 0 to 1.
Defaults to 0 - a straight fade across the whole life, the pre-existing behaviour. 0.5 is
the classic damage-number curve: readable for half its time, then gone.
OptionalkeyPop-ups pushed with the same key stack upward instead of overprinting. A pop-up with no key always stands alone.
A key is the target's own identity, which is what Java's stacks.get(key) is keyed on: a
caller reusing one key for two different targets sees their lines stacked together.
Optionalrisetotal pixels it rises over its lifetime; defaults to 24
OptionalscaleUniform scale for the pop-up, applied before it is measured. Pass it here rather than
scaling the returned pop-up: a FloatingText's height includes its own scale, so a scale
applied after the push is measured wrong and the lines stack by a size they are not drawn at
(a port rasterising at 21px and drawing at 7 spaced one stack three times too far apart).
Optionalsizewhere the pop-up belongs, in the stack's own coordinate space
seconds it takes to fully rise and fade; defaults to 0.8