blob: 993462cd3ec2a80506587d85e2973ae858453ea1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
package moe.nea.firmament.util
import me.shedaniel.math.Color
import net.minecraft.item.ItemStack
import moe.nea.firmament.events.FirmamentEvent
import moe.nea.firmament.events.FirmamentEventBus
data class DurabilityBarEvent(
val item: ItemStack,
) : FirmamentEvent() {
data class DurabilityBar(
val color: Color,
val percentage: Float,
)
var barOverride: DurabilityBar? = null
companion object : FirmamentEventBus<DurabilityBarEvent>()
}
|